Software Archive
Read-only legacy content
17061 Discussions

Can't install app built with xdk 1816

Tony_B_
Beginner
539 Views

Good morning,

I built and installed a Crosswalk app using the old xdk 1621 and this worked fine on my Samsung Galaxy S4. Then I upgraded xdk to 1816 and did another crosswalk build with the same app but after I downloaded it to my S4 and tapped "Install" it immediately failed with a message "App not installed". The app is cwk63 here's a link to the apk file  https://www.dropbox.com/s/h51xpv3vddsfv2n/CWK63.crosswalk.arm.20150224111819.apk?dl=0 

0 Kudos
1 Solution
Eric_H_Intel
Employee
539 Views

Tony,

As of Cordova 3.6, the first section of the package name may only contain alphabetic characters (a-z/A-Z).   The current check is based on the Java Package Naming Convention ( http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html ).   

Try the build without  the numbers in the first section of the package name. (ex.  cwk.test63.test)

Eric

View solution in original post

0 Kudos
7 Replies
Tony_B_
Beginner
539 Views

I should add I'm using Win 7 - sorry.

0 Kudos
John_H_Intel2
Employee
539 Views

Your app installed just fine on my S4.

Make sure you dont already have it installed. Not sure if how you are installing it will allow an over install. I used ADB and it installed. Also, I noticed you are using the default APPID, you really should change it to something unique to your app ;)

0 Kudos
PaulF_IntelCorp
Employee
539 Views

This could be related to this issue https://software.intel.com/en-us/forums/topic/541997, where some people are getting incorrect versionCodes in their Crosswalk builds.

0 Kudos
PaulF_IntelCorp
Employee
539 Views

The build servers are being repaired and rebooted to address this issue, should be fixed today.

0 Kudos
Tony_B_
Beginner
539 Views

Thanks for the suggestions, I'll have to hold off on testing this further as I'm having another problem with xdk 1816 that I'm working on with IntelEric, the thread is on the old xdk forum. Basically I can not build new versions of my app, when I try to build it fails immediately with the message below. I'll have to resolve this with Eric first then get back to trying the install again.

Tony

The build failed.
An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
  • The App ID is "cwk63.test.test"
  • The App Name is "CWK63"
  • Crosswalk Version: 10.39.235.15
0 Kudos
Eric_H_Intel
Employee
540 Views

Tony,

As of Cordova 3.6, the first section of the package name may only contain alphabetic characters (a-z/A-Z).   The current check is based on the Java Package Naming Convention ( http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html ).   

Try the build without  the numbers in the first section of the package name. (ex.  cwk.test63.test)

Eric

0 Kudos
Tony_B_
Beginner
539 Views

Thanks to IntelEric the problem has been fixed.

The issue was the name of the AppID, I had successfully been using aaann where aaa was the name of the app and nn was a two digit version number. With xdk 1816 the AppID had to be changed to a 3-part name and numeric digits are not allowed in the first part of the appID. For example I was originally using cwk63 and this had to be changed to cwk.test63.test and this worked.

 

This had two effects:

1) It prevented the build from working at all

2) It prevented me from installing the app.

Both problems are now fixed - thanks Eric.

0 Kudos
Reply