Google Play Won't Accept Apache Cordova
I originally tried using AIDE for PhoneGap and after I submitted my app to Google Play I got the following message... APP REJECTED Your app submission has been rejected because it
Solution 1:
Turns out all I needed to do with PhoneGap Build is add this line of code in my config.xml
file.
<preferencename="phonegap-version"value="cli-5.2.0" />
So here's what my config looks like now.
<?xml version='1.0' encoding='utf-8'?><widgetxmlns = "http://www.w3.org/ns/widgets"xmlns:gap = "http://phonegap.com/ns/1.0"id = "com.michael.hellp"version = "1.0.0"><name>
Hello world
</name><description>
Hello world description
</description><authorhref="http://build.phonegap.com/"email="name@website.com">
Bruce Lee
</author><contentsrc="index.html" /><iconsrc="icon.png" /><icongap:platform="android"gap:qualifier="ldpi"src="www/res/icon/android/icon-36-ldpi.png" /><icongap:platform="android"gap:qualifier="mdpi"src="www/res/icon/android/icon-48-mdpi.png" /><icongap:platform="android"gap:qualifier="hdpi"src="www/res/icon/android/icon-72-hdpi.png" /><icongap:platform="android"gap:qualifier="xhdpi"src="www/res/icon/android/icon-96-xhdpi.png" /><icongap:platform="android"src="www/res/icon/android/icon-96-xhdpi.png" /><icongap:platform="blackberry"src="www/res/icon/blackberry/icon-80.png" /><icongap:platform="blackberry"gap:state="hover"src="www/res/icon/blackberry/icon-80.png" /><icongap:platform="ios"height="57"src="www/res/icon/ios/icon-57.png"width="57" /><icongap:platform="ios"height="72"src="www/res/icon/ios/icon-72.png"width="72" /><icongap:platform="ios"height="114"src="www/res/icon/ios/icon-57-2x.png"width="114" /><icongap:platform="ios"height="144"src="www/res/icon/ios/icon-72-2x.png"width="144" /><icongap:platform="webos"src="www/res/icon/webos/icon-64.png" /><icongap:platform="winphone"src="www/res/icon/windows-phone/icon-48.png" /><icongap:platform="winphone"gap:role="background"src="www/res/icon/windows-phone/icon-173-tile.png" /><preferencename="orientation"value="default" /><preferencename="target-device"value="universal" /><preferencename="fullscreen"value="true" /><preferencename="phonegap-version"value="cli-5.2.0" /></widget>
Solution 2:
I had the same issue, and the <preference name="phonegap-version" value="cli-5.2.0" />
setting as proposed by Michael Schwartz did not help.
The following resolved the issue:
$ cordova platform remove android
$ cordova platform add android@5.4.0
To check what version you are actually submitting, check platforms/android/platform_www/cordova.js
for the following string:
var PLATFORM_VERSION_BUILD_LABEL = '5.4.0';
Note changing this string manually will get you in trouble elsewhere, so don't.
Post a Comment for "Google Play Won't Accept Apache Cordova"