SDK folder is not valid?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
SDK folder is not valid?
Suddenly, the path for Android SDK is missing in my settings.
When I try to choose the same SDK that worked the other day I get:
"The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly.
and enabled support for Android 4.0.3 (API 15)"
I used this SDK two days ago when I last updated my app on Google Play, and now this?
I have not done any updates or installations, so what might have happened, and how do I fix the problem?
Ideally without having to reinstall the entire SDK, If it happened once it can happen again.
I'm on a MAC using LC 9.0.0 (dp11)
///Peter
When I try to choose the same SDK that worked the other day I get:
"The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly.
and enabled support for Android 4.0.3 (API 15)"
I used this SDK two days ago when I last updated my app on Google Play, and now this?
I have not done any updates or installations, so what might have happened, and how do I fix the problem?
Ideally without having to reinstall the entire SDK, If it happened once it can happen again.
I'm on a MAC using LC 9.0.0 (dp11)
///Peter
/*Whats all the fuss with c# ?*/
-
- Posts: 22
- Joined: Mon Apr 18, 2016 4:57 pm
Re: SDK folder is not valid?
Hi Peter
I am facing the same problem.
I have installed Android latest version and it seems that LC could be not compatible with it.
I think that we should downgrade the version.
Hope somebody got the solution for us.
Good luck
I am facing the same problem.
I have installed Android latest version and it seems that LC could be not compatible with it.
I think that we should downgrade the version.
Hope somebody got the solution for us.
Good luck
-
- Posts: 1
- Joined: Mon Apr 16, 2018 2:04 pm
Re: SDK folder is not valid?
I also had the hassle of "the chosen listing is not a valid domestic for Android SDK", even when I had updated SDK. (I had an eclipse installation already, that become outdated) as soon as I ran Android Studio with admin rights, i was capable of set the Android SDK path to the sdk folder in my eclipse instalation that I up to date. – Xilconic may 30 'thirteen at 20:thirteen
Admin rights do not solve this hassle. One has to absolutely uninstall and reinstall Android Studio! –
ShowBox Kodi
Admin rights do not solve this hassle. One has to absolutely uninstall and reinstall Android Studio! –
ShowBox Kodi
Re: SDK folder is not valid?
I'm having exactly the same problem on Mac OSX 10.11.5, tried LC 8.1.8, LC 9.0.0 and 9.02. Worked yesterday and haven't changed anything overnight so this a major issue for me. Hopefully the cause and solution will be found asap.
Allan
Allan
Re: SDK folder is not valid?
I solved this for my situation hopefully will work for others.
I noticed that the error message I got said the Android version API 26 was not present. Went into Android Studio, Preferences, Appearance & Behaviour, System Settings,Android SDK and saw Android Version for API 26 was not ticked. I ticked that and clicked the download icon (on the left) and the API 26 version was downloaded automatically.
Once I had the API 26 version of the Android SDK installed I was able to to go to Livecode, Preferences, Mobile Support and set the the location of Android SDK successfully.
So it seems the older version of the Android SDK I was using API 19 (Kitkat) is no longer supported by Livecode.
Can one of LC support team confirm this is the case.
Cheers
Allan
I noticed that the error message I got said the Android version API 26 was not present. Went into Android Studio, Preferences, Appearance & Behaviour, System Settings,Android SDK and saw Android Version for API 26 was not ticked. I ticked that and clicked the download icon (on the left) and the API 26 version was downloaded automatically.
Once I had the API 26 version of the Android SDK installed I was able to to go to Livecode, Preferences, Mobile Support and set the the location of Android SDK successfully.
So it seems the older version of the Android SDK I was using API 19 (Kitkat) is no longer supported by Livecode.
Can one of LC support team confirm this is the case.
Cheers
Allan
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: SDK folder is not valid?
Hello all,
Yes, I confirm you now need to download Android API 26, either using the SDK Manager if you have downloaded only the Android Tools, or as Allan describes if you use Android Studio.
This is a new requirement from Google Play Store.
Hope this helps.
Kind regards,
Panos
--
Yes, I confirm you now need to download Android API 26, either using the SDK Manager if you have downloaded only the Android Tools, or as Allan describes if you use Android Studio.
This is a new requirement from Google Play Store.
Hope this helps.
Kind regards,
Panos
--
Re: SDK folder is not valid?
just wasted a whole lot of time on this problem. My work station is running IntelliJ Ultimate 11 on Windows 7 64-bit. I was setting up my first Android project. Therefore, no SDKs were configured. First I selected the JDK, which was a no-brainer (C:\ProgramFiles (x86)\Java\jdk1.6.0_30). Next comes the part where you need to specify the Android SDK. First you click the elipsis ("...") and then click "Add New". Now here's the kicker... If you look carefully at the dialog box, you'll notice that "Configure new JSDK" is highlighted by default. What you need to do is change the selection to "Android SDK". Now you can select the directory of your Android SDK and you won't get that stupid error message.batmanandjoker wrote: ↑Mon Apr 16, 2018 2:12 pmI also had the hassle of "the chosen listing is not a valid domestic for Android SDK", even when I had updated SDK. (I had an eclipse installation already, that become outdated) as soon as I ran Android Studio with admin rights, i was capable of set the Android SDK path to the sdk folder in my eclipse instalation that I up to date. – Xilconic may 30 'thirteen at 20:thirteen
Admin rights do not solve this hassle. One has to absolutely uninstall and reinstall Android Studio! –
I literally wasted about a half an hour before I realized why the app kept telling me "This is not a valid SDK directory." Hopefully this will help someone else having the same problem.
Don here: I had the same trouble in Windows 64 with 11.1.2 and 64bit java. found that only by clicking on the left window could I register my Android SDK
Re: SDK folder is not valid?
I think this is the first time I've seen what I believe to be a bot, quoting another of what I believe to be a bot. Interesting times we live in
Re: SDK folder is not valid?
haha yes, something like that.
The English gramatic was for me very strange to follow, that i quickly stopped reading it.
The English gramatic was for me very strange to follow, that i quickly stopped reading it.
-
- Posts: 1
- Joined: Fri May 17, 2019 10:49 am
- Contact:
Re: SDK folder is not valid?
Works just fine, thank you so much Hlowe! : Dadxsoft wrote: ↑Wed Feb 20, 2019 6:23 amI solved this for my situation hopefully will work for others.
I noticed that the error message I got said the Android version API 26 was not present. Went into Android Studio, Preferences, Appearance & Behaviour, System Settings,Android SDK and saw Android Version for API 26 was not ticked. I ticked that and clicked the download icon (on the left) and the API 26 version was downloaded automatically.
Once I had the API 26 version of the Android SDK installed I was able to to go to Livecode, Preferences, Mobile Support and set the the location of Android SDK successfully.
So it seems the older version of the Android SDK I was using API 19 (Kitkat) is no longer supported by Livecode.
Can one of LC support team confirm this is the case.
Cheers
Allan
Re: SDK folder is not valid?
Same issue I had it working with community, I got the license update and then boom SDK issue. I have reinstalled Android Studio and live code over and over and over and over again. This "check" system seems to have a serious flaw if I'm looking at the sdk folder, installed the complete sdk packages for the requirements, and even went so far as a fresh os install. Same issue. Time wasted.
-
- Posts: 1
- Joined: Mon Jul 03, 2023 5:49 am
- Contact:
Re: SDK folder is not valid?
Hi! I had this problem, select SDK folder (NOT SDK->sources or SDK-platforms)
-
- VIP Livecode Opensource Backer
- Posts: 7252
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: SDK folder is not valid?
Make sure you have installed the latest SDK tools and build tools. Here is a lesson:alishakihn wrote: ↑Mon Jul 03, 2023 5:51 amHi! I had this problem, select SDK folder (NOT SDK->sources or SDK-platforms)
Code: Select all
https://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com