Page 1 of 1

the chosen folder is not a valid android sdk

Posted: Thu Apr 30, 2020 9:41 pm
by ckaraca
Hi there,
I have a problem.
I haven't been able to introduce android sdk livecode yet. However, I installed android studio as an administrator. Android 9.0 package (API28) is installed on Windows 10 . Unfortunately, although I tried again and again, it was not successful.
Please help me!

Re: the chosen folder is not a valid android sdk

Posted: Fri May 01, 2020 8:30 am
by LiveCode_Panos
Hello ckaraca

I guess you are using Android Studio 3.6.x?

Android Studio 3.6 has stopped to install the android command line tools by default. These tools were stored in the <path/to/sdk>/tools folder, and contained some necessary jar files that are needed to build for Android.

You can still force Android Studio 3.6 to download these tools:

- Launch Android Studio and go to Configure -> "SDK Manager"

- In the new window open "System Settings -> Android SDK".

- From there pick the tab "SDK Tools".

- Uncheck the "Hide Obsolete Packages" option in the bottom of the window.

- Now there should appear a new option: "Android SDK Tools (Obsolete)" - check that, hit "Apply" - it will download the files and "Tools" folder will appear in the <path/to/sdk>/ folder.

Kind regards,
Panos
--

Re: the chosen folder is not a valid android sdk

Posted: Fri May 01, 2020 9:38 am
by ckaraca
Your help was very precious to me.
He finally succeeded :P . Thank you very much.
Best regards.

Re: the chosen folder is not a valid android sdk

Posted: Fri May 01, 2020 8:59 pm
by FourthWorld
LiveCode_Panos wrote:
Fri May 01, 2020 8:30 am
Android Studio 3.6 has stopped to install the android command line tools by default. These tools were stored in the <path/to/sdk>/tools folder, and contained some necessary jar files that are needed to build for Android.
Thank you for that note, Panos. I see it's been added to the Lesson for this. Was that added fairly recently, or did I just miss that note when I last referred to that article a couple months ago?