Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated

来源:互联网 发布:手机格机软件 编辑:程序博客网 时间:2024/06/10 08:58

今天把android studio升级到了3.0.1,编译各种异常,其中,

Cannot set the value of read-only property 'outputFile' for ApkVariantOutputImpl_Decorated{apkData=Main{type=MAIN, fullName=debug, filters=[]}} of type com.android.build.gradle.internal.api.ApkVariantOutputImpl.如下图,红色框地方报错,这个错的原因是outputFile放的地方换了

上图是修改前,修改后如下图:




阅读全文
0 0
原创粉丝点击