LC App won't install on Android emulator

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
IanMcK
Posts: 16
Joined: Mon Jul 05, 2010 10:47 am

LC App won't install on Android emulator

Post by IanMcK » Tue Dec 29, 2015 3:14 pm

Hi

I've install the latest version of Android on my system and when testing the app in the emulator API 4.3.3 it gets as far as 'attempting to install app on target device' when the following error occurs:

Installation of app failed: Error: Could not access the Package Manager. Is the system running?

When using emulator 4.0.3 I get the same error with the addition of

rm failed for -f, Read -only file system

Both SDK Manager and AVD Manager are set to run with Administrator privileges by default.
I have Android 2.2 API installed.

I'm using Windows 10 64 bit and have followed all the posts that I can find to get this far. I can't find jdk-8u20-windows-x64 or jdk-8u20-windows-i586.EXE which this post "Android_set_up_enviroment" recommends for 64 bit machines.

Can anyone advise please?

Thanks

For information this is the Android and Java versions I've installed

SDK Root
C:/Program Files (x86)/Android/android-sdk
JDK Path
C:\Program Files\Java\jdk1.8.0_66

SDK manager Revision 24.4.1
Add-on XML Schema #7
Repository Schema #11

All Android Tools Installed (8 items)
Android 4.3.1 API
Android 4.0.3 API
Android 2.3.3 API
Android 2.2 API
All Extras Available have been installed (13 items)

IanMcK
Posts: 16
Joined: Mon Jul 05, 2010 10:47 am

Re: LC App won't install on Android emulator

Post by IanMcK » Wed Jan 06, 2016 5:29 pm

On further research and experimentation it would seem that this is a 'common problem' with android. Apparently it can take some time for the emulator to get up and running fully - in my case about 3 minutes- before a rendered screen appeared (my emulator was always plain black before). I was just too quick. When I test my app now it appears as it should. So it pays to be patient.

Post Reply