can not create apk for android however test works fine
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 31
- Joined: Sat Apr 01, 2017 5:15 pm
can not create apk for android however test works fine
i can goto the test button and deploy to my phone fine and run the app .
however if i goto file menu and make standalone .
once i copy to my phone .
tried , sd card , over usb cable , transfering to cloud .
i always get a dialog saying
App not installed
The package appears to be corrupt
what going on. i would think that if it can build and transfer via test then it should work the other way .
however if i goto file menu and make standalone .
once i copy to my phone .
tried , sd card , over usb cable , transfering to cloud .
i always get a dialog saying
App not installed
The package appears to be corrupt
what going on. i would think that if it can build and transfer via test then it should work the other way .
-
- Posts: 253
- Joined: Wed Aug 19, 2015 4:29 pm
Re: can not create apk for android however test works fine
It's probably something in the android standalone settings. Have you selected "Sign for Development Only" on the signing dropdown? You may also need to change the identifier as well as making sure all the permissions you need are checked.
Re: can not create apk for android however test works fine
Make sure you also uninstall the version that you tried with the "test" option.
Also, what version of LX are you using? There was a glitch with creating android apk in one of the recent dp versions, I think.
Also, what version of LX are you using? There was a glitch with creating android apk in one of the recent dp versions, I think.
-
- Posts: 31
- Joined: Sat Apr 01, 2017 5:15 pm
Re: can not create apk for android however test works fine
I have do not sign selected . is that a problem?
-
- Posts: 253
- Joined: Wed Aug 19, 2015 4:29 pm
Re: can not create apk for android however test works fine
It needs to be signed before it will run. For testing purposes, selecting "Sign for development only" will work. You will need to sign with your own self signed certificate before uploading to the play store.
-
- Posts: 31
- Joined: Sat Apr 01, 2017 5:15 pm
Re: can not create apk for android however test works fine
ClipArtGuy wrote:It needs to be signed before it will run. For testing purposes, selecting "Sign for development only" will work. You will need to sign with your own self signed certificate before uploading to the play store.
thank you . they should include this note on the page giving instructions for getting
android development setup with livecode .
leaving this out caused lots of unnecessary grief .
thank you very much !
Re: can not create apk for android however test works fine
In Android, there is a method to test stacks instead of apps.
1) Create a LiveCode stack with a single button that only opens a stack inside the Documents folder.
You could name this stack as: test.livecode
2) Build a Livecode Android App with this single button stack and select all settings and permissions
available from Livecode Android Standalone Builder. As recommended previously, select
"Sign for development only"
3) Copy the stack named: test.livecode into your Android device's Documents folder
and install your LiveCode Android Apk
4) Run you Android App and click the single button to run the stack: test.livecode
Al
1) Create a LiveCode stack with a single button that only opens a stack inside the Documents folder.
You could name this stack as: test.livecode
2) Build a Livecode Android App with this single button stack and select all settings and permissions
available from Livecode Android Standalone Builder. As recommended previously, select
"Sign for development only"
3) Copy the stack named: test.livecode into your Android device's Documents folder
and install your LiveCode Android Apk
4) Run you Android App and click the single button to run the stack: test.livecode
Al