Software Archive
Read-only legacy content
17061 Discussions

parse error when build apk

Shohanur_R_
New Contributor I
814 Views

Hi, after build apk when I have tried to run my app on mobile devices it throws a Parse Error. I tried also crosswalk same result. my intel xdk version is the latest version. my project setting is ok, I did not used any plugin its very simple app.

Please let me know how to resolve the problem.

0 Kudos
13 Replies
Elroy_A_Intel
Employee
814 Views

What version of Cordova CLI are you using? If you are using any version above 5.0.0, I recommend adding an * (asterisk) to the network request field on the Projects panel > Building settings > desired mobile platform and http://* to the intent field. Once you are able to make successful request change the intent field's text to http://my-server.com and any other domain name separated by a comma. 

0 Kudos
Shohanur_R_
New Contributor I
814 Views

Cordova version 5.4.1 my app dont required any internet connection what do mean by change http field.

Thanks 

0 Kudos
Shohanur_R_
New Contributor I
814 Views

I just tested again same problem. My app was not signed is it a reason.

0 Kudos
Shohanur_R_
New Contributor I
814 Views

 

please tell me what I am doing wrong or its another problem.

forum - 01.PNG

0 Kudos
PaulF_IntelCorp
Employee
814 Views

Shohanur -- it is unclear what the problem is. Please provide additional details.

0 Kudos
HENRY_O_
Beginner
814 Views

I have the same issue. this started after upgrading to version 3088. After xdk builds an apk file and i try installing on an android device i get Parse Error.

this happens both when i use a project that worked well in the previous XDK version and when i start a new xdk project (from template/sample and demos).

I have tried re installing xdk but still get the same problem.

0 Kudos
PaulF_IntelCorp
Employee
814 Views

Could you please provide an example of this "parse error" -- it is unclear what this is and when or how you see it. Please provide more details (such as a screenshot).

0 Kudos
Shohanur_R_
New Contributor I
814 Views

The "parse error" is simple when run the apk file on mobile device its just popped up with the error message "parse error".

I think its intel xdk's internal issue, please solve  this as soon is as possible.

0 Kudos
PaulF_IntelCorp
Employee
814 Views

Shohanur -- we've never seen this sort of error or message. You're going to have to provide more details to help us understand what is happening. Can you take a screenshot of the device when you see this error message? Can you provide an app that causes this to happen? I'm sorry, but there's not enough information in your post to help us understand and resolve this issue.

0 Kudos
Shohanur_R_
New Contributor I
814 Views
0 Kudos
PaulF_IntelCorp
Employee
814 Views

Shohanur -- I cannot use that link. Please attach the APK file directly to your post using the "Attach Files to Post" link below the post edit window.

0 Kudos
PaulF_IntelCorp
Employee
814 Views

Shohanur -- is this the problem you are having? > https://software.intel.com/en-us/xdk/faqs/general#android-parse-error

0 Kudos
david_c_11
Beginner
814 Views

has anybody figure out this parse error on my htc m8

0 Kudos
Reply