Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be different than version AndroidManifest_MinSdkVersion declared in library [:unityLibrary:EasyMobile] D:\GAMEDEV\GooglePlay\New Unity Project (2)\Temp\gradleOut\unityLibrary\EasyMobile\build\intermediates\library_manifest\release\AndroidManifest.xml
.
I got this error when I build my android project, I could build my project to APK before, but after I import EasyMobile to my project, I got this error message when I want to build. What should I do to keep the easymobile and fix this error to build my project to APK?
Hi @Leagrove
The solution to this problem can be found in the Trouleshooting section of the Easy Mobile Documentation. Here a link to this specific part.
Nonetheless, here are the steps how to resolve this:
Unity 2019.3 seems to have a bug causing it to return the wrong JDK path which is used by EM during an Android build. To fix it follow the procedure below:
Open Unity Preferences > External Tools
Uncheck the “Use embedded JDK” option.
Click the “Browse” button next to the JDK path so Unity corrects the path itself.