Unable to build for Android (apk Preparation failed)

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Peter@multidesk.se
Posts: 136
Joined: Fri Oct 14, 2011 6:53 am

Unable to build for Android (apk Preparation failed)

Post by Peter@multidesk.se » Fri Feb 14, 2014 11:10 am

I'm trying to build my project for Android, which was originally built for iOS. I have now saved the project under a new name and configured as a standalone for Android. But after that, I get the "Unable to build: apk Preparation failed" message. I have tried to delete the file "debug.keystore" under the folder. android but it does not help. I have also updated the android SDK and instalerat Android 2.2 - 4.3 (API 8 through 18), but it made ​​no difference. However, I can build old projects that are built for android from the beginning, so there is basically nothing wrong with my paths or settings. What should I do?
I gratefully accept any help in solving this annoying problem.

/ / / Peter
/*Whats all the fuss with c# ?*/

james8
Posts: 7
Joined: Thu Jan 09, 2014 3:04 pm

Re: Unable to build for Android (apk Preparation failed)

Post by james8 » Fri Feb 14, 2014 2:24 pm

Peter - in the signing options if you try "Sign for development only" does that work? Does it only fail when you try to build an APK and sign it with a key? You mentioned that some of your old projects work ok ... is there something in your stack that's for iOS only that's preventing it from being built possibly?

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Unable to build for Android (apk Preparation failed)

Post by LCNeil » Fri Feb 14, 2014 2:30 pm

Hi Peter,

This does sound stack related. If possible you could send your stack to support@runrev.com and we will happily take a look at it for you.

Kind Regards,


Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
-

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: Unable to build for Android (apk Preparation failed)

Post by ludo » Wed May 07, 2014 4:43 pm

Hello,

I'ved a same problem with one stack (with others stacks all is fine) and on different computers.
I found that is a folder of pictures which cause the bug. I remove specials chars from the name of files "&.()", limit their length but it's the same.
Finally, i've made the files executables (chmod +x) and it's work !
[Edit : no, it doesn't work because no images was added in the standalone ![/edit]

[edit2] Finally it's was others specials chars like accents which causes the bug.

Post Reply