C# &引用;您上载了一个APK文件,其AndroidManifest.xml包含多个标记条目;上载到Google Play时出错
我正试图将我的第一个应用程序上传到Google play,但当我上传时,我收到了这个错误 “您上载了一个APK文件,其AndroidManifest.xml包含多个标记项。必须只有一个。” 我正在使用VisualStudio2010为Android使用Xamarin 所以,如果有人知道这是什么原因,或者我如何修复这个错误,请让我知道 这是我解码后的AndroidManifest文件(在Xamarin构建它之后)C# &引用;您上载了一个APK文件,其AndroidManifest.xml包含多个标记条目;上载到Google Play时出错,c#,android,xamarin.android,google-play,xamarin,C#,Android,Xamarin.android,Google Play,Xamarin,我正试图将我的第一个应用程序上传到Google play,但当我上传时,我收到了这个错误 “您上载了一个APK文件,其AndroidManifest.xml包含多个标记项。必须只有一个。” 我正在使用VisualStudio2010为Android使用Xamarin 所以,如果有人知道这是什么原因,或者我如何修复这个错误,请让我知道 这是我解码后的AndroidManifest文件(在Xamarin构建它之后) 您的清单文件包含两个应用程序标记,而您应该只有一个。您的清单文件包含两个应用程序标记
您的清单文件包含两个
应用程序
标记,而您应该只有一个。您的清单文件包含两个应用程序
标记,而您应该只有一个。您有多个这是无效的:
“只需要清单和应用程序元素,它们都必须存在并且只能出现一次”
合并
您有多个,这是无效的:
“只需要清单和应用程序元素,它们都必须存在并且只能出现一次”
合并
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" android:installLocation="auto" package="com.app.pro"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" />
<application android:label="App" android:icon="@drawable/icon" android:name="mono.android.app.Application" android:debuggable="false">
<activity android:label="Pickup Lines List" android:name="App.ListViewLayout" />
<activity android:label="App" android:icon="@drawable/icon" android:name="App.Main">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<provider android:name="mono.MonoRuntimeProvider" android:exported="false" android:authorities="com.App.pro.mono.MonoRuntimeProvider.__mono_init__" android:initOrder="2147483647" />
</application>
<application android:theme="@android:style/Theme.Black.NoTitleBar" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>
<?xml version="1.0" encoding="utf-8"?>
<manifest ... />
<application
android:label="App"
android:icon="@drawable/icon"
android:name="mono.android.app.Application"
android:debuggable="false"
android:theme="@android:style/Theme.Black.NoTitleBar">
...
</application>
...
</manifest>