今天把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放的地方换了
上图是修改前,修改后如下图:
本文介绍了一次将Android Studio升级到3.0.1版本后遇到的编译错误问题,特别是关于Cannot set the value of read-only property 'outputFile'的错误。文中提供了错误截图及解决方案,即outputFile属性放置位置的变化。
917

被折叠的 条评论
为什么被折叠?



