Page 1 of 2

Stuck > Installing app on target - Android

Posted: Sat Jul 19, 2014 7:56 pm
by bigjinja
Hi

I have a very simple test that i am doing. A button with a message clicked.
When run the test in an emulator , the message box Standalone Builder progress reaches 'Installing app on target device ... and gets stuck.
Each time i have to terminate live code from the task manager.
livecode stuck.JPG
I have tried changing the device but with same results.
From Android Studio i can see the device when i start it AVD

Thoughts, help ?
Thanks
R.B

Re: Stuck > Installing app on target - Android

Posted: Sat Jul 19, 2014 8:43 pm
by sefrojones
Probably need a bit more info.... What version of LC? What OS?

Welcome to the forums!

--Sefro

Re: Stuck > Installing app on target - Android

Posted: Sat Jul 19, 2014 8:47 pm
by bigjinja
Os : Win 8.1
Lc: Community 6.5
R

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 9:21 am
by bigjinja
I tried unstalling the standalone file apk and it did not install on my phone (nexus s) either.

Error message 'App not installed'

Is there something wrong with the settings?here is a screenshot of the emulator and the stand alone file details
savefileANDemulator.png
Thank you
RB

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 9:42 am
by keram
Try without setting any Icon or Splash, just leave these fields empty and see what happens.

keram

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 12:13 pm
by newtronsols
Not sure if it is a problem, but your splash screen file name contains spaces. I did find an obscure ref to say no spaces in the file name for a splash screen but sometimes old forum entries are out-of-date.

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 4:38 pm
by bigjinja
tried that, no icon,no splash page
Differently named icons..
Still has same issue.

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 4:45 pm
by sefrojones
Have you tried changing the identifier?

edit: Also, perhaps you should try with the latest stable version of LC 6.6.2 from here :

http://downloads.livecode.com/livecode/

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 6:24 pm
by bigjinja
I re-installed Android Studio and reconfigured the SDK using the SDK Manager and it worked once!
And now it's doing the same thing, the application gets stuck on 'installing app on target device"
Thanks
R

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 7:12 pm
by sefrojones
Try changing the identifier in the android standalone settings.

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 7:51 pm
by bigjinja
When i send it to my email and try to install it on the emulator getting error..
Application not installed
appNotInstalled.PNG

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 8:02 pm
by sefrojones
If it worked once, it sounds like it's an identifier issue. I had a similar issue last time I was using Windows with LiveCode. Have you tried uninstalling the app from the emulator, or starting with a fresh virtual device? Or maybe renaming the app as well as changing the identifier?

edit: it wouldn't hurt to also update to LC 6.6.2 stable if you haven't already...

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 9:08 pm
by bigjinja
Would the identifier stop it compiling properly ? Otherwise it would load when i add download it into the emulator.

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 9:34 pm
by sefrojones
I believe the identifier can cause conflicts if you have already tested an app with the same identifier on the device. Since it ran once, it doesn't sound like it's failing to compile properly......

Re: Stuck > Installing app on target - Android

Posted: Sun Jul 20, 2014 10:00 pm
by jacque
The app identifier doesn't need to change if it is, in fact, the same app as before. Each app needs its own identifier, but once assigned, the app can retain it. What does need to change is the version number. Increase the number before each new build, or just delete the one already on the device and replace it with the new build. You can't have two versions of the app on the device at the same time.