App is blank in emulator

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
magicmike
Posts: 5
Joined: Thu Aug 01, 2013 4:40 pm

App is blank in emulator

Post by magicmike » Thu Aug 01, 2013 4:49 pm

When I deploy my app to the Android emulator, the screen is blank. How do I fix this?

I am trying out deployment to an Android for the first time. Installed the JDK, Android dev environment as per this page: (I'm not allowed to post links on this forum).

This all seems to work fine. The emulator shows up, I can target it, and pressing the "Test" button deploys the app to the emulator. When I click the home screen in the emulator, I can see the app listed with all the other apps. The app itself is just a button which outputs "Hello World" to a text Entry Field just below it.

Problem is, when I click on the app to open it, it is blank. Nothing happens. Very frustrating.

Environment: All the latest versions. I downloaded it all yesterday and today.
Win 7 64 Bit, LiveCode 6-1-1-rc-1.
Build targets Android Froyo (2.2) or higher.
Android VM is 2.2 (API level 8 ), Nexus 2.7" screen.

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

Re: App is blank in emulator

Post by LCNeil » Thu Aug 01, 2013 5:20 pm

Dear MagicMike,

Thank you for your request.

There is a bug with version 2.2 of the Android emulator that causes a black screen to be displayed when a stack is deployed to it.

This issue is mentioned in the following lesson-

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

The easiest solution is to create an AVD of 2.3 or higher. Your stacks should then deploy to this new AVD without any issues.

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--

magicmike
Posts: 5
Joined: Thu Aug 01, 2013 4:40 pm

Re: App is blank in emulator

Post by magicmike » Thu Aug 01, 2013 5:41 pm

Thanks, that worked. The link to those tutorials is useful too - did not know about that. Now I need to work on getting some better icons :)

Post Reply