java
java

Reputation: 1339

.APK upload failed

Answered by me bellow

When I try to upload my .APK file i get this error:

Upload failed

I have tried cleaning my project, exporting it, and running it about 100 times over a span of almost 24 hours. This is just an updated version of my .APK. I have already successfully uploaded several updated .APK to the play store. I changed the Version and I am using the same keystore for this update as I have for all my other updates. Any suggestions? And sorry that this isn't a code specific problem. Also I only made a small edit to one of my activities.

Upvotes: 29

Views: 20699

Answers (9)

Ryan Case
Ryan Case

Reputation: 11

For me it ended being related to a newline character in my strings.xml

No error message was shown for ~8 tries then it appeared randomly. Was able to upload after changing the newline character to \n from \u000d

Upvotes: 0

Alberto Maluje
Alberto Maluje

Reputation: 126

For me, trying to logout and login again to my account solved the problem (just as mtg168 said)

Hope it helps!

Upvotes: 2

pinux
pinux

Reputation: 4598

In my case, I happened to change the login password before uploading the apk. Sign out and Sign back in again did help.

Upvotes: 0

java
java

Reputation: 1339

Thank you A-C

The solution to this problem was to use firefox instead of chrome

Upvotes: 24

mtg169
mtg169

Reputation: 525

The problem has nothing to do with using Chrome. The problem is your session is invalid. Using any different browser such as Firefox, Internet Explorer, Opera, etc. would create a new session and allow the upload to work.

The real solution is to just log out and back in because whatever data Google uses to verify the upload is no longer valid, but they still allow you to navigate throughout your developer account like you are logged in with a valid session.

Upvotes: 43

superluminary
superluminary

Reputation: 49132

It's not your browser. Log out and log back in again, a simple page refresh won't do. Crazy I know, but it works. You'll also find your images will fail to upload without an error message.

Upvotes: 3

DonM
DonM

Reputation: 41

I think the problem could be that your session has expired. I just ran into the same problem, but when I logged out and then logged back in, the upload worked fine.

Upvotes: 1

Nicklas Gnejs Eriksson
Nicklas Gnejs Eriksson

Reputation: 3415

How many times have you tried? I usually get that once in a while, and when I get it I might get it 4-5 times in a row. Play Store just sucks some times.

Retry and it should work!;o

Upvotes: 1

richardtz
richardtz

Reputation: 4993

May be you need to specifiy a version name different than the one provided in version 2?

Upvotes: 0

Related Questions