I can drop everything you need to help me
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.
Task :launcher:preBuild UP-TO-DATE Task :launcher:preReleaseBuild UP-TO-DATE Task :unityLibrary:preBuild UP-TO-DATE Task :unityLibrary:preReleaseBuild UP-TO-DATE Task :launcher:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:preReleaseBuild UP-TO-DATE Task :unityLibrary:packageReleaseRenderscript NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseAidl NO-SOURCE Task :unityLibrary:compileReleaseAidl NO-SOURCE Task :launcher:compileReleaseAidl NO-SOURCE Task :launcher:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:generateReleaseResValues UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:generateReleaseResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResValues Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResources Task :unityLibrary:packageReleaseResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseResources Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:parseReleaseLocalResources Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseBuildConfig Task :unityLibrary:GooglePlayGamesManifest.plugin:javaPreCompileRelease Task :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseManifest Task :unityLibrary:processReleaseManifest Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseRFile Task :unityLibrary:generateReleaseRFile UP-TO-DATE Task :launcher:mainApkListPersistenceRelease UP-TO-DATE Task :launcher:generateReleaseResValues UP-TO-DATE Task :launcher:generateReleaseResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibCompileRelease Task :unityLibrary:javaPreCompileRelease UP-TO-DATE Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:extractDeepLinksRelease Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseLibraryResources Task :unityLibrary:bundleLibCompileRelease Task :launcher:mergeReleaseResources UP-TO-DATE Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE Task :launcher:extractDeepLinksRelease UP-TO-DATE Task :unityLibrary:prepareLintJarForPublish UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:prepareLintJarForPublish UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibRuntimeRelease Task :unityLibrary:bundleLibRuntimeRelease
Task :launcher:processReleaseManifest C:\Unity and other\Project\HelixJumpFirstPerson\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:23:5-81 Warning: uses-permission#android.permission.WRITE_EXTERNAL_STORAGE was tagged at AndroidManifest.xml:23 to replace another declaration but no other declaration present
Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseShaders Task :unityLibrary:mergeReleaseShaders Task :unityLibrary:compileReleaseShaders Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseShaders Task :unityLibrary:generateReleaseAssets Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseAssets Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseAssets Task :unityLibrary:packageReleaseAssets Task :unityLibrary:processReleaseJavaRes NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseJavaRes NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibResRelease Task :unityLibrary:bundleLibResRelease Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseJniLibFolders Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseNativeLibs Task :unityLibrary:GooglePlayGamesManifest.plugin:stripReleaseDebugSymbols Task :unityLibrary:GooglePlayGamesManifest.plugin:copyReleaseJniLibsProjectOnly Task :unityLibrary:mergeReleaseJniLibFolders Task :unityLibrary:mergeReleaseNativeLibs Task :unityLibrary:stripReleaseDebugSymbols Task :unityLibrary:copyReleaseJniLibsProjectOnly Task :launcher:processReleaseResources Task :launcher:prepareLintJar UP-TO-DATE Task :launcher:javaPreCompileRelease Task :launcher:compileReleaseJavaWithJavac Task :launcher:compileReleaseSources Task :launcher:lintVitalRelease Task :launcher:checkReleaseDuplicateClasses FAILED 55 actionable tasks: 37 executed, 18 up-to-date
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
4条答案
按热度按时间des4xlb01#
您正在使用导入的包吗?我错误地导入了ARCore Extensions包,将其放置在我的项目的Packages文件夹中,并得到了此错误(或类似错误)。如果您以相同的方式导入了一个包,这可能是问题所在。(正确的方式是
Window>Package Manager>+ (dropdown)>Add package from disk>package.json
。)t98cgbkg2#
在Unity v.2021.1.16f1和Firebase 8.8.0上,存在相同问题。
我的解决方案:最低API级别= API 21
ogsagwnx3#
你应该试试这个检查项目设置〉Xr-pluginManagement〉ARCore下的复选框
Ignore Gradle Version
。请参见下面的屏幕截图。
ScreenShot
oyxsuwqo4#
尝试在
Project Settings/Player/Publishing Settings/Minify
中选中Use R8