Android Setup Blues
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Android Setup Blues
I've download both the, installer_r12-windows.exe and the android-sdk_r12-windows.zip files from: http://developer.android.com/sdk/index.html
When I run the exe, I get an error message saying the it can't find the JDK, and that needs to be installed.
I've got it. I've installed it twice. Live code recognizes it. So I tried the zip file. There I simply copied the contents to it's own folder.
Looks good-- and when I double click on "SDK Manager.exe" it starts fine.
But I still can't get the Android Simulator to run. And when I try to Save as a Standalone, with the Android option checked, I get this LiveCode error message. This has got me worried. Any Suggestions?
When I run the exe, I get an error message saying the it can't find the JDK, and that needs to be installed.
I've got it. I've installed it twice. Live code recognizes it. So I tried the zip file. There I simply copied the contents to it's own folder.
Looks good-- and when I double click on "SDK Manager.exe" it starts fine.
But I still can't get the Android Simulator to run. And when I try to Save as a Standalone, with the Android option checked, I get this LiveCode error message. This has got me worried. Any Suggestions?
Re: Android Setup Blues
If the Android SDK can't find your JDK (Windows 7 64bit) install, just click on the "Back" button on the Android SDK installer then the "Next" button, the install should then work.
I know this is crazy but it worked for me.
Blessings.
I know this is crazy but it worked for me.
Blessings.
Re: Android Setup Blues
I just installed r12 the other night. This "can't find the JDK" bug has apparently existed for at least two versions of the Android SDK. Hitting back and then next is the way to do it. Just an FYI: you may want to install this version of the SDK (the Android SDK) into some directory other than "Program Files". O/W you may fall victim to a bug regarding filepaths containing spaces. Happened to me and to others, as well. I ended up putting it in my home directory and all is well.
http://blog.andrew-jones.com/2011/07/08 ... d-sdk-r12/
http://blog.andrew-jones.com/2011/07/08 ... d-sdk-r12/
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Re: Android Setup Blues
Good find there PCH101-- that works.
Just for the record, I ended up downloading the .zip version. I simply copied the entire "android-sdk-windows" folder to my hard drive and double clicked on the "SDK.Manager.exe" which worked fine. I guess there are no required registry entries.
Thanks for your help guys.
Just for the record, I ended up downloading the .zip version. I simply copied the entire "android-sdk-windows" folder to my hard drive and double clicked on the "SDK.Manager.exe" which worked fine. I guess there are no required registry entries.
Thanks for your help guys.
-
- Posts: 1
- Joined: Mon Aug 01, 2011 6:43 pm
Re: Android Setup Blues
Dear all,
I've been developing for Android for almost year, and I'm considering developing in LiveCode now as well. I've got the Android SDK installed and running fine with Eclipse on Mac OS 10.6. When I tried to test my newly built LiveCode 'Hello World' app, I already got stuck at setting up Android in LiveCode. when trying to select the SDK folder, I get the apparently often occurring 'The chosen folder is not a valid SDK folder' error, although the folder I selected definitely is the Android SDK folder.
I've updated the SDK (and installed all the new packages), restarted etc. but LiveCode still won't recognize my SDK folder as valid. I've strictly followed every step in the 'How do I become an Android developer on a Mac?' lesson, the only difference between the lesson, and what I've got, is that I've already installed API 8 Revision 3 instead of API 8 Revision 2.
I've got all latest versions installed of everything (except for Eclipse, but that shouldn't be a problem). It may be a rather stupid question, but as LiveCode looks rather promising I refuse to give up on it yet.
Thanks a lot in advance for all help,
Gijs
I've been developing for Android for almost year, and I'm considering developing in LiveCode now as well. I've got the Android SDK installed and running fine with Eclipse on Mac OS 10.6. When I tried to test my newly built LiveCode 'Hello World' app, I already got stuck at setting up Android in LiveCode. when trying to select the SDK folder, I get the apparently often occurring 'The chosen folder is not a valid SDK folder' error, although the folder I selected definitely is the Android SDK folder.
I've updated the SDK (and installed all the new packages), restarted etc. but LiveCode still won't recognize my SDK folder as valid. I've strictly followed every step in the 'How do I become an Android developer on a Mac?' lesson, the only difference between the lesson, and what I've got, is that I've already installed API 8 Revision 3 instead of API 8 Revision 2.
I've got all latest versions installed of everything (except for Eclipse, but that shouldn't be a problem). It may be a rather stupid question, but as LiveCode looks rather promising I refuse to give up on it yet.
Thanks a lot in advance for all help,
Gijs
Re: Android Setup Blues
Hoi Gijs,
Als ik me niet vergis, ben je Nederlander. Ik heb zonder problemen de Android SDK geïnstalleerd en gebruik ik nu i.c.m. LiveCode. Ik help je graag verder op het Nederlandse LiveCode-forum.
Groet,
Mark
Als ik me niet vergis, ben je Nederlander. Ik heb zonder problemen de Android SDK geïnstalleerd en gebruik ik nu i.c.m. LiveCode. Ik help je graag verder op het Nederlandse LiveCode-forum.
Groet,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 3
- Joined: Sat Sep 01, 2012 4:29 pm
Re: Android Setup Blues
For the "chosen folder is not a valid android SDK folder"-error, you need specify the path where the sdk-manager's .exe file is. So just check it's location from the sdk-manager-icon from your desktop. It's in C:/users/yourname/AppData/Local/Android/etc... The "AppData" folder is hidden. So just copy paste the address to LiveCode directly from the address bar.
Re: Android Setup Blues
I am still getting this eeror message and I cannot even cut/paste the folder location into LiveCode. I can only click the browse button to find the folder but nothing appears in the Livecode windows and I get the 'chosen folder is not a valid.....ilpojGAMNPSN wrote:For the "chosen folder is not a valid android SDK folder"-error, you need specify the path where the sdk-manager's .exe file is. So just check it's location from the sdk-manager-icon from your desktop. It's in C:/users/yourname/AppData/Local/Android/etc... The "AppData" folder is hidden. So just copy paste the address to LiveCode directly from the address bar.
I read on another blog that the LC mobile support looks for aapt.exe. I located this file in the C:\Users\John\AppData\Local\Android\android-sdk\build-tools\17.0.0 folder but even pointing LC mobile support there I still get the 'chosen folder in not valid..' error message.
Can someone please help me here, I am getting confused with all the various posts and different suggestions.
Running Windows 7 64 bit. Installed LC 6.0.2 rc1 build 1520.