Installation Livecode community 8.1.3 and Android 2.3.1

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Mon May 08, 2017 7:31 am

Hi! Everyone,
I'm new to livecode and started to try some basic tutorial and i have problem configure location of android development.
anyone can help me ? appeciate it..
Thanks.. :-)

C:\users\STS\Appdata\local\android\sdk <-- my path to android development sdk


========
Error msg:
========

" the chosen folder is not a valid android sdk..."

Pc spec:
window 7 home premium
livecode community 8.1.3
android studio 2.3.1

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Klaus » Mon May 08, 2017 9:54 am

Hi Deva,

1. welcome to the forum! :D

2. Please check this thread, maybe that will help you:
http://forums.livecode.com/viewtopic.php?f=53&t=29054

And also check other threads in the "Android" forum.


Best

Klaus

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by LiveCode_Panos » Mon May 08, 2017 10:20 am

Hi Deva,

Welcome to the forum.

For Android Development you need to install either Android Studio or just the Android SDK tools.

Unfortunately, the newest versions of both the Android Studio and the SDK tools do not work with LiveCode.

On the good news:

- We will fix this problem shortly.
- You can still use an older version of the SDK tools, which do work as expected. Just follow the instructions of this lesson:

http://lessons.livecode.com/s/lessons/m ... er-on-a-pc

The older versions of Android SDK tools are a bit difficult to be found, but you should be able to download them directly using those links:

(here XX is the version number, e.g. 23 should be fine)

http://dl.google.com/android/repository ... ux_x86.zip
http://dl.google.com/android/repository ... indows.zip
http://dl.google.com/android/repository ... macosx.zip

Since you are developing on Windows, use this link:

http://dl.google.com/android/repository ... indows.zip

Moreover, you can track the progress on making the newest Android Studio to work with LiveCode in this bug report:

http://quality.livecode.com/show_bug.cgi?id=19509

Best regards,
Panos

Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Tue May 09, 2017 7:29 am

Hi! LiveCode_Panos, Klaus

Thank you for the link you send me. :-) This give me some idea how the livecode and android installation works on windows.

As suggested by panos, i did try install the old version of Android SDK but have problem during install the package
with error message "Package android tv intel x86 atom system image. android API 25, revision 3' depends on missing sdk platform android, API 25"

How to install the missing SDK platform android, API 25?

Thanks.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by LiveCode_Panos » Tue May 09, 2017 9:50 am

Hi Deva,

You can install additional packages using the SDK Manager:

Inside the sdk/tools/lib folder you will find the files "AVD Manager.exe" and "SDK Manager.exe". Copy these files and place them in the sdk folder.

So then launch the Android SDK Manager and select the packages you would like to install in your Android development environment.

Note that LiveCode requires the Android 4.0.3 (API 15) Package to be installed. Select Android 4.0.3 (API 15) in the list and click the Install button to install the package.

Best,
Panos
--

Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Tue May 09, 2017 1:16 pm

Hi! Panos,

I did run the sdk manager and selected the android 4.0.3 to install the package but when i click install it goes to another dialog box to asking me to agree on the android license after selected agree the install button still disable.


Description or message saying:
"Package android tv intel x86 atom system image. android API 25, revision 3' depends on missing sdk platform android, API 25
:|

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by LiveCode_Panos » Tue May 09, 2017 3:02 pm

Hi Deva,

If the "Install" button is still disabled, it means that there are more licenses you have to "Accept".

Once you accept all licenses, you should see **only** green ticks in the left pane (and not red Xs).

See screenshots:

Not accepted all licenses:
Screen Shot 2017-05-09 at 14.56.33.png
After accepting all licenses:
Screen Shot 2017-05-09 at 14.56.51.png
Hope this helps,
Panos
--

Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Thu May 11, 2017 4:49 am

Hi! Panos,

Thanks for reply so quickly, apperciate it..
Yes, i did run the SDK Manager and agree all the license but it still not install with
grey colour [install] button disable.

as for now im still using LVC 8.1.3 with Android SDK R23 (I uninstall android 2.3.1)

any help or suggestion is appreciate ..
2.png
button disable
1.png
log when run sdk manager

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by SparkOut » Thu May 11, 2017 6:42 am

The last line (in the actual app window, not the list field) shows an error which is why the button is disabled. Deselect the Android TV Intel x86 Atom System Image and see if it lets you install then.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by richmond62 » Thu May 11, 2017 11:27 am

Thank you such a lot for this: this explains
why I made such a bosh trying to set up for Android a few weeks ago.

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by SparkOut » Thu May 11, 2017 12:10 pm

Nae borra Richmond

Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Fri May 12, 2017 1:52 am

hi! Sparkout,

Thanks for the infor, it seem not all the default package will be allowed to install i guess unless you reject it. for my case i uncheck the 25 API from the package then the install button is enable. now still trying to download the android 4.0.3 as it was interrupted few time, will update if everthing goes smoothly...

sorry for the long post guys.. im complete beginner.. :D

Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Sun May 21, 2017 3:16 am

Hi! Guys , just want to update you guys that now my installation is okay now and started build simple Praise and Worship song with lyric using ;

============================
Livecode community 8.1.3
Android sdk tools 24.4.1
Android sdk platform-tools 23.0.1
Android 4.0.3 (API 15) ==> still downloading some package
Windows 7 Home Premium 32bit

=========================================================

Question: i have some problem with the program im doin now, i have created a button goin to next card but even i click the background i still can go to next card. Anybody can help me or can give me link to solve this. appreciate it very much . thanks...
Thanks. :wink:

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Klaus » Sun May 21, 2017 5:22 pm

Hi Deva,
Deva wrote:...
Question: i have some problem with the program im doin now, i have created a button goin to next card but even i click the background i still can go to next card. Anybody can help me or can give me link to solve this. appreciate it very much . thanks...
hm, sure there is no other "mouseup" handler somewhere on your card?
Maybe a group or the card script or the stack script?
Otherwise this should not happen.

Best

Klaus

Deva
Posts: 7
Joined: Mon May 08, 2017 4:42 am

Re: Installation Livecode community 8.1.3 and Android 2.3.1

Post by Deva » Fri May 26, 2017 1:48 am

Hi!Klaus :) ,

Thanks for the quick klaus reply, appreciate it, i think you're right .. :lol: i dont how i can add handler inside the stack card :wink:
now its working, im closer to develop my first simple android software.

Dave.

Post Reply