- Home /
Build completed with a result of failed (can't build my android game)
Hello everyone, I released my game on Google Play a few months ago. After that, I also updated my game twice. I did not work on the game for a month and then I did some changes and wanted to build my game but all out of a sudden I get a bunch of these errors which I just cannot solve.
I tried uninstalling Unity and all of the Android add ons and then reinstalling them fresh, I tried to build the game with the backup that I had from the previous update of the game when I made a build normaly and even there I get these errors. I tried bunch of the solutions that I found out on the google but nothing...
Sounds like the same issue I'm encountering, but I'm on 2020.3.11. I'll keep an eye on this let us know if you get it fixed please!
Answer by Molaiom · Aug 27, 2021 at 06:05 PM
Did you update your project to a newer version of Unity before this error? you may have some incompatible unity packages on your project that also need to be updated. (just a guess)
No, I did not change anything. I just didn't work on the project for a month and then this.
Answer by callen · Aug 27, 2021 at 09:29 PM
My very similar-looking issue was fixed by following these steps:
1, Edit -> Player Setting -> Publishing Settings, click "Custom Base Gradle Template" below the Build section.
2, You will find a "Assets\Plugins\Android\baseProjectTemplate.gradle" file was generated, open it by text editor.
3, change "classpath 'com.android.tools.build:gradle:3.6.0'" into "classpath 'com.android.tools.build:gradle:3.4.0'"
Build again, and don't forget to add it to your CVS.
source: https://forum.unity.com/threads/gradle-build-fail-with-adressables.975969/#post-7037542
Your answer
Follow this Question
Related Questions
GUI Question 0 Answers
Distribute terrain in zones 3 Answers
Upon Build, Game is not the same. 0 Answers
Error : Missing GUILayout.EndScrollView/EndVertical/EndHorizontal? UnityEditor.DockArea:OnGUI() 1 Answer
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced) 2 Answers