首页 > Windows开发 > 详细

Cannot choose between the following variants of project

时间:2019-12-03 12:18:45      阅读:737      评论:0      收藏:0      [点我收藏+]

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

 

Cannot choose between the following variants of project

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!