Phonegap Parsing Error Help?

Get help using Construct 2

Post » Wed May 10, 2017 11:34 pm

Hello,
Whenever I upload my phone to phone gap it return with a parsing error when I try to run it on my phone.

I have Signed the APK, and my phone is enabled to allow unknown sources to install APk's.

I have absolutely no clue with as to what to do.
Thanks,
Ian
B
22
S
7
G
1
Posts: 90
Reputation: 2,045

Post » Thu May 11, 2017 6:19 am

IanHarlow wrote:Hello,
Whenever I upload my phone to phone gap it return with a parsing error when I try to run it on my phone.

I have Signed the APK, and my phone is enabled to allow unknown sources to install APk's.

I have absolutely no clue with as to what to do.
Thanks,
Ian


Yes, I had this problem. Since Phonegap automatically generate "X86 APK" and most android phones use "ARM APK" it kind of a big problem. Any how, What you need to do is add this line of code to your Config.xml file:

Code: Select all
<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />


then zip the files, and re-upload it to phonegap. I hope this solve your problem.

Good Luck. :D
B
24
S
9
G
8
Posts: 49
Reputation: 6,040

Post » Fri May 12, 2017 9:19 pm

Thank You for your help,
Ian
B
22
S
7
G
1
Posts: 90
Reputation: 2,045

Post » Tue May 23, 2017 11:01 pm

alajajm wrote:
IanHarlow wrote:Hello,
Whenever I upload my phone to phone gap it return with a parsing error when I try to run it on my phone.

I have Signed the APK, and my phone is enabled to allow unknown sources to install APk's.

I have absolutely no clue with as to what to do.
Thanks,
Ian


Yes, I had this problem. Since Phonegap automatically generate "X86 APK" and most android phones use "ARM APK" it kind of a big problem. Any how, What you need to do is add this line of code to your Config.xml file:

Code: Select all
<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />


then zip the files, and re-upload it to phonegap. I hope this solve your problem.

Good Luck. :D


Many thanks for your tutorials ('_;)

I added the line of code to the xml file, but it showed me the same parsing problem.

Any thoughts on how to fix this?
B
9
Posts: 17
Reputation: 371

Post » Wed May 24, 2017 1:03 am

Anwer wrote:
alajajm wrote:
IanHarlow wrote:Hello,
Whenever I upload my phone to phone gap it return with a parsing error when I try to run it on my phone.

I have Signed the APK, and my phone is enabled to allow unknown sources to install APk's.

I have absolutely no clue with as to what to do.
Thanks,
Ian


Yes, I had this problem. Since Phonegap automatically generate "X86 APK" and most android phones use "ARM APK" it kind of a big problem. Any how, What you need to do is add this line of code to your Config.xml file:

Code: Select all
<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />


then zip the files, and re-upload it to phonegap. I hope this solve your problem.

Good Luck. :D


Many thanks for your tutorials ('_;)

I added the line of code to the xml file, but it showed me the same parsing problem.

Any thoughts on how to fix this?


Here check out this full Phonegap tutorial I made hours ago: https://www.scirra.com/tutorials/9492/build-android-apps-with-phonegap

I hope this will help. :mrgreen:
B
24
S
9
G
8
Posts: 49
Reputation: 6,040

Post » Wed May 24, 2017 7:16 am

Outstanding! Many thanks to you so much
B
9
Posts: 17
Reputation: 371


Return to How do I....?

Who is online

Users browsing this forum: Alvaro2, Hadyurik and 9 guests