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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM