构建weex android-studio 出现错误

新手上路,请多包涵

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

在用nodejs 构建weex的时候 android-studio出现

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.

这个错误

请问各位大哥们 怎么解决这个问题?

图片描述

使用构建工具自己生成的项目 build不了 跑不起来

阅读 2.4k
1 个回答

这是打包用的,这段注释掉就可以了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进