- Home /
Question by
badrgaming144 · Dec 13, 2019 at 01:01 PM ·
unity 5build-errorandroid build
Error: [Temp\StagingArea\AndroidManifest-main.xml
Hello guyss please , i want to ask you about this error when i want to build and export the code to apk i get this error :
Error: [Temp\StagingArea\AndroidManifest-main.xml, C:\Users\Badr\Desktop\solved\games bassket\Temp\StagingArea\android-libraries\play-services-ads-lite-9.8.0\AndroidManifest.xml:10] Trying to merge incompatible /manifest/application/activity[@name=com.google.android.gms.ads.AdActivity] element:
UnityEditor.HostView:OnGUI()
can you tell me the solution please
my play-services-ads-lite-9.8.0\AndroidManifest.xml :
<?xml version="1.0"?>
<!-- Copyright (C) 2012 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.gms.ads">
<!-- Include required permissions for Google Mobile Ads to run-->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-sdk android:minSdkVersion="9"/>
<application>
<!--Include the AdActivity and InAppPurchaseActivity configChanges and themes. -->
<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" android:theme="@android:style/Theme.Translucent"/>
<activity android:name="com.google.android.gms.ads.purchase.InAppPurchaseActivity" android:theme="@style/Theme.IAPTheme"/>
</application>
</manifest>
[1]: /storage/temp/149968-dd.png
dd.png
(38.4 kB)
Comment