Common Android Deployment issues
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Common Android Deployment issues
The ARM is still useless slow. So when the 901DP1 will be ready it will support the x86. Then you can use the x86 Android emulator which is really fast.
Meep Meep....pyaaaaauuung
Meep Meep....pyaaaaauuung
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Common Android Deployment issues
That's good news. (You mean 9.0.2, right?) Then I can test on devices I don't own. Yay!
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Common Android Deployment issues
No sorry 9.1.0DP1--i mixed up the 1 and 0 https://github.com/livecode/livecode-ide/milestone/97 seems almost ready
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Common Android Deployment issues
I'm new to Android development but not new to LiveCode. I am absolutely stumped (and rather annoyed) by how difficult it is to set up the Android SDK and get LiveCode to recognise it. Basically, I have utterly failed to do it.
I have a support contract so I can get help, which I will do if I must – but it's Friday evening now so I presume that help wouldn't be available for a while. Anyway, I just want to find some instructions that are simple, clear and up-to-date! Does this exist?
LiveCode 9.0.2
Mac OS X 10.14 (Mojave)
k
I have a support contract so I can get help, which I will do if I must – but it's Friday evening now so I presume that help wouldn't be available for a while. Anyway, I just want to find some instructions that are simple, clear and up-to-date! Does this exist?
LiveCode 9.0.2
Mac OS X 10.14 (Mojave)
k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: Common Android Deployment issues
Sorry
I never found such a jewel. If you do please share...I just want to find some instructions that are simple, clear and up-to-date! Does this exist?
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Common Android Deployment issues
Now I feel like I'm being trolled. In the https://livecode.com/resources/support/ page, down in the Setup section, there are four items: Download LiveCode, Activating LiveCode, iOS Setup, and Android Setup. Each has its own button designed, I presume, to take the user to the appropriate part of the site. Except...
The buttons for Activating LiveCode, iOS Setup, and Android Setup all point to https://livecode.com/download – which is where I can see my current LC licenses and download installers. It is NOT where any of the promised instructions are. I don't even know if those destinations even exist!
The buttons for Activating LiveCode, iOS Setup, and Android Setup all point to https://livecode.com/download – which is where I can see my current LC licenses and download installers. It is NOT where any of the promised instructions are. I don't even know if those destinations even exist!
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Common Android Deployment issues
THANK YOU Klaus!
That page did help me get everything set up. I am deeply grateful.
Right, time for me to try Android!
EDIT: I spoke too soon:
"There was an error while saving the standalone application
could not compile service support class"
That page did help me get everything set up. I am deeply grateful.
Right, time for me to try Android!
EDIT: I spoke too soon:
"There was an error while saving the standalone application
could not compile service support class"
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: Common Android Deployment issues
I don't develop for mobile, don't even own any cellphone or tablet, but maybe this helps:
search.php?keywords=could+not+compile+s ... port+class
search.php?keywords=could+not+compile+s ... port+class
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Common Android Deployment issues
It helped very much, thanks.
The problem turned out to be what someone else in one of those threads experienced: an incomplete removal of a newer Java install in /Library/Java/JavaVirtualMachines. LiveCode's automatic finding of the JDK path had picked up the newer one. Once I deleted that and re-picked the Android SDK the JDK path was remade to the correct one.
Phew! I've now built a test .apk successfully. I am DEEPLY grateful Klaus, and I hope others find it helpful too.
k
The problem turned out to be what someone else in one of those threads experienced: an incomplete removal of a newer Java install in /Library/Java/JavaVirtualMachines. LiveCode's automatic finding of the JDK path had picked up the newer one. Once I deleted that and re-picked the Android SDK the JDK path was remade to the correct one.
Phew! I've now built a test .apk successfully. I am DEEPLY grateful Klaus, and I hope others find it helpful too.
k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- Posts: 641
- Joined: Tue Jul 29, 2014 12:52 am
- Location: Brazil
Re: Common Android Deployment issues
Hi Keith I want to apologize if it was my answer that made you "feel being trolled".
My answer was a consequence of my frustration with the lack of good documentation regarding Android installation. It took me several interactions (and I don't know how to reproduce the path) to get it working, as a matter of fact I still can't test on the Android simulators, just on real devices.
Regards
My answer was a consequence of my frustration with the lack of good documentation regarding Android installation. It took me several interactions (and I don't know how to reproduce the path) to get it working, as a matter of fact I still can't test on the Android simulators, just on real devices.
Regards
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: Common Android Deployment issues
I don't think he was referring to your answer Simon. From his post, I think he feels the 'trolling' is due to the way the various links he lists all point to the same page, which wasn't helpful (modified quote from Keith)simon.schvartzman wrote: ↑Sun Feb 17, 2019 1:18 pmHi Keith I want to apologize if it was my answer that made you "feel being trolled".
thatkeith wrote: ↑Fri Feb 15, 2019 9:20 pmNow I feel like I'm being trolled. In the https://livecode.com/resources/support/ page, down in the Setup section, there are four items: Download LiveCode, Activating LiveCode, iOS Setup, and Android Setup. Each has its own button designed, I presume, to take the user to the appropriate part of the site. Except...
The buttons for Activating LiveCode, iOS Setup, and Android Setup all point to https://livecode.com/download –
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Common Android Deployment issues
simon.schvartzman wrote: ↑Sun Feb 17, 2019 1:18 pmHi Keith I want to apologize if it was my answer that made you "feel being trolled".
Absolutely right Bogs!
Simon, it was purely the frustrating experience of having paths consistently lead me to dead ends that felt like trolling, not your input at all.
I'm delighted to see the incorrect links have been fixed. Thank you to whoever implemented that.
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: Common Android Deployment issues
Somewhere I think I read that getting Android setup w/Livecode would either be easy or the most frustrating thing in the world.... I'm in the latter boat.
LC 9.6.6 (RC-1) & 9.6.5; Big Sur 16.2, Android Studio (Arctic Fox 2020.3.1 Patch 4), JDK jdk-8u311-macosx-x64
I've followed (I think) all the various instructions (see below) and still have no joy.
In the Mobile Support pain (no pun intended)... I can set the Android SDK path without errors BUT I get no JDK entry and... I can't for the life of me figure out what I'm doing wrong.
As an interesting side note... I can open a simulator from Android Studio and Livecode sees it as a test platform and loads the app and it "works".
I just don't see the JDK entry.
I'm tempted to not care but I'm afraid it will bite me later on...
If this is the best course of action... I'm all for it... on to the next things.
-------------
My next issues will be why fullscreen effects are not working in the simulator, why there seem to be random "clicks" happening (it's like mouseEnter is triggering a mouseUp) and why I can't connect to a physical device I have for testing,
-------------
1) Installed Android Studio (Arctic Fox 2020.3.1 Patch 4)
2) Selected SDK Platforms (based on Klaus post recommendation from November '21)
Android API 32 >Android SDK Platform 32
Android 12.0 (S)>Android SDK Platform 31
>Sources for Android 31
Android 11.0 (R) >Android SDK Platform 30
>Sources for Android 30
>Google APIs Intel x86 Atom System Image
Android 10.0 (Q) >Android SDK Platform 29
>Sources for Android 29
>Google APIs Intel x86 Atom System Image
3) Selected SDK Tools as follows:
Android SDK Build-Tools 32> 32.0.0
> 31.0.0
> 30.0.3
> 29.0.3
> 28.0.3
> 27.0.3
> 26.0.3
4) Installed Java 8 using jdk-8u311-macosx-x64.dmg
LC 9.6.6 (RC-1) & 9.6.5; Big Sur 16.2, Android Studio (Arctic Fox 2020.3.1 Patch 4), JDK jdk-8u311-macosx-x64
I've followed (I think) all the various instructions (see below) and still have no joy.
In the Mobile Support pain (no pun intended)... I can set the Android SDK path without errors BUT I get no JDK entry and... I can't for the life of me figure out what I'm doing wrong.
As an interesting side note... I can open a simulator from Android Studio and Livecode sees it as a test platform and loads the app and it "works".
I just don't see the JDK entry.
I'm tempted to not care but I'm afraid it will bite me later on...
If this is the best course of action... I'm all for it... on to the next things.
-------------
My next issues will be why fullscreen effects are not working in the simulator, why there seem to be random "clicks" happening (it's like mouseEnter is triggering a mouseUp) and why I can't connect to a physical device I have for testing,
-------------
1) Installed Android Studio (Arctic Fox 2020.3.1 Patch 4)
2) Selected SDK Platforms (based on Klaus post recommendation from November '21)
Android API 32 >Android SDK Platform 32
Android 12.0 (S)>Android SDK Platform 31
>Sources for Android 31
Android 11.0 (R) >Android SDK Platform 30
>Sources for Android 30
>Google APIs Intel x86 Atom System Image
Android 10.0 (Q) >Android SDK Platform 29
>Sources for Android 29
>Google APIs Intel x86 Atom System Image
3) Selected SDK Tools as follows:
Android SDK Build-Tools 32> 32.0.0
> 31.0.0
> 30.0.3
> 29.0.3
> 28.0.3
> 27.0.3
> 26.0.3
4) Installed Java 8 using jdk-8u311-macosx-x64.dmg