community edition installation

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
anil
Posts: 16
Joined: Sun Apr 14, 2013 4:12 am

community edition installation

Post by anil » Tue Apr 23, 2013 4:04 am

hello there,


1.Simple application don't start in emulator
I tried to compile an application for Android, but would not start. Then I created a stack with a button and an 'answer' as scripts.
I try to test it on the emulator, the application is loaded, but will not start.
In fact starts, but displays a black screen and the application appears to hang. Sometimes trying to return to the Home emulator tells me that the program is not responding.



2.if i am trying to install android (2.3) api 8,i am not able to set path of android sdk.
it is showing pop up----
The chosen folder is not a valid android SDK.please ensure you have installed it correctly.
and enable support for android 2.2(Froyo)
Please reply.....

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: community edition installation

Post by jacque » Tue Apr 23, 2013 4:16 pm

LiveCode apps will open to a black screen in a 2.2 emulator, you need Android 2.3. You can make it work in the 2.2 emulator if you turn off all sensors but it is usually easier to just run 2.3.

Use the Android SDK to install all packages from both 2.2 and 2.3 (and any other versions you want to test.) Create a virtual 2.3 machine and open it. Restart LiveCode. If the LiveCode prefs are pointed to the main Android SDK folder, you do not need to change it, it will work with any Android emulator that is open.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

anil
Posts: 16
Joined: Sun Apr 14, 2013 4:12 am

Re: community edition installation

Post by anil » Wed Apr 24, 2013 5:08 pm

i have tried api 2.3 also.But when i try to install the app.the error it is showing is-----
"Installation of app failed ... Error: Could not access the Package Manager. Is the system running?"
Can anyone tell me the solution,ASAP....

anil
Posts: 16
Joined: Sun Apr 14, 2013 4:12 am

Re: community edition installation

Post by anil » Thu Apr 25, 2013 6:08 am

How to disable sensors in emulator 2.2?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: community edition installation

Post by jacque » Thu Apr 25, 2013 7:17 pm

Did you have the AVD running before you restarted LiveCode? It has to be open and working. Start it up and see if you can use it for some things, like opening a preinstalled app or going to Settings. It will be very slow but you should be able to use it. If you are sure it is working, then start LiveCode and try testing your app. You don't build a standalone for testing. Instead, choose the VM from the Test Target menu and then click "Test" in the toolbar, or choose Test from the development menu.

If you still want to run a 2.2 AVD, then you need to build it without the sensors. If you have already created a 2.2 AVD you can edit it. Open the AVD Manager, select the 2.2 version, click the Edit button, and remove anything that has to do with external sensors. My 2.2 AVD includes only Abstracted LCD density, keyboard support, Max VM application heap size, and orientation support. None of the sensors really work in the emulator anyway so you aren't missing much.

I'd stick with 2.3 though, the similarities are close enough that your app will act the same way as it does in 2.2 in general, and 2.2 has some rendering problems in LiveCode.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply