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