Page 1 of 1

apk preparation failed

Posted: Sat Aug 01, 2015 4:09 pm
by jark
I'm trying to build a stack for android, and I keep getting an error "apk preparation failed." I've looked at old forum posts, and tried deleting the .android folder. This was working early yesterday, then when I tried later that same day, I got an error. I've tried a fresh install of Android Studio, and nothing seems to be working.

I've set the path right in preferences (for me, it's ~/Appdata/Android/sdk) and if it makes a difference, I also have an .AndroidStudio1.3 that shows up whenever .android comes back. Neither one has debug.keystore in it, though .android is empty except for a few files and a cache

Re: apk preparation failed

Posted: Sat Aug 01, 2015 7:59 pm
by Simon
Hi jark,
Welcome to the forums!

Do you use the Copy Files in the standalone builder and if so are there any accented characters in the file names?
There is a known bug on this;
http://quality.runrev.com/show_bug.cgi?id=12406

Simon

Re: apk preparation failed

Posted: Sat Aug 01, 2015 10:52 pm
by jark
I do copy files, but there are no accent names. I also tried it on a separate stack that used no external files and had the same issue

EDIT: It's suddenly working again. I think there might have been a settings error when I copied the file and renamed it to add "android" to the name, since I had to reselect "Key for Development Only." The dropdown menu had it selected, but the field wasn't grayed out.