问题描述
我无法将应用程序上传到Play商店。
I can't upload my application to the Play Store.
当我上传file.apk,我recive这个错误:
When I upload the file.apk, I recive this error:
无法运行AAPT转储徽章:W /的ResourceType(17873):
坏XML块:头大小28024或总大小1702240364比数据尺寸2004年
Bad XML block: header size 28024 or total size 1702240364 is larger than data size 2004
错误:AndroidManifest.xml中损坏
ERROR: AndroidManifest.xml is corrupt
应用程序与的jarsigner签名和我使用的zipalign对齐这个文件。此外,我用PhoneGap的创建APK。
The application is signed with jarsigner and i used the zipalign to align this file. Also I use phonegap to create the apk.
这是AndroidManifest.xml中的code:
This is the code of AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.naica.enciclopedia"
android:versionName="1.0.0"
android:versionCode="1">
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /><uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECORD_VIDEO" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="false" android:theme="@style/MeDroidTheme">
<activity android:name=".Naica" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.phonegap.DroidGap" android:label="@string/app_name"android:configChanges="orientation|keyboardHidden">
<intent-filter></intent-filter>
</activity>
</application><uses-sdk android:minSdkVersion="7" />
</manifest>
您好!
推荐答案
原来,&LT;使用-权限的Android:名称=android.permission.RECORD_VIDEO/&GT;
是无处可寻这里。看看我只要你的链接,并删除从清单。我认为,此功能覆盖&LT;使用-权限的Android:名称=android.permission.CAMERA/&GT;
It turns out that <uses-permission android:name="android.permission.RECORD_VIDEO" />
is nowhere to be found here. Take a look at the link I provided you and remove that from the manifest. I think that this functionnality is covered by <uses-permission android:name="android.permission.CAMERA" />
.
这篇关于无法运行AAPT转储徽章 - 谷歌Play商店的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!