Stuck > Installing app on target - 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

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Stuck > Installing app on target - Android

Post by bigjinja » Sat Jul 19, 2014 7:56 pm

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

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Stuck > Installing app on target - Android

Post by sefrojones » Sat Jul 19, 2014 8:43 pm

Probably need a bit more info.... What version of LC? What OS?

Welcome to the forums!

--Sefro

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Re: Stuck > Installing app on target - Android

Post by bigjinja » Sat Jul 19, 2014 8:47 pm

Os : Win 8.1
Lc: Community 6.5
R

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Re: Stuck > Installing app on target - Android

Post by bigjinja » Sun Jul 20, 2014 9:21 am

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

keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

Re: Stuck > Installing app on target - Android

Post by keram » Sun Jul 20, 2014 9:42 am

Try without setting any Icon or Splash, just leave these fields empty and see what happens.

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

Re: Stuck > Installing app on target - Android

Post by newtronsols » Sun Jul 20, 2014 12:13 pm

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.

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Re: Stuck > Installing app on target - Android

Post by bigjinja » Sun Jul 20, 2014 4:38 pm

tried that, no icon,no splash page
Differently named icons..
Still has same issue.

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Stuck > Installing app on target - Android

Post by sefrojones » Sun Jul 20, 2014 4:45 pm

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/

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Re: Stuck > Installing app on target - Android

Post by bigjinja » Sun Jul 20, 2014 6:24 pm

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

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Stuck > Installing app on target - Android

Post by sefrojones » Sun Jul 20, 2014 7:12 pm

Try changing the identifier in the android standalone settings.

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Re: Stuck > Installing app on target - Android

Post by bigjinja » Sun Jul 20, 2014 7:51 pm

When i send it to my email and try to install it on the emulator getting error..
Application not installed
appNotInstalled.PNG

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Stuck > Installing app on target - Android

Post by sefrojones » Sun Jul 20, 2014 8:02 pm

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...

bigjinja
Posts: 8
Joined: Sat Jul 19, 2014 7:42 pm

Re: Stuck > Installing app on target - Android

Post by bigjinja » Sun Jul 20, 2014 9:08 pm

Would the identifier stop it compiling properly ? Otherwise it would load when i add download it into the emulator.

sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: Stuck > Installing app on target - Android

Post by sefrojones » Sun Jul 20, 2014 9:34 pm

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......

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

Re: Stuck > Installing app on target - Android

Post by jacque » Sun Jul 20, 2014 10:00 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply