- Home /
Gradle Failed - A problem occurred configuring project ':unityLibrary'.[Gradle Failed]
Hello, Folks
I am facing a issue that when I build apk in unityEditor is always getting failed with below given error message.
Errors:
A problem occurred configuring project ':unityLibrary'.
FirebasePerformancePlugin must only be used with Android application projects. Need to apply the 'com.android.application' plugin with this plugin.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
CommandInvokationFailure: Gradle build failed. C:/Program Files/Unity/Hub/Editor/2019.3.6f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.3.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
Added Plugin listed below:
Admob
Facebook SDK
Firebase Auth -v6.5.0
Firebase Function -v6.5.0
Firebase-Analytics -v6.5.0
Firebase Crashlytics -v6.5.0
Firebase Database -v6.5.0
Firebase Messaging -v6.5.0
Firebase RemoteConfig- v6.5.0
Google Play Service.
Code Editor: VS Code
Build Type: Android
Unity Editor: 2019.3.6f1
System : Windows 10.
Your answer
Follow this Question
Related Questions
Reduce APK file Size with Vuforia 0 Answers
unity showing download file delay 0 Answers
Building for android freezes unity editor 2 Answers
After installing the .apk , the App Icon appears twice 1 Answer