Software Archive
Read-only legacy content
17061 Discussions

Android builds don't get signed since Build 2170

Jailson_B_1
Beginner
1,159 Views

Hi , since Build 2170 my android builds don't work. After a quick look in the debug file, it seems that it is not auto signing anymore. Any help is appreciated. Below see a piece of the debug:

-package-resources:
     [aapt] Creating full resource package...

-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating saco-release-unsigned.apk for release...

-post-package:

-release-prompt-for-password:

-release-nosign:
     [echo] No key.store and key.alias properties found in build.properties.
     [echo] Please sign .../saco/bin/saco-release-unsigned.apk manually
     [echo] and run zipalign from the Android SDK tools.
[propertyfile] Creating new property file: .../saco/bin/build.prop
[propertyfile] Updating property file: .../saco/bin/build.prop
[propertyfile] Updating property file: .../saco/bin/build.prop
[propertyfile] Updating property file: .../saco/bin/build.prop

-release-sign:

-post-build:

release:

BUILD SUCCESSFUL
Total time: 1 minute 8 seconds
Using apk: .../saco/bin/saco-release-unsigned.apk
0 Kudos
4 Replies
PaulF_IntelCorp
Employee
1,159 Views

When you say "don't work" do you mean they don't run or they don't install? If the app is not signed it won't install. If it will install but does not run, that is a different issue.

The build system does the signing after the packaging is done, so the messages you are seeing in the build log are correct. Unfortunately, neither build log, the summary or the detailed, provide any details regarding the signing, so it does appear to be unsigned, according to the log, even though it probably is signed.

Can you build and run a simple sample app?

0 Kudos
Jailson_B_1
Beginner
1,159 Views

Hi Paul,

Sorry. I mean "don't install". I will build and run a simple sample app and I let you know the results.

0 Kudos
Tony_J_
New Contributor I
1,159 Views

hm..  not sure if it's the same problem or not but after build v2170, my Android Cordova builds are not installing anymore, the build goes through successfully, I get the email, click the link, and the install does not happen

0 Kudos
PaulF_IntelCorp
Employee
1,159 Views

I just did a simple test of both Android and Crosswalk for Android builds and I am able to install the apps onto my devices. It's possible there's something about the "Use a secure download link" that's not working for you? If you have the box checked when you send an email to yourself you will have to log into your XDK account before you can download the link. If you clear that box you will not have to login to download the link.

Are you able to log into App Preview with these devices? Just wondering if you're having some login issues. I've confirmed that the build system is definitely creating signed APK files and that they will install onto a device.

Remember, also, that you must have the "allow non-market apps" feature enabled on your device to install apps using this technique.

0 Kudos
Reply