Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google play application upload failed

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" >
like image 521
My God Avatar asked Mar 21 '13 07:03

My God


People also ask

Why do Play Store apps get rejected?

If your app is deemed to have inappropriate content, it will be rejected automatically. It doesn't matter how good your user experience is, your app must comply with the content standards of your store of choice.

How do I resubmit an app after rejection on Google Play?

Resubmit appLogin to your Google Play Console account. Navigate to the “All Apps” section on the left menu. Here you will be able to see all the apps submitted from your account. Click on the “View app” button against the app that you wish to resubmit the build for.


2 Answers

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"
    }
like image 127
Guy Avatar answered Oct 13 '22 00:10

Guy


You need to change your android:versionCode="1" to 2 on the AndroidManifest...

like image 43
PaNaVTEC Avatar answered Oct 12 '22 23:10

PaNaVTEC