Cannot choose between the following variants of project
该问题是升级android studio3.0导致的。
解决办法:
在build.gradle中
注释掉:
apply plugin: 'android-apt',将apt改成annotationProcessor
以及一些其他问题
The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelled something?
解决办法:用 androidTest 替换 instrumentTest