Error:(176, 0)

Error:(176, 0)
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.

这个问题可以在stackoverflow(https://stackoverflow.com/questions/44239235/android-gradle-3-0-0-alpha2-plugin-cannot-set-the-value-of-read-only-property)上找到答案,我就搬过来一下,希望能帮到和我一样刚更新完版本(3.0.0)一脸木讷的小年轻。此次bug的解决主要就是版本更新,两个类的位置变了,关键改一下就好
output.FileName ——> outputFileName
each() ——-> all()

猜你喜欢

转载自blog.csdn.net/qq_23343197/article/details/78701027