美文网首页
Android Studio升级到3.3项目重新build过程

Android Studio升级到3.3项目重新build过程

作者: 往事一块六毛八 | 来源:发表于2019-05-05 17:02 被阅读0次
  • 修改build gradle版本号


    image.png
    image.png
image.png
  • 更改implementation 关键字
  • butternife
ERROR: Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'.

注释掉:


image.png

网上也有说把版本降到8.4.0

  • 打包
ERROR: Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated{apkData=Main{type=MAIN, fullName=xDebug, filters=[], versionCode=100, versionName=5.5.0-debug}} of type com.android.build.gradle.internal.api.ApkVariantOutputImpl.
Open File
image.png image.png
  • 注释掉了


    image.png
image.png
ERROR: The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.

https://blog.csdn.net/weixin_36677647/article/details/79807105

image.png

相关文章

网友评论

      本文标题:Android Studio升级到3.3项目重新build过程

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