Trouble building app for Android

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

bmalkows
Posts: 12
Joined: Fri Nov 28, 2014 6:47 am

Re: Trouble building app for Android

Post by bmalkows » Sun Nov 30, 2014 4:53 am

Neil Rocks!

I am having a much better experience with Genymotion in that it works :D

Looks like it was the Android virtual emulator more than anything else.

Great work and thanks again. Now my real journey begins.

Regards,
Bernie

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Trouble building app for Android

Post by LCNeil » Tue Dec 02, 2014 11:33 am

Hi Bernie,

Its great to hear that you are up and running :)

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--

David_Heizer
Posts: 3
Joined: Tue Dec 02, 2014 12:01 pm

Re: Trouble building app for Android

Post by David_Heizer » Tue Dec 02, 2014 12:18 pm

runrevneil wrote:I would highly recommend deleting your current Android SDK installation, and starting fresh as LiveCode 7.0.1 (RC2)
Could you steer me to where to download that version? I've hunted all around the site, and the only version I can find to download is on the main page, v. 7.0.0 Build 10018, which is not working for me.

I'm a newbie just trying to get the "Hello World" app onto my Android; followed every instruction to a "T", but still running into the same "Installation of app failed: Missing APK file" error everyone else is getting.

I was very excited to find that HyperCard has basically been resurrected for the mobile age, and really hope to figure out some way past this roadblock!

Thanks!

bmalkows
Posts: 12
Joined: Fri Nov 28, 2014 6:47 am

Re: Trouble building app for Android

Post by bmalkows » Tue Dec 02, 2014 1:19 pm

Here is where I downloaded mine ...
Attachments
livecode downloads.JPG

David_Heizer
Posts: 3
Joined: Tue Dec 02, 2014 12:01 pm

Re: Trouble building app for Android

Post by David_Heizer » Tue Dec 02, 2014 3:14 pm

bmalkows wrote:I am having a much better experience with Genymotion in that it works :D
Hi, Bernie,

Could I trouble you for how you communicate between LiveCode and the Genymotion VM? I downloaded and installed it, and set up the nearest Android virtual phone to what I have, but it's not showing up as a Test Target. How do you get your LiveCode app to run on your Genymotion emulator?

TIA,
David

bmalkows
Posts: 12
Joined: Fri Nov 28, 2014 6:47 am

Re: Trouble building app for Android

Post by bmalkows » Tue Dec 02, 2014 3:53 pm

Hi David,

I would ensure you can start a default Genymotion virtual device.

Then create a new Main Stack and setup you Android Preferences after which you should see the device to test ...
Attachments
running.jpg
genymotion.JPG

bmalkows
Posts: 12
Joined: Fri Nov 28, 2014 6:47 am

Re: Trouble building app for Android

Post by bmalkows » Wed Dec 03, 2014 4:30 am

Neil,

I played with 7.01 RC in some more detail and I noticed the Edit Script button does not always load (on a simple button "Hello World" example - it just sits there and processes it with the eternal Windows processing halo ...

I tried the Code button in the main menu bard after selecting the Button object with the same results.

The only way to kick it in the head is to use the Project Browser and double mouse click on the numbered blue areas (even right mouse clicking to bring up the context menu does not work). See below - is this a bug in this version?

Thanks, again.
Attachments
edit issue.PNG

David_Heizer
Posts: 3
Joined: Tue Dec 02, 2014 12:01 pm

Re: Trouble building app for Android

Post by David_Heizer » Wed Dec 03, 2014 6:13 am

bmalkows wrote:Here is where I downloaded mine ...
Perfect! There doesn't seem to be any way to navigate to that page from the LiveCode site, so I've bookmarked it. I'll try it at home tonight. Thanks!

ludo
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 72
Joined: Mon Dec 03, 2007 6:10 pm

Re: Trouble building app for Android

Post by ludo » Mon Mar 02, 2015 8:00 pm

Hello,

i reopen this subject for a similar problem :
I've an app for iOS and android.
I've built standalones for both with success (i've an android tablet under android 4.4.2).
But since few weeks, under android my app doesn't show anything. The app seem to work (but i don"t see anything except the native fields, and only i go to an another card) and the answer dialog.
When i quit the app, i show the true colors of the app.
I do not remember what I've changed to get this bug!
On iOS, all is fine (same code). I've only a small portion of code specific to android which copy files to the cache folder the first launch.

I've updated the sdk, livecode doesn't recognize it,
i change the sdk, but my app is still black
i change the version of minimum android system required (from 2.3 to 2.33), it's the same.
I remove the splash screen, nothing change...

What happens ?

Thanks

Post Reply