Problems locating Android SDK
matthias_livecode_150811 at m-r-d.de
matthias_livecode_150811 at m-r-d.de
Sun Apr 5 18:09:12 EDT 2020
Hi Skip,
the problem is that Android Studio 3.6.x does not install Android command line tools by default.
this is an excerpt of the update LC lesson http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio
Update: Android Studio 3.6 has stopped to install the android command line tools by default. These tools were stored in the /Users/youruser/Library/Android/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 /Users/youruser/Library/Android/sdk/ folder:
HTH,
-
Matthias Rebbe
Life Is Too Short For Boring Code
> Am 05.04.2020 um 23:55 schrieb Skip Kimpel via use-livecode <use-livecode at lists.runrev.com>:
>
> Very helpful, thank you Colin..... and I knew it would not be that easy.
> Now I get a message that says "The chosen folder is not a valid Android
> SDK. Please ensure you have installed it correctly, and enabled support
> for 9.0 (api 28). I went back into Android Studio and verified the path
> was correct and that I had checked the box for version 9.0, which I had.
> Any other suggestions for this new phase I am stuck at?
>
> SKIP
>
> On Sun, Apr 5, 2020 at 5:47 PM Colin Holgate via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> In Finder there is a Go menu, in which you can Go to Folder… Then you type
>> in the path to the hidden user library to get there. The same thing works
>> in open dialogs. When you are pointing LiveCode to the Android SDK, type
>> command-shift-g, and put in:
>>
>> ~/Library/Android/sdk/
>>
>> That path isn’t exactly right I’m sure, LiveCode doesn’t recognize it as
>> valid Android SDK root. It’s been a few years since I had to set that path.
>>
>>
>>> On Apr 5, 2020, at 3:25 PM, Skip Kimpel via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>>
>>> I am relatively new to Mac so if this is an easy fix, sorry for asking.
>> I
>>> have installed Android Studio and the SDK is located in my user/library
>>> directory. I figured out how to reveal the library folder using Finder
>> but
>>> when I try to browse to the SDK location in Livecode settings, I am not
>>> able to get there.
>>>
>>> Can anybody help? This is driving me nuts because I know it is a quick
>>> fix.
>>>
>>> Thanks,
>>>
>>> SKIP
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list