Cannot choose between the following variants of project

时间:2019-12-03 12:18:45   收藏:0   阅读:737

该问题是升级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

 

原文:https://www.cnblogs.com/kinoyo/p/11974932.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!