首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >(统一错误)选项'android.enableR8‘被废弃,不应该再使用了。它将在Android Gradle的未来版本中被删除。

(统一错误)选项'android.enableR8‘被废弃,不应该再使用了。它将在Android Gradle的未来版本中被删除。
EN

Stack Overflow用户
提问于 2021-03-17 00:01:41
回答 4查看 23.7K关注 0票数 2

我可以放下你需要帮助我的一切

配置项目:launcher警告:选项'android.enableR8‘被废弃,不应该再使用了。它将在Android插件的未来版本中被删除,并且不再允许您禁用R8。任务:启动程序:预构建最新任务:启动程序:preReleaseBuild最新任务:unityLibrary:preBuild :unityLibrary:preReleaseBuild最新任务:launcher:generateReleaseBuildConfig :unityLibrary:GooglePlayGamesManifest.plugin:preBuild -TO-DATE :unityLibrary:GooglePlayGamesManifest.plugin:preReleaseBuild :unityLibrary:GooglePlayGamesManifest.plugin:preReleaseBuild UP-DATE任务:unityLibrary:packageReleaseRenderscript无源任务:unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseAidl -:unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseAidl任务:unityLibrary:编译程序preReleaseBuild任务:启动程序:unityLibrary:generateReleaseBuildConfig最新任务:unityLibrary:generateReleaseResValue最新任务:unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE任务:unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseRenderscript无源任务:unityLibrary:编译compileReleaseRenderscript无源任务:unityLibrary:generateReleaseResources -TO-DATE任务:unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResValues任务:unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResources任务:unityLibrary:parseReleaseLocalResources UP-DATE任务:unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseResources任务:unityLibrary:parseReleaseLocalResources UP-DATE Task:unityLibrary:GooglePlayGamesManifest.plugin:parseReleaseLocalResources任务任务:unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseBuildConfig :unityLibrary:GooglePlayGamesManifest.plugin:javaPreCompileRelease :unityLibrary:GooglePlayGamesManifest.plugin:javaPreCompileRelease :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseManifest任务:unityLibrary:processReleaseManifest任务:unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseRFile任务:unityLibrary:generateReleaseRFile最新任务:unityLibrary :launcher:mainApkListPersistenceRelease :launcher:generateReleaseResValue UP- Task任务:launcher:generateReleaseResources -截至日期任务:unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac任务:unityLibrary:GooglePlayGamesManifest.plugin:bundleLibCompileRelease任务:unityLibrary:javaPreCompileRelease任务:unityLibrary:compileReleaseJavaWithJavac TO-DATE任务:unityLibrary:extractDeepLinksRelease :unityLibrary:GooglePlayGamesManifest.plugin:extractDeepLinksRelease任务:unityLibrary:编译程序释放资源最新任务:unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseLibraryResources :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseLibraryResources任务:unityLibrary:bundleLibCompileRelease :launcher:mergeReleaseResources最新日期任务任务:launcher :launcher:extractDeepLinksRelease任务-日期任务:unityLibrary:prepareLintJarForPublish -TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:prepareLintJarForPublish -TO-DATE任务:unityLibrary:GooglePlayGamesManifest.plugin:bundleLibRuntimeRelease任务:unityLibrary:bundleLibRuntimeRelease :launcher:processReleaseManifest :统一和other\Project\HelixJumpFirstPerson\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:23:5-81警告: uses-permission#android.permission.WRITE_EXTERNAL_STORAGE被标记在AndroidManifest.xml:23以替换另一个声明,但没有其他声明,即当前任务:unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseShaders任务:unityLibrary:mergeReleaseShaders任务:unityLibrary:compileReleaseShaders任务:unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseShaders任务:unityLibrary:generateReleaseAssets任务:unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseAssets任务:unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseAssets任务:unityLibrary:packageReleaseAssets :processReleaseJavaRes- no源任务:unityLibrary:GooglePlayGamesManifest.plugin:processReleaseJavaRes无源任务:unityLibrary:GooglePlayGamesManifest.plugin:bundleLibResRelease任务:unityLibrary:bundleLibResRelease :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseJniLibFolders任务:unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseNativeLibs任务:unityLibrary:GooglePlayGamesManifest.plugin:stripReleaseDebugSymbols任务:unityLibrary:GooglePlayGamesManifest.plugin:copyReleaseJniLibsProjectOnly任务:unityLibrary:mergeReleaseJniLibFolders任务:unityLibrary:mergeReleaseNativeLibs任务:unityLibrary:stripReleaseDebugSymbols任务:unityLibrary:copyReleaseJniLibsProjectOnly任务:launcher:processReleaseResources Task :launcher:prepareLintJar TO-DATE任务:launcher:任务:launcher:compileReleaseJavaWithJavac任务:launcher: executed : Task :lintVitalRelease 55。18最新

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

EN

回答 4

Stack Overflow用户

发布于 2021-06-24 19:14:48

你用的是你进口的包裹吗?我错误地导入了ARCore扩展包,方法是将它放在项目的Packages文件夹中,并得到了这个错误(或类似的错误)。如果您以同样的方式导入一个包,这可能是问题所在。(正确的方法是Window>Package Manager>+ (dropdown)>Add package from disk>package.json。)

票数 0
EN

Stack Overflow用户

发布于 2022-02-15 20:21:44

OnUnitationv.2021.1.16f1和Firebase 8.8.0有相同的问题。

我的解决方案:最小API级别= API 21

票数 0
EN

Stack Overflow用户

发布于 2021-04-05 08:46:21

您应该在项目设置>Xr-pluginManagement>ARCore下尝试此复选框Ignore Gradle Version

请看下面的屏幕快照。

ScreenShot

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/66665214

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档