apk finalization failed
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 3
- Joined: Wed Jun 01, 2016 4:22 pm
apk finalization failed
Whenever i try to compile my android app, it gives me this error apk finalization failed.
i am using livecode 8.1.0 dp 1 on a mac running os x 10.8.5. my build tools are 19.1.0. Help?
i am using livecode 8.1.0 dp 1 on a mac running os x 10.8.5. my build tools are 19.1.0. Help?
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: apk finalization failed
hi danieljensen9 and welcome to the forum!
Check out this thread from 2014 where they also had the "apk finalization failed" error message http://forums.livecode.com/viewtopic.php?f=53&t=21373
Check out this thread from 2014 where they also had the "apk finalization failed" error message http://forums.livecode.com/viewtopic.php?f=53&t=21373
"...this is not the code you are looking for..."
Re: apk finalization failed
Hey guys
I've recently compiled a (very simple) ratings app on Livecode 8.0 and deployed it to Android (on a Windows 10 PC). Upon deployment, no errors arose - however, the app does not load on either the AVD emulator or an android device.
I've looked through the links and video provided on this thread.
I've made sure to provide the locations of the Android SDK and Java JDK roots under 'Mobile Support' in preferences
If I try to load it in the emulator, it does not recognize the app. If I try to open it on my android device, it states that it is "installing...", and then it states that the installation failed.
I've set the device (a Galazy Note 1) on developer mode, played with all the sign in options during the standalone settings (i.e., do not sign, sign for dev only...) but still no dice.
Thanks so much!
I've recently compiled a (very simple) ratings app on Livecode 8.0 and deployed it to Android (on a Windows 10 PC). Upon deployment, no errors arose - however, the app does not load on either the AVD emulator or an android device.
I've looked through the links and video provided on this thread.
I've made sure to provide the locations of the Android SDK and Java JDK roots under 'Mobile Support' in preferences
If I try to load it in the emulator, it does not recognize the app. If I try to open it on my android device, it states that it is "installing...", and then it states that the installation failed.
I've set the device (a Galazy Note 1) on developer mode, played with all the sign in options during the standalone settings (i.e., do not sign, sign for dev only...) but still no dice.
Thanks so much!
-
- Posts: 3
- Joined: Wed Jun 01, 2016 4:22 pm
Re: apk finalization failed
I have seen this before and it has not worked.
i might need a more detailed explination.
a few days ago i downgraded my build tools to 19.10 because livecode needed build tools under 21 and it worked until yesterday
dave.kilroy wrote:hi danieljensen9 and welcome to the forum!
Check out this thread from 2014 where they also had the "apk finalization failed" error message http://forums.livecode.com/viewtopic.php?f=53&t=21373
i might need a more detailed explination.
a few days ago i downgraded my build tools to 19.10 because livecode needed build tools under 21 and it worked until yesterday
-
- Posts: 3
- Joined: Wed Jun 01, 2016 4:22 pm
Update : just stack problem
i tried compiling my other stack and it worked
it is probay just my stack
it is probay just my stack
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: apk finalization failed
daniel yep it probably IS your stack - but it also is likely to be your dev setup for Android! Everything needs to be just so, and if it isn't then sometimes its really hard to figure out what is going on. You've used a good technique in trying another stack to make sure its not your dev setup (I have several old 'hello-world' stacks I use to rule out my dev environment).
Also, turning it off and on again often does make a difference!
micamd what you describe makes me suspicious it is something in your dev environment - if you use a 'hello-world' stack does it appear on your device?
Dave
Also, turning it off and on again often does make a difference!
micamd what you describe makes me suspicious it is something in your dev environment - if you use a 'hello-world' stack does it appear on your device?
Dave
"...this is not the code you are looking for..."
Re: apk finalization failed
You were right about it being an issue with the dev environment.
I deleted android studio and re-installed just the SDK manager, and the app is compiling. Thanks!
I deleted android studio and re-installed just the SDK manager, and the app is compiling. Thanks!
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: apk finalization failed
@micamd yeah it's a pain in the a** - at least now you know how fragile it is and to always be suspicious of it - which will therefore leave you more free to get on with other things...
"...this is not the code you are looking for..."