apk文件上传失败的谷歌游戏市场。
我想我的应用程序的升级版本上传到谷歌的播放,但我不断收到消息 -
上传失败
您需要使用一个不同的版本,code为您的APK,因为你已经有一个版本code 1。
您的APK需要有包名com.corntail.project。
还有一些正在寻找 com.corntail.project
并没有被发现。
更新:
在我的的AndroidManifest.xml
,相关的code为 -
< XML版本=1.0编码=UTF-8&GT?;
<舱单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=com.corntail.main
安卓版code =1
机器人:VERSIONNAME =1.0>
解决方案
如果您使用的是Android的工作室或建筑摇篮,编辑您的摇篮脚本( build.gradle )来改变你的包名和版本。这些数值覆盖了你的AndroidManifest.xml文件。
例如:
defaultConfig {
的applicationIDcom.xyz.abc
的minSdkVersion 16
targetSdkVersion 19
版本code 2
VERSIONNAME1.1
}
apk upload failed to the google play market.
I am trying to upload the upgraded version of my app to the google play but I am keep getting the message -
Upload failed
You need to use a different version code for your APK because you already have one with version code 1.
Your APK needs to have the package name com.corntail.project.
There is still something that is looking for com.corntail.project
and it is not being found.
UPDATE:
In my AndroidManifest.xml
, the relevant code is -
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.corntail.main"
android:versionCode="1"
android:versionName="1.0" >
解决方案
If you're using Android Studio or building with gradle, edit your gradle script (build.gradle) to change your package name and version. These values overwrite your AndroidManifest.xml file.
For example:
defaultConfig {
applicationId "com.xyz.abc"
minSdkVersion 16
targetSdkVersion 19
versionCode 2
versionName "1.1"
}