美文网首页
AndroidStuido升级3.1遇到的坑

AndroidStuido升级3.1遇到的坑

作者: 我不爱吃柚子c | 来源:发表于2018-03-31 16:36 被阅读0次

    升级后Gradle编译的时候提示:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin. Perhaps you misspelled something?

    解决办法:在gradle中请找到:instrumentTest.setRoot(‘tests’)
    更换为: androidTest.setRoot('tests')即可

    相关文章

      网友评论

          本文标题:AndroidStuido升级3.1遇到的坑

          本文链接:https://www.haomeiwen.com/subject/ogagcftx.html