版本
版本.2.6f1
打包安卓APK 时报错:
Configure project :launcher
WARNING: The option ‘android.enableR8’ is deprecated and should not be used anymore.
It will be removed in a future version of the Android Gradle plugin, and will no longer allow you to disable R8.
解决方案:勾选“Custom Base Gradle Template”
之后会有一个文件“baseProjectTemplate.gradle”
打开文件找到'com.android.tools.build:gradle:3.6.0'修改为'com.android.tools.build:gradle:3.4.0'
重新打包即可,这个问题应该是在unity.3.7的版本中被修复。