Android SDK install without Android Studio (LC 9.6.5 App Bundles)

Ralph DiMola rdimola at evergreeninfo.net
Fri Oct 15 11:01:46 EDT 2021


Panos,

I agree that this might be too much for some users. The main reason I wanted
to get a way around the full studio is I just got a new M1 Mac with a
soldered in HD and wanted to preserve disk space (in this day and age can
you imagine that?). I started on the Win 10(that had JDK installed already)
and moved last night to the new Mac.

As you said without the full studio it can be complicated, I did not
document the installation of the Java JDK.

Question: Although I was able to build and sign an Android app using my
existing KeyStore on the Mac after using my command line method, in the LC
prefs the JDK location is empty? I installed the version I had
jdk-8u102-macosx-x64.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of panagiotis m via use-livecode
Sent: Friday, October 15, 2021 4:19 AM
To: How to use LiveCode
Cc: panagiotis m
Subject: Re: Android SDK install without Android Studio (LC 9.6.5 App
Bundles)

Hello all,

Update: I did not realise that Ralph was talking about the "new" thing
(released on Feb 2020) that is the "command line tools". I thought he was
suggesting to use the "old" sdk tools, but instead of using the SDK Manager
GUI, which is now broken, to use the "sdkmanager" command line tool that is
located in "sdk_tools/bin/sdkmanager".

So, the part of my previous response that says that this approach is quite
possible it will break in the future, does not apply to what Ralph was
actually referring to, i.e the "command line tools":

>>>>>1) Download the "Command line tools only" from
https://developer.android.com/studio#downloads

So, we can update the lesson to offer the simpler option as outlined by
Ralph.

Kind regards,
Panos
--

On Fri, 15 Oct 2021 at 10:58, panagiotis m <merakosp at gmail.com> wrote:

> Hello all,
>
> What Ralph suggests does work, and this is what we have advised a 
> couple of users to try, after they contacted us.
>
> However, the problem with this approach is that it is quite possible 
> it will break in the future. Moreover, using the Terminal/cmd can be 
> quite advanced for several users.
>
> Taking these into account, as well as the fact that Google pushes 
> people to use Android Studio, we decided to choose Android Studio as 
> the suggested approach, since it is way more futureproof.
>
> PS: Using Android Studio will also probably eliminate the need to 
> download a separate jdk from Oracle. The reason we have not yet 
> implemented Bernard's suggestion so far - i.e. to tweak the IDE to use 
> the jre/openjdk that is bundled with Android Studio - is that it 
> requires some work to make it work seamlessly on all 3 platforms 
> (Mac/Win/Linux), and usually we have more "pressing" issues to resolve.
> Moreover, Bernard's comments and instruction in the forums and 
> elsewhere are very clear and easy to follow. But we do have this in 
> our (long) TODO list.
>
> Kind regards,
> Panos
> --
>
>
> On Fri, 15 Oct 2021 at 10:31, Bernard Devlin via use-livecode < 
> use-livecode at lists.runrev.com> wrote:
>
>> One has to wonder why, if that is so simple, LC Ltd recommend that 
>> people install the full Android Studio.  That is the only advice they 
>> provide on setting things up for Android development.
>>
>> You only have to look at the Lesson to see the problems people have 
>> with the existing procedure.  There are 86 comments on that Lesson. 
>> I've spent days on the Forum helping people out with Android 
>> Studio/LC config problems.
>>
>> https://lessons.livecode.com/m/4069/l/985962-livecode-and-android-stu
>> dio
>>
>> Regards, Bernard
>>
>>
>> >
>> _______________________________________________
>> 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