命令
./gradlew assembleRelease
報(bào)錯(cuò)
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':game:transformClassesAndResourcesWithProguardForRelease'.
解決方法
只需要把a(bǔ)ndroid studio 的settings.gradle的game 和instantapp 注釋掉即可
...
include ':libcocos2dx'//,':game', ':instantapp'
...