Error when uploading APK files

Age380

New Member
Hi,

I keep getting the following error when attempting to upload .apk file to google play production:

Upload failed
Your APK cannot be analysed using aapt. Error output:

Failed to run aapt dump badging:
ERROR: dump failed because assets could not be loaded

com.aussie.coins

Can you please look into it for me?
 

appyet

Support Team Member
Staff member
If your appyet account is not gmail, try change it to gmail. We see some email server corrupt APK file.

Sent from my SM-G900W8 using AppYet
 

Age380

New Member
ok I changed it to my gmail. Got this message (usually only takes a minute or 2);

Queue Position:
428
Estimate Build Begin in:
03:34:00 (HH:MM:SS)

When build complete, you will receive your updated application by email. Please reinstall updated application to see your changes.
 

Age380

New Member
BTW, I ran it through Android studio and it seems the only issue with the Apk file is the package name not being contained in the AndroidManifest.xml file..is this something that could be due to email server corruption? Or something I can fix myself in the meantime with some code?
 

joseph raphael

Well-Known Member
BTW, I ran it through Android studio and it seems the only issue with the Apk file is the package name not being contained in the AndroidManifest.xml file..is this something that could be due to email server corruption? Or something I can fix myself in the meantime with some code?

That's weird, is your package name contains spacial characters or something ?
 

Age380

New Member
N
That's weird, is your package name contains spacial characters or something ?

No, but there are spaces in the file name.

One other thing I noticed when trying to download from yahoo email server is that was immediately saving under the file name of another APK I had on my system, so then I had to go in and rename it. Perhaps this is the cause of the problem?
 

joseph raphael

Well-Known Member
No, but there are spaces in the file name.

One other thing I noticed when trying to download from yahoo email server is that was immediately saving under the file name of another APK I had on my system, so then I had to go in and rename it. Perhaps this is the cause of the problem?

remove the spaces, the package name should be like this
com.name.app
and the APK file should be like this
com_name_app.apk
 

Age380

New Member
N


No, but there are spaces in the file name.

One other thing I noticed when trying to download from yahoo email server is that was immediately saving under the file name of another APK I had on my system, so then I had to go in and rename it. Perhaps this is the cause of the problem?

This is how it looks like when it saves:

com_aussie_coins (1).zip

Doesn't give me the option to save as when I download via Yahoo
 

Age380

New Member
remove the spaces, the package name should be like this and the APK file should be like this

How/where do I change/check the package name " com.aussie.coins "

When I rename the file to com_aussie_coins.apk Google doesn't accept it. Says I must upload a file ending in .apk

Thanks for your help so far
 

joseph raphael

Well-Known Member
How/where do I change/check the package name " com.aussie.coins "

When I rename the file to com_aussie_coins.apk Google doesn't accept it. Says I must upload a file ending in .apk

Thanks for your help so far

The Package name cannot be changed, you'll have to create new App using the old one a template.

The Package name should be here http://www.appyet.com/MyApp.aspx beside your App's name.

The file that appyet sends you is a (.zip) not (.apk), you have to extract it NOT rename it.
 

Age380

New Member
The Package name cannot be changed, you'll have to create new App using the old one a template.

The Package name should be here http://www.appyet.com/MyApp.aspx beside your App's name.

The file that appyet sends you is a (.zip) not (.apk), you have to extract it NOT rename it.

OK I understand. Like I said before, for some reason the name isnt contained in androidmanifest.xml

I just saw that after I extract the file the apk file actually appears as well.

Even with all that being like you advised, when uploading the apk in the correct format, still getting this error:

"Upload failed
Your APK cannot be analysed using aapt. Error output:

Failed to run aapt dump badging:
ERROR: dump failed because assets could not be loaded"

I might wait for the new build to come to my gmail like appyet says unless you or someone thinks of something else.
Thanks Joseph and @appyet
 

appyet

Support Team Member
Staff member
@appyet building APKs is a lot slower right now, I have to wait 3 and a half hours ??
Before queuing was last in first out. Some people get apk in secs, some wait more than 24 hours. It was not fair to everyone. We change it to last in last out. Due to huge number of app's being upgraded by builder. Wait time will be long for next few days.

Sent from my SM-G900W8 using AppYet
 

appyet

Support Team Member
Staff member
This is how it looks like when it saves:

com_aussie_coins (1).zip

Doesn't give me the option to save as when I download via Yahoo
Don't use yahoo mail, change to gmail.

Sent from my SM-G900W8 using AppYet
 
Top