- Home /
Cant build android APK after Firebase integration
Hi! I am working an a mobile app (for Android only), but I got stuck with integrating Firebase. When I am not using any of the Firebase packages, I can simply build the app. However, as soon as I add the Core, Storage and Firestore packages, my app can no longer be built.
Error message:
Note: ...\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API.
And also:
CommandInvokationFailure: Gradle build failed. ...\Unity\Hub\Editor\2020.2.3f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "...\Unity\Hub\Editor\2020.2.3f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.6.4.jar"
Specs:
Unity 2020.2.3f
Firebase Core, Storage, Firestore 6.15.2
Does anyone have a clue what is happening?
Hello, I'm facing with the same issue right now. I wonder if you have found a solution? I tried to move a newer version of unity with clean sdk jdk or whatever and it still doesn't work.
Good luck...
hey! I just fixed it. All I had to do was to disable the custom keystore inside publishing settings and its working now, I hope this will help you too.
Your answer
Follow this Question
Related Questions
Failed to re-package resources using everyplay plugin and google play plugin for leaderboard 0 Answers
CommandInvokationFailure: Gradle build failed. when building app bundle 0 Answers
Distribute terrain in zones 3 Answers
Building and Running on Android stopped working; how do I fix this? 2 Answers
Android build error aapt.exe after latest SDK updates today 0 Answers