New Intel XDK version released

Discussion and feedback on Construct 2

Post » Thu Mar 31, 2016 9:30 pm

Message: xmnboy can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
olkina wrote:I've upgraded the Intel XDK for the new version and I can't get valid app during the build. I've tried to build 3 different Android projects:
- my old project that was build well before the upgrade
- new Intel XDK project old Cordova export
- "new Intel XDK project format"

When I build any of the projects signed I get "App not installed" error, when I build them not signed I even can't install them, I get "Parse error There was a problem parsing the package"

What can be the problem?


@olkina -- There was a change in the way the versionCode is calculated on Android builds when going from CLI 4.1.2 to CLI 5.x. This is a Cordova change, not an XDK change. There is an article describing it here (search for "intel xdk version code problems").

Did you try uninstalling the prior version of the app on your device and then install?

Another issue could be due to the fact that on some older devices (mostly Android 4.0-4.2) there is a problem that these devices cannot read the signature being applied with our new build system. That is being worked on, but that could also be the source of the problem. There is an FAQ regarding this issue located here:

https://software.intel.com/en-us/forums / intel-xdk/topic/622990

NOTE: Remove the extra spaces between forums and intel in the URL above to get the complete URL. I don't have enough points to post a URL.
Intel Corporation
B
13
S
3
Posts: 79
Reputation: 925

Post » Fri Apr 01, 2016 12:49 am

@xmnboy
Thank you so much
B
82
S
32
G
7
Posts: 281
Reputation: 10,685

Post » Fri Apr 01, 2016 12:56 am

@xmnboy This is not really a XDK issue, is more of a plugin problem, but how do i fix this error? Error: more than one library with package name 'com.google.android.gms'
My project uses 2 plugins that are using 2 versions of GooglePlayServices, If I remove one version , the other plugin is not working and the other way around, so I must use both versions somehow.
The error also say this: "You can temporarily disable this error with android.enforceUniquePackageName=false
However, this is temporary and will be enforced in 1.0"
But where to write this flag and what does 1.0 mean?
B
81
S
21
G
23
Posts: 515
Reputation: 18,702

Post » Fri Apr 01, 2016 1:43 pm

Also, A lot of times i get this error
com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
B
81
S
21
G
23
Posts: 515
Reputation: 18,702

Post » Fri Apr 01, 2016 3:17 pm

I just released r226 which has a few fixes for the new Intel XDK project format, so if you had trouble before please try again with it!
Scirra Founder
B
397
S
236
G
88
Posts: 24,389
Reputation: 194,448

Post » Fri Apr 01, 2016 3:36 pm

Ashley wrote:I just released r226 which has a few fixes for the new Intel XDK project format, so if you had trouble before please try again with it!


Is it already fix c2 admob plugin yet ?
B
15
S
5
G
3
Posts: 72
Reputation: 2,645

Post » Fri Apr 01, 2016 6:09 pm

@zeroflag -- issues with plugins are independent of the new export format.

ALL -- Plugins are JavaScript API extensions that you can add to your app to get access to platform features that you would not otherwise have access to in the device webview (embedded browser) environment that your app runs in when you build an XDK (aka Cordova) application.

Plugins are created by third-parties; the authors of these plugins have varying degrees of skill. Some do a better job than others at keeping up with the changes in the Apache Cordova project and/or testing their plugins. The Cordova project has gone through a lot of changes in the past year, which is reflected in some of the difficulties that developers are experiencing with this latest release of the XDK.

Several have asked to go back to the CLI 4.1.2 build system. Unfortunately, that is not a viable solution because:
  • most current plugins will not work with that now outdated build system
  • that build system produces insecure apps that Google will not allow into their store
  • there is no more active work on that version of the Cordova project (no more fixes to issues)
Intel Corporation
B
13
S
3
Posts: 79
Reputation: 925

Post » Fri Apr 01, 2016 6:11 pm

Cipriux wrote:Also, A lot of times i get this error
com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;


@Cipriux -- please post these issues on the Intel XDK forum, where there are more people available to help with the issue you're experiencing and you may find it has already been posted.
Intel Corporation
B
13
S
3
Posts: 79
Reputation: 925

Post » Fri Apr 01, 2016 6:14 pm

Cipriux wrote:@xmnboy This is not really a XDK issue, is more of a plugin problem, but how do i fix this error? Error: more than one library with package name 'com.google.android.gms'
My project uses 2 plugins that are using 2 versions of GooglePlayServices, If I remove one version , the other plugin is not working and the other way around, so I must use both versions somehow.
The error also say this: "You can temporarily disable this error with android.enforceUniquePackageName=false
However, this is temporary and will be enforced in 1.0"
But where to write this flag and what does 1.0 mean?


@Cipriux -- yes, this is a plugin conflict issue. Will have to investigate to see if there is a way to pass in the "android.enforceUniquePackageName=false" option to the build system. Please post this on the Intel XDK forum where we can handle it and provide any solutions or workarounds to others.
Intel Corporation
B
13
S
3
Posts: 79
Reputation: 925

Post » Fri Apr 01, 2016 6:28 pm

@xmnboy - I have a question regarding the crosswalk + android build. When I open my game on my Android Phone (Android Kitkat or Android Lolipop versions and etc.) a white rectangle bar appears for a second on splashscreen disappearance(end of splashscreen). It's been happening now and before. Did you notice this and are you working on this?
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
65
S
21
G
90
Posts: 1,124
Reputation: 59,852

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: WealthyKing and 7 guests