- Home /
Question by
fredddy14 · Jan 05, 2016 at 12:27 AM ·
errorandroid buildmanifest
Android Admob build error: Trying to merge incompatible
Hi,
I'm getting an error when I try to make an android build.
Error: [Temp/StagingArea/AndroidManifest-main.xml:4, /Desktop/Unity Project/Temp/StagingArea/android-libraries/google-play-services_lib/AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerNativeActivity] element:
UnityEditor.HostView:OnGUI()
Error building Player: CommandInvokationFailure: Unable to merge android manifests. See the Console for more details.
/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/feliti/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/Unity.app/Contents/BuildTargetTools/AndroidPlayer/sdktools.jar" -
stderr[
Error: [Temp/StagingArea/AndroidManifest-main.xml:4, /Desktop/Unity Project/Temp/StagingArea/android-libraries/google-play-services_lib/AndroidManifest.xml:6] Trying to merge incompatible /manifest/application/activity[@name=com.unity3d.player.UnityPlayerNativeActivity] element:
<activity
-- @android:label="@string/app_name"
-- @android:name="com.unity3d.player.UnityPlayerNativeActivity">
-- <intent-filter>
<activity
++ @android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
++ @android:label="@string/app_name"
++ @android:launchMode="singleTask"
]
stdout[
]
I have the Admob package imported and the google-playservices_lib folder in the the Plugins/Android directory, also using Unity 4.6.9f1
I'm not sure how to go about fixing this issue, any help would be great.
Thanks
Comment
i m using two plugin ( chartBoost and Admob ) and i don't get any problem for merging the manifest i using unity 5
Your answer
Follow this Question
Related Questions
Signed .apk error 0 Answers
Android build failes because of manifest 0 Answers
Android build error 0 Answers
Android app keeps quiting after adding Unity ads 0 Answers
AndroidManifest.xml file locations 1 Answer