apk preparation failed

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jark
Posts: 2
Joined: Mon Jul 13, 2015 5:51 pm

apk preparation failed

Post by jark » Sat Aug 01, 2015 4:09 pm

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

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: apk preparation failed

Post by Simon » Sat Aug 01, 2015 7:59 pm

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

jark
Posts: 2
Joined: Mon Jul 13, 2015 5:51 pm

Re: apk preparation failed

Post by jark » Sat Aug 01, 2015 10:52 pm

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.

Post Reply