android-docs-samples
android-docs-samples copied to clipboard
The project cannot build after Android Studio upgraded to 3.0
Greeting,
I use Android Studio on Windows 10. Today I got a prompt upgrading my studio to 3.0. Then I can no longer build this project. I need to edit various gradle files to use lower buildToolsVersion (25.0.3) and to specify distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip for it to build.
Is this a known issue? The error I got includes all flavors should belong to some dimension, and (after fixing that), some gradle build dependencies not resolved.
Thanks,
Chun-Yen
Have the same error I think there is an issue with protobuf support in the project it doesn't support build tool version higher than 25. I also didn't solve this.
update the protobuf plugin to 0.8.2
Hi, I update the protobuf plugin to 0.8.2, but still get the error msg:
Error:Could not determine the dependencies of task ':app:extractIncludeDevProto'.
> Resolving configuration 'devCompile' directly is not allowed
Following is lines I added into build.gradle. Is there anything wrong? Thanks!
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.3'
}
}