


(I try to google it, but no solution founded)ĭo you know what I am doing wrong ? Maybe in the import process ?Įrror : Android Packager: : duplicate entry: AndroidManifest. When I build, it says:Įrror : Android Packager: : duplicate entry: AndroidManifest.xml I could not event build a more complex project with facebook plugins and other stuff. (And yes, it works if I build directly from Unity) Logcat say : AndroidJavaException: : .ads.AdRequest$Builder Just update your IDE, it will also fix Gradle and build-tools version. I can make and build and even install the project, but when I start it, it begins and crash at the first scene. Change gradle-plugin version to higher than 2.1.0 But the best way to fix a problem would be this: yesterday was released the newest Android Studio 2.2 with Gradle-plugin 2.2 and Android build-tools 24.0.3. (by the way, Android Studio ask if I want to migrate the project to Gradle) Click on Create project from existing sources, then next next next. select the repository where I build the Android Project open Android Studio, click on Import project (Eclipse ADT, Gradle, etc.) export the Unity project (a ones with google play-service_lib) It works, and the apk has been reduced by 10kb using Proguard (wohou)īUT I cannot figure how to compile an Unity Android Google Project with depedencies (like Facebook plugins or even play-services only). I export an empty Unity project and compile it with Android Studio using Proguard (by the way, I needed to update Proguard because it doesn't support Java 1.8).
