Error message when linking the ANdroid SDK
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Error message when linking the ANdroid SDK
I have tried to link the SDK for Android to Livecode Community, but everytime it says that it isn't a valid SDK. I have made sure that I have downloaded the packages for 2.2 in the SDK, so I can't see what the problem is. (I am using windows 7 and have downloaded all of the latest packages for the SDK).
Thanks in advance,
Matthew
Thanks in advance,
Matthew
Re: Error message when linking the ANdroid SDK
The latest version of the SDK seems to have changed some file locations and removed others.
Try copying the apkbuilder (apkbuilder.bat?) file into the "Tools" folder from a previous version. Also try copying aapt (aapt.exe?) and dx (dx.bat?) from a numbered folder under "build-tools" to the "platform-tools" folder.
Try copying the apkbuilder (apkbuilder.bat?) file into the "Tools" folder from a previous version. Also try copying aapt (aapt.exe?) and dx (dx.bat?) from a numbered folder under "build-tools" to the "platform-tools" folder.
Re: Error message when linking the ANdroid SDK
Thanks wsamples, that sorted it. For others the way to do it is right click on the link, copy it, paste it into notepad or word etc. Then change where it says 22 to 21.1, now paste this new address into your web browser and it will start downloading immediatley. N.B. Once you have opened the SDk to download FROYO (2.2) make sure you unselect any in the tools folder, as you don't want to update them.
Matthew
Matthew
Re: Error message when linking the ANdroid SDK
mattrgs, I tried your suggestion to change ....adt-bundle-windows-x86_64-20130522.zip
and get error 404.
Tried several options including:
...adt-bundle-windows-x86_64-20130521,1.zip
also tried
...adt-bundle-windows-x86_64-20130521.1.zip
I am starting to think this is not for me, having spent nearly two weeks to get LC working with ADT.
and get error 404.
Tried several options including:
...adt-bundle-windows-x86_64-20130521,1.zip
also tried
...adt-bundle-windows-x86_64-20130521.1.zip
I am starting to think this is not for me, having spent nearly two weeks to get LC working with ADT.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Error message when linking the ANdroid SDK
Here are the links to previous versions:
Win
http://dl.google.com/android/installer_ ... indows.exe
Mac
http://dl.google.com/android/android-sd ... macosx.zip
I read that LC 6.0.2 does work with ADT Revision 22.
Also I saw that if you change the "_r20.0.3-" above to "_r21.1_" you will get the latest working version that I'm running.
Simon
Win
http://dl.google.com/android/installer_ ... indows.exe
Mac
http://dl.google.com/android/android-sd ... macosx.zip
I read that LC 6.0.2 does work with ADT Revision 22.
Also I saw that if you change the "_r20.0.3-" above to "_r21.1_" you will get the latest working version that I'm running.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Error message when linking the ANdroid SDK
Simon[/quote]
Simon, I downloaded the installer for ..r21.1 as per your link above. Once installed the program ran the sdk manager. I unticked the option to upgrade to version 22 but had to leave the ticks for android 4.2.2 to be installed. Somewhere during that process the ADT was updated to version 22. I am going around in circles. Having installed/uninstalled ADT atleast 6 times. I have also used the ADT zip file and unpacked that. It has an sdk folder but I still get the same message from LC.
This is really becoming very frustrating and confusing as some posts say use the windows installer (r21.1 or r22) and other say to use the adt bundle file. Tried just about every combination I can think of.
Simon, I downloaded the installer for ..r21.1 as per your link above. Once installed the program ran the sdk manager. I unticked the option to upgrade to version 22 but had to leave the ticks for android 4.2.2 to be installed. Somewhere during that process the ADT was updated to version 22. I am going around in circles. Having installed/uninstalled ADT atleast 6 times. I have also used the ADT zip file and unpacked that. It has an sdk folder but I still get the same message from LC.
This is really becoming very frustrating and confusing as some posts say use the windows installer (r21.1 or r22) and other say to use the adt bundle file. Tried just about every combination I can think of.
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Error message when linking the ANdroid SDK
Hi John,
Can you get LC 6.0.2?
As far as the ADT revision, Matthew (below) seemed to be able to restrict the update to 21.1, but also make sure you download using the SDK manager Android 2.2 that must be there for LC even if you don't use it.
Simon
Can you get LC 6.0.2?
As far as the ADT revision, Matthew (below) seemed to be able to restrict the update to 21.1, but also make sure you download using the SDK manager Android 2.2 that must be there for LC even if you don't use it.
I can only say what is working for me since LC 5.3. Mind you, I'm on Win7 with 32 bit installs of both Java and ADT (maybe I should include that in my sig.)some posts say use the windows installer (r21.1 or r22) and other say to use the adt bundle file
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Error message when linking the ANdroid SDK
Did you try installing and moving the various files as mentioned here? http://forums.runrev.com/phpBB2/viewtop ... 034#p76000 This should work without requiring you to reinstall the Android SDK. This is the method suggested by RunRev.johnhb wrote: This is really becoming very frustrating and confusing as some posts say use the windows installer (r21.1 or r22) and other say to use the adt bundle file. Tried just about every combination I can think of.