Android Problems
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Android Problems
I'm running on a Windows 7 Home Professional machine.everything was working fine including the android emulator on the App I m working on.
I got to the point where I could email the .apk file to my phone and install and run it there. Of course there were some issues so I made small incremental changes
to fix some of these problems when all of a sudden I started getting Parser errors when I tried to install on the phone.
I backed up a few steps and tried to run on the emulator and get the same parser problem.
I have no problem compiling for Windows and running on the computer. There are no commands or statements that are not supported on all platforms in the app.
The emulator stopped working at all and so I tried uninstalling the Android SDK's and reinstalling them.
This seemed to help but the emulator hangs up frequently.
I tried to com[pile a simple "hello World" type of stack with a couple entry fields and a multiplication.
It won't compile for the emulator or for a standalone android app.I get a "Could not compile application class error.
Compiles fine for window.
Do I need to reinstall LC? Help Please!
Tom
I got to the point where I could email the .apk file to my phone and install and run it there. Of course there were some issues so I made small incremental changes
to fix some of these problems when all of a sudden I started getting Parser errors when I tried to install on the phone.
I backed up a few steps and tried to run on the emulator and get the same parser problem.
I have no problem compiling for Windows and running on the computer. There are no commands or statements that are not supported on all platforms in the app.
The emulator stopped working at all and so I tried uninstalling the Android SDK's and reinstalling them.
This seemed to help but the emulator hangs up frequently.
I tried to com[pile a simple "hello World" type of stack with a couple entry fields and a multiplication.
It won't compile for the emulator or for a standalone android app.I get a "Could not compile application class error.
Compiles fine for window.
Do I need to reinstall LC? Help Please!
Tom
Re: Android Problems
OK I have worked out most of my problems.
The one remaining is the "Parser Error
When I put an apk file on my phone, I get a box that says
"Parse Error "
"There was a problem parsing the package"
"OK"
Any ideas as to what can cause this error?
tom
The one remaining is the "Parser Error
When I put an apk file on my phone, I get a box that says
"Parse Error "
"There was a problem parsing the package"
"OK"
Any ideas as to what can cause this error?
tom
Re: Android Problems
BTW I loaded everything onto my Macbook Pro with no difference in outcome.
Tom
Tom
Re: Android Problems
Hi Tom,
Are you unable to connect your Android device via USB?
Much faster as it shows up in Development > Test Target
Simon
Are you unable to connect your Android device via USB?
Much faster as it shows up in Development > Test Target
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Android Problems
thanks simon
I wasn't able to connect directly to the phone with Windows, but I have figured it out with the Mac.
Now the phone does show up inthe test target field.
when I try to test it I get a very similar parser error message.
I guess I'll have to build up the app slowly until I figure out what the prob is.
modify/test/modify/test etc.
Tom
I wasn't able to connect directly to the phone with Windows, but I have figured it out with the Mac.

Now the phone does show up inthe test target field.
when I try to test it I get a very similar parser error message.
I guess I'll have to build up the app slowly until I figure out what the prob is.
modify/test/modify/test etc.

Tom
Re: Android Problems
Simon, I don't get the error until the app is being installed to the test target.
In this case the phone. That is to say it goes from building classes, something else (too fast to see on screen) to Preparing Package to Installing app on target device whereupon the error msg "install_parse_failed_manifest_malformed" appears.
The phone is relatively new and the apk file is only ~2.3mb. There is plenty of room on the device.
Tom
In this case the phone. That is to say it goes from building classes, something else (too fast to see on screen) to Preparing Package to Installing app on target device whereupon the error msg "install_parse_failed_manifest_malformed" appears.
The phone is relatively new and the apk file is only ~2.3mb. There is plenty of room on the device.
Tom
Re: Android Problems
Did you read this? http://livecode.wikia.com/wiki/Signing_an_app
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Android Problems
Max, Thanks. I have been able to connect the phone and am working through rebuilding the app.MaxV wrote:Did you read this? http://livecode.wikia.com/wiki/Signing_an_app
I have either fixed the problems that prevented me from building the apk file or I haven't run into the problem yet.
I am nearly back to where I was last week.
I will probably need this info when I distribute to others.
Thanks
-
- Posts: 192
- Joined: Tue Mar 11, 2014 12:57 pm
Re: Android Problems
I think I had a similar problem when I used an icon .ico Needs to be a png.
My latest problem when testing/after installing is:
Unfortunately 'appname' has stopped working:
I am testing going back and fore via a button which uses launch url - but it stops eventually - so i suspect it is similar to a browser cache error, or perhaps my wifi connection?
I have tried:
set the compositorCacheLimit of this stack to 8388608 [8MB] in preopencard ..
Any ideas welcome.
My latest problem when testing/after installing is:
Unfortunately 'appname' has stopped working:
I am testing going back and fore via a button which uses launch url - but it stops eventually - so i suspect it is similar to a browser cache error, or perhaps my wifi connection?
I have tried:
set the compositorCacheLimit of this stack to 8388608 [8MB] in preopencard ..
Any ideas welcome.
