Problem exporting for Android

When exporting for Android, I get:

BUILD FAILED

C:\android-sdk\tools\ant\build.xml:928: The following error occurred while executing this line:

C:\android-sdk\tools\ant\build.xml:946: null returned: 1

 

I have no trouble exporting a new, empty project so everything needed for the procedure is installed. Also when I remove

my bgm files from the packaging-ready folder, I'm able to create the apk file. I'm using only .m4a files if somebody needs to know.

Could it have to do something with the filenames or the number of files?

 

I really hope that somebody can help me out with this.
Hello Sieben43,

I've actually have the same issue. I retried running the script and 1/3rd of the time it would build "successfully" but when installing to my LG4 it would crash out. Have you attempted several times to see if its the same scenario for you?
Yes I tried at least 10 times, I have no idea what the problem could be.

When I remove the bgm files, I'm able to build the apk and I'm also able to install it on my android devices.

But of course it would give me the error that the audio files are missing.
I recently got this as well. I managed to get it working just now. In my case, I had a file name after a character, Ívaldi.png, in my sv_actors. After I removed it, it worked, so check if you're using any non-English characters.
That's what I tried as well, renamed all my audio files and removed most of the characters and it seems to work for now.
Have you tried compliling with XDK? 

http://forums.rpgmakerweb.com/index.php?/topic/46378-androidios-converting-your-project-with-intel-xdk-uploading-to-google-play-store/#entry466042

I know that XDK does have a file upload limit which will crash the compiler.  Check it out.
Yes, when I first got the error I was looking for solutions and I found the youtube video. But XDK crashed while uploading, so I guess it's due to the size limitation.
It will fail and there is a two-byte characters in the file name.

The file name of the Asian languages will also fail.

BUILD FAILED

C:\android-sdk\tools\ant\build.xml:928: The following error occurred while executing this line:

C:\android-sdk\tools\ant\build.xml:946: null returned: 1
rock3, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Closing this, if you have a problem then make a new topic

Original thread: https://forums.rpgmakerweb.com/threads/problem-exporting-for-android.46959/