Whenever I try to make a build of an android application it gives me this issue, I've tried ticking on the Custom Main Gradle Template but that just causes more errors to occur and I have no idea. Unfortunately it's impossible to update or reinstall Android SDK module because maybe it's a problem with that so I don't know what to do
Edit: I removed Unity Meditation and I got an error with Gradle
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
Configure project :launcher WARNING: The option setting 'android.enableR8=true' is deprecated. It will be removed in version 5.0 of the Android Gradle plugin. You will no longer be able to disable R8
Task :launcher:preBuild UP-TO-DATE Task :unityLibrary:preBuild UP-TO-DATE Task :launcher:preDebugBuild UP-TO-DATE Task :unityLibrary:preDebugBuild UP-TO-DATE Task :unityLibrary:packageDebugRenderscript NO-SOURCE Task :launcher:generateDebugResValues UP-TO-DATE Task :launcher:compileDebugRenderscript NO-SOURCE Task :launcher:generateDebugResources UP-TO-DATE Task :unityLibrary:generateDebugResValues UP-TO-DATE Task :unityLibrary:compileDebugRenderscript NO-SOURCE Task :unityLibrary:generateDebugResources UP-TO-DATE Task :unityLibrary:packageDebugResources UP-TO-DATE Task :launcher:createDebugCompatibleScreenManifests Task :unityLibrary:extractDeepLinksDebug UP-TO-DATE Task :unityLibrary:compileDebugLibraryResources UP-TO-DATE Task :unityLibrary:mergeDebugShaders UP-TO-DATE Task :unityLibrary:compileDebugShaders NO-SOURCE Task :unityLibrary:generateDebugAssets UP-TO-DATE Task :unityLibrary:packageDebugAssets Task :unityLibrary:processDebugManifest Task :unityLibrary:processDebugJavaRes NO-SOURCE Task :unityLibrary:bundleLibResDebug NO-SOURCE Task :unityLibrary:generateDebugBuildConfig Task :unityLibrary:compileDebugAidl NO-SOURCE Task :unityLibrary:parseDebugLocalResources UP-TO-DATE Task :unityLibrary:javaPreCompileDebug UP-TO-DATE Task :launcher:extractDeepLinksDebug UP-TO-DATE Task :launcher:processDebugManifest Task :launcher:mergeDebugShaders UP-TO-DATE Task :launcher:compileDebugShaders NO-SOURCE Task :launcher:generateDebugAssets UP-TO-DATE Task :launcher:mergeDebugAssets Task :launcher:processDebugJavaRes NO-SOURCE Task :unityLibrary:mergeDebugJniLibFolders Task :unityLibrary:generateDebugRFile Task :launcher:mergeDebugResources Task :launcher:mergeDebugJavaResource aapt2.exe W 11-28 09:16:10 20148 33388 LoadedArsc.cpp:657] Unknown chunk type '200'.
Task :launcher:bundleDebugResources
Task :unityLibrary:compileDebugJavaWithJavac
Task :launcher:checkDebugDuplicateClasses FAILED Task :unityLibrary:mergeDebugNativeLibs Task :unityLibrary:bundleLibCompileToJarDebug Task :unityLibrary:bundleLibRuntimeToJarDebug 26 actionable tasks: 16 executed, 10 up-to-date UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
1条答案
按热度按时间yzuktlbb1#
更新:如果你有类似的问题,那么我的解决方案是删除所有广告和应用内购买包(同时也恢复到较旧的Git构建,在那里添加和删除了较新的版本),然后重新安装。因此,要点是永远不要更新Unity包,如果没有一个Git分支,你可以恢复到如果它失败,更新后也进行测试