c# - 如何在 Unity3D 2017 中合并两个清单文件
问题描述
我的 Unity 中有两个清单文件
一种用于 Google Play 游戏服务
<?xml version="1.0" encoding="utf-8"?>
<!-- This file was automatically generated by the Google Play Games plugin for Unity
Do not edit. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.example.games.mainlibproj"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" />
<application>
<!-- The space in these forces it to be interpreted as a string vs. int -->
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="\ 466669193109" />
<!-- Keep track of which plugin is being used -->
<meta-data android:name="com.google.android.gms.games.unityVersion"
android:value="\ 0.9.50" />
<activity android:name="com.google.games.bridge.NativeBridgeActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
</application>
</manifest>
和
一个如果用于 Google 移动广告
<?xml version="1.0" encoding="utf-8"?>
<!--
This Google Mobile Ads plugin library manifest will get merged with your
application's manifest, adding the necessary activity and permissions
required for displaying ads.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.unity.ads"
android:versionName="1.0"
android:versionCode="1">
<uses-sdk android:minSdkVersion="14"
android:targetSdkVersion="19" />
<application>
</application>
</manifest>
当我尝试构建我的 android 应用程序时
我收到这个错误
我试图通过删除谷歌移动广告清单来解决它
但后来它说缺少清单
我也尝试合并它们但再次失败
我真的被困住了
解决方案
推荐阅读
- python - 给定总节点数和每个节点的度数,是否可以构建图?
- database - 我需要使用 iD 作为参数从 db 返回结果
- javascript - 将 VueJS 应用程序部署到具有可执行文件的文件夹中
- javascript - 使用 for 循环 JS 过滤
- c# - 当游戏对象旋转时计算圆上的角点
- c# - 无法在 Specflow 文件中将类型“int”转换为“string”
- javascript - Javascript在嵌套对象中查找
- highcharts - Highchart / Highstock 堆栈柱形图一次显示一个系列的工具提示
- java - JMeter - 生成时隙并保存到文件
- c# - 在 Xamarin.Forms 中创建、保存和显示项目