app preparation failed - SOLVED
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
app preparation failed - SOLVED
I Have been trying all day to get LV 9.6.6 (RC 1) to make a app file, but have had many difficulties. Most and maybe all self induced.
But can anyone tell me what the message in my attachment means?
Thanks,
David
But can anyone tell me what the message in my attachment means?
Thanks,
David
Last edited by DR White on Mon Jan 03, 2022 2:31 pm, edited 1 time in total.
-
- VIP Livecode Opensource Backer
- Posts: 9754
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: app preparation failed
Hi.
If you try to make the app in an earlier version, does it succeed?
Craig
If you try to make the app in an earlier version, does it succeed?
Craig
Re: app preparation failed
Strange!
LC 9.6.6 (RC1) accepts SDK root location, but gives error when making app.
LC 9.6.2 (RC2) does NOT accept SDK root location
I had to change the location of the root directory because by default the Android Studio put the directory in \user\drwhite77\library. That directory was grayed out and LC could not see it. So I put it in "\document\Andriod SDK" directory
I am using the LC link https://lessons.livecode.com/m/2571/l/6 ... oid-studio to install Android sdk.
LC 9.6.6 (RC1) accepts SDK root location, but gives error when making app.
LC 9.6.2 (RC2) does NOT accept SDK root location
I had to change the location of the root directory because by default the Android Studio put the directory in \user\drwhite77\library. That directory was grayed out and LC could not see it. So I put it in "\document\Andriod SDK" directory
I am using the LC link https://lessons.livecode.com/m/2571/l/6 ... oid-studio to install Android sdk.
Re: app preparation failed
So, when I try to set the location of LC 9.6.2 (RC2), it does NOT accept SDK root location.
I went back and added ALL of the available components for Android 11 and 10, I barely have any storage left on my computer.
But, I still get the attached error.
Is there another way to get the needed Android SDK other then using the Android Studio?
Thanks,
David
I went back and added ALL of the available components for Android 11 and 10, I barely have any storage left on my computer.
But, I still get the attached error.
Is there another way to get the needed Android SDK other then using the Android Studio?
Thanks,
David
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: app preparation failed
I had exactly the same problem. And once it happened in 9.6.6 my earlier versions of LC started throwing the same errors. The mailing list had no answers. Nothing in my setup had changed.
Like you I downloaded all the components to try to fix it. Then I noticed that the lesson showed build tools 30 had been installed, though the lesson has a big colored box suggesting 30.0.3. So I installed build tools 30 and so far it seems to work.
Now I have to delete all the gigabytes of junk that got installed when I decided to see if I needed all the components of every platform.
Like you I downloaded all the components to try to fix it. Then I noticed that the lesson showed build tools 30 had been installed, though the lesson has a big colored box suggesting 30.0.3. So I installed build tools 30 and so far it seems to work.
Now I have to delete all the gigabytes of junk that got installed when I decided to see if I needed all the components of every platform.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: app preparation failed
BTW, the weird thing was that sometimes I could do a build and sometimes not. Immediately after restarting LC it always worked. Sometimes it worked a second time too, but eventually would error. Then I'd restart LC and it worked for a while again.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: app preparation failed
Jacqueline,
I could not find any SKD Build Tools version 30.
see attachment
I could not find any SKD Build Tools version 30.
see attachment
Re: app preparation failed
Jacqueline,
Do you by chance use Mac for your programming?
If you are, what location are you using for the Android SKD?
I really don't think LC is seeing the Android SKD or Java properly, when I put it in "\documents\Andriod SDK" directory?
Do you by chance use Mac for your programming?
If you are, what location are you using for the Android SKD?
I really don't think LC is seeing the Android SKD or Java properly, when I put it in "\documents\Andriod SDK" directory?
Re: app preparation failed
After changing SDK Build-Tools from 32 to 30.0.0, my error message changed from java related errors to "-input-list.txt complication failed"
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: app preparation failed
I used to have my SDK in a folder I created for development files, which worked fine until we had to start using Android Studio to get files. Studio put the files into /<username>/Library/Android/sdk/ by default. My old folder stopped working soI deleted it and pointed LC prefs to the default Library folder.
I have both 30.0.0 and 30.0.3 platform tools installed. It may be that LC looks for 30 but then actually uses 30.0.3. I'm just guessing. At any rate, I just left them both installed.
The new errors you're getting look like java errors. You need Java 8, that's the only version that will work. Is that what you have?
I have both 30.0.0 and 30.0.3 platform tools installed. It may be that LC looks for 30 but then actually uses 30.0.3. I'm just guessing. At any rate, I just left them both installed.
The new errors you're getting look like java errors. You need Java 8, that's the only version that will work. Is that what you have?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: app preparation failed
Jacqueline,
Thanks for your response!
Yes I believe I am using Java 8. See attachments.
Thanks for your response!
Yes I believe I am using Java 8. See attachments.
Re: app preparation failed
I added tools 30.0.3
I shut everything down and rebooted.
Now I get a different error (see attachment).
Concerning your SDK location, how did you get LC to see the default path?
My Mac Big Sur has "/<username>/Library/Android/sdk/" grayed out.
Thats why I had to put it into a different location.
Thanks
I shut everything down and rebooted.
Now I get a different error (see attachment).
Concerning your SDK location, how did you get LC to see the default path?
My Mac Big Sur has "/<username>/Library/Android/sdk/" grayed out.
Thats why I had to put it into a different location.
Thanks
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: app preparation failed
Some years ago I went to the Library folder in Finder and dragged it to the sidebar. That way it's accessible from anywhere.
It looks like your Java version is okay. I never moved it from its default location which is somewhere at the root level of the hard drive (not at my Mac right now to check.)
You could try a Google search for "livecode apk preparation failed", it might turn up an explanation.
It looks like your Java version is okay. I never moved it from its default location which is somewhere at the root level of the hard drive (not at my Mac right now to check.)
You could try a Google search for "livecode apk preparation failed", it might turn up an explanation.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: app preparation failed
Jacqueline,
I did move my /User/Library folder to my side bar and now everything can use it, including LC.
I re-installed the SKD and tool files to the original default "Library" directory.
LC accepted the location just fine (see attachment).
I still get the same error message(see attachment).
Thanks for your help.
David
I did move my /User/Library folder to my side bar and now everything can use it, including LC.
I re-installed the SKD and tool files to the original default "Library" directory.
LC accepted the location just fine (see attachment).
I still get the same error message(see attachment).
Thanks for your help.
David