D8:程序类型已存在:com.MyCompany.Game.BuildConfig

时间:2019-12-14 11:49:07

标签: c#

将GoogleMobileAds插件添加到我的项目后,出现此错误。我共享了GoogleMobileAds插件的AndroidManifest.xml的代码。谁能帮忙吗?

(UnityEngine.GUIUtility:processEvent(Int32,IntPtr)(在C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179))

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools"
          package="com.MyCompany.Game" android:versionName="1.0" android:versionCode="1">
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="28" />
  <application>
    <uses-library android:required="true" android:name="org.apache.http.legacy" />
    <activity
      android:isGame="true"
      android:hardwareAccelerated="true"
      android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
      <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
    </activity>
    <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-1010101010101010~1010101010" />
  </application>
</manifest>

0 个答案:

没有答案