I spent all day trying to figure out what is wrong with my apk. Tried ALL solutions from web, aapt revealed nothing, tried different signatures, packages, versions, browsers, OS. Manifest underwent all possible changes, yet I was getting same problem.
So I though OK, lets start from scratch, maybe google servers are down for some reason (wouldn't be the first time).
- created new android application project, new package, just one activity
- built, signed, uploaded, voila, OK, fine, removed apk from console
- did this few times, it succeeded every time
- the size of apk was few hundreds KB
- as my original apk was around 25MB, I thought, hey, lets try increasing size of this testing one
- so copied ~25MB worth of photos to drawable-hdpi
- built, signed, uploaded and familiar message popped out again - 'Server could not process your apk'
- tried several times, still same outcome
- deleted photos, built, signed, uploaded, ok
- added photos, no luck
So obviously problem is not in manifest or anything else, for some reason size matters (in this case anyway :)).
And yeah, when I deleted just 50% of photos, so apk was ~ 13MB, it sometimes worked, sometimes didn't.
Any explanation for this? Can you replicate? Have tried different browsers, operating systems, same everywhere ... I know there is a limit for apk size, but that's 50MB
Go figure ...
UPDATE: if you ever encounter same problem and you're sure your apk is fine, keep trying to upload. It worked after couple of consequent failed uploads, suddenly server COULD process, without ANY change to apk.