Play 商店 - 将 apk 添加到市场时出现问题

Play Store - Problems adding apk to the market

我使用 PhoneGap 创建了我的应用程序

现在我制作了一个 key.keystore 并将其上传到 phonegap 网站,如此处所示

http://docs.build.phonegap.com/en_US/signing_signing-android.md.html

现在我下载了app-release.apk反编译它使用apk studio程序删除了一些权限并重新编译了它。

当我尝试将 app-release.apk 上传到市场时出现问题,它显示错误

You uploaded an APK that is signed with a restricted certificate. You need to upload an APK signed with your own certificate.

我尝试使用此方法再次退出应用程序

http://developer.android.com/tools/publishing/app-signing.html

当我尝试将其上传到市场时,它显示错误

Your APK has been signed with multiple certificates. Please only sign it with one certificate and upload it again.

有什么帮助吗?

我已经在网上搜索了 3 天了 :O :S !

问题不知何故已解决错误是

when I change apk using apk studio to remove some permissions.

所以我同意了 https://github.com/amirudin/build/wiki/Android-Signing

并下载 app-release.apk 并将其上传到市场并且有效

但是 我仍然需要从应用程序中删除一些权限 :(

任何帮助如何在不影响 apk 的情况下做到这一点?!

编辑:

要自定义应用程序权限,您需要在应用程序文件夹中设置config.xml,如下例:

<?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns = "http://www.w3.org/ns/widgets"
  xmlns:gap = "http://phonegap.com/ns/1.0"
  id        = "com.brilliantapp.seb7a2015"
  versionCode="7"
  version   = "1.2">
  <name>Seb7a</name>
  <description>
seb7a app helps u calculate zekr  </description>
  <author href="www.fb.com/DrOs96" email="Drusama2@gmail.com">
Osama Soliman
  </author>
  <preference name="phonegap-version" value="3.7.0" />
  <preference name="orientation" value="default" />
  <preference name="fullscreen" value="false" />
  <preference name="target-device" value="universal" />
  <preference name="webviewbounce" value="true" />
  <preference name="prerendered-icon" value="true" />
  <preference name="stay-in-webview" value="true" />
  <preference name="ios-statusbarstyle" value="default" />
  <preference name="detect-data-types" value="true" />
  <preference name="exit-on-suspend" value="false" />
  <preference name="show-splash-screen-spinner" value="true" />
  <preference name="auto-hide-splash-screen" value="true" />
  <preference name="EnableViewportScale" value="true" />
  <preference name="MediaPlaybackRequiresUserAction" value="false" />
  <preference name="AllowInlineMediaPlayback" value="false" />
  <preference name="BackupWebStorage" value="cloud" />
  <preference name="TopActivityIndicator" value="gray" />
  <preference name="KeyboardDisplayRequiresUserAction" value="false" />
  <preference name="HideKeyboardFormAccessoryBar" value="false" />
  <preference name="SuppressesIncrementalRendering" value="false" />
  <preference name="android-minSdkVersion" value="10" />
  <preference name="android-maxSdkVersion" value="21" />
  <preference name="android-installLocation" value="auto" />
  <preference name="SplashScreenDelay" value="5000" />
  <preference name="ErrorUrl" value=""/>
  <preference name="BackgroundColor" value="0x000000"/>
  <preference name="KeepRunning" value="true"/>
  <preference name="DisallowOverscroll" value="false"/>
  <preference name="LoadingDialog" value=","/> 
  <preference name="LoadUrlTimeoutValue" value="20000" />
  <preference name="disable-cursor" value="false" />
  <gap:platform name="android" />
  <feature name="http://api.phonegap.com/1.0/notification"/>
  <icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:density="ldpi" />
  <icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:density="mdpi" />
  <icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:density="hdpi" />
  <icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:density="xhdpi" />
  <icon src="res/icon/android/144.png" gap:platform="android" gap:density="xxhdpi" />
  <icon src="res/icon/android/192.png" gap:platform="android" gap:density="xxxhdpi" />
  <icon src="res/icon/android/64.png" />
 </widget>

这是一个非常有用的程序 http://configap.com/

您可以通过 config.xml

设置您应用的权限

http://docs.build.phonegap.com/en_US/configuring_features.md.html#Features