android sdk [SOLVED]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
android sdk [SOLVED]
hi i've installed the android sdk to save my stack as a standalone but it doesn't work because it saysan error 8you can see in the attachment), do you know what to do?
thanks
thanks
Last edited by Samuele on Fri Nov 12, 2021 9:54 am, edited 1 time in total.
Samuele.
Re: android sdk
Buongiorno Samuele,
do this:
1. open "Android Studio"
2. Go to its "Preferences" and click "SDK"
3. Then check "Show Package Details" at the bottom right of that window.
4. Check all "Android SDK platform xxx" and "Sources for Android xxx".
5. Click "SDK Tools" and check all neccessary tools, see screenshot
6. Wait for the download to be finished, quit "Android Studio" and try again
to set the SDK folder in LC.
See screenshots...
That has worked for me on my Mac.
Best
Klaus
do this:
1. open "Android Studio"
2. Go to its "Preferences" and click "SDK"
3. Then check "Show Package Details" at the bottom right of that window.
4. Check all "Android SDK platform xxx" and "Sources for Android xxx".
5. Click "SDK Tools" and check all neccessary tools, see screenshot
6. Wait for the download to be finished, quit "Android Studio" and try again
to set the SDK folder in LC.
See screenshots...
That has worked for me on my Mac.
Best
Klaus
Re: android sdk
Will move this thread to the Android forum...
Re: android sdk
hi! sorry to bother, but now when i try to save it as a standalone it gives me this error: "there was an error while saving the standalone application could not compile service support class"
what is the problem?
thanks.
what is the problem?
thanks.
Samuele.
Re: android sdk
Not sure, but in the "Standalone Application Settings" for "Android" you have selected "Sign with my key"
but you did not select a key file.
If you don't have any certificate or key file(s) select "Sign for development only" from that menu.
but you did not select a key file.
If you don't have any certificate or key file(s) select "Sign for development only" from that menu.
-
- VIP Livecode Opensource Backer
- Posts: 7229
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: android sdk
Did you include all the SDK tools? Your Android Studio screenshot only shows the SDK platforms. The second tab is the SDK Tools and you need those to build a standalone. See the last image Klaus posted.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: android sdk
yes I've downloaded what's shown in the last image that klaus posted, like 31.0.0 ... are there others i need to download that are not shown in the image?
thamks.
thamks.
Samuele.
-
- VIP Livecode Opensource Backer
- Posts: 7229
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: android sdk
What version of Java did you install? You need Java 8.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: android sdk
thanks to y'all i've found the problem! (For Mac)
the sdk was all right as Klaus posted in previous posts, the problem was the jdk, although livecode's website redirects you to the newest jdk, you shall not download the newest jdk (17... at the time of this post) but you'll need to install this version: jdk-8u251-macosx-x64.dmg
thanks!
the sdk was all right as Klaus posted in previous posts, the problem was the jdk, although livecode's website redirects you to the newest jdk, you shall not download the newest jdk (17... at the time of this post) but you'll need to install this version: jdk-8u251-macosx-x64.dmg
thanks!
Samuele.
Re: android sdk [SOLVED]
My 2¢ and a new wrinkle.
Have Android testing working.
Installed jdk-8u311-macosx-x64
Installed Android Studio per Klaus' recommendation.
Works BUT.... the JDK path does not show in the Mobile Support pane.
If this happens to you... don't worry about it?
More details: viewtopic.php?f=53&t=25703&start=45#p211563
Have Android testing working.
Installed jdk-8u311-macosx-x64
Installed Android Studio per Klaus' recommendation.
Works BUT.... the JDK path does not show in the Mobile Support pane.
If this happens to you... don't worry about it?
More details: viewtopic.php?f=53&t=25703&start=45#p211563