.APK upload failed

2019-01-23 11:21发布

问题:

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.

回答1:

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.



回答2:

Thank you A-C

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



回答3:

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.



回答4:

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

Hope it helps!



回答5:

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



回答6:

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.



回答7:

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



回答8:

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



回答9:

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