cocoon.io non-debug version gives parser error

Discussion and feedback on Construct 2

Post » Mon Nov 09, 2015 8:41 pm

I am using canvas+ with cocoon.IO , It generated two files one for debug version and other non signed apk. When i deploy it inside my mobile the non-signed.apk does not works and gives parser error , there was a problem parsing the package... the debug version of apk runs fine and install successfully. Secondly it generates only arm version not x86 through cocoon.io compilations..
B
9
S
2
Posts: 108
Reputation: 1,010

Post » Tue Nov 10, 2015 4:01 am

Cocoon doesn't support x86 (which is around 1.5% of tablets). To run your apk, you will have to sign and align it. After you align it, make sure that you don't change the name or anything as that can cause parsing errors. Good luck!
Image
B
12
S
2
Posts: 91
Reputation: 862

Post » Tue Nov 10, 2015 4:02 am

In case you didn't know, this is a good tutorial and a great tool to sign apks: https://shatter-box.com/knowledgebase/a ... pk-signer/
Image
B
12
S
2
Posts: 91
Reputation: 862

Post » Tue Nov 10, 2015 5:52 am

@Big Infinity thanks for your reply , if suppose i would like to support x86 architecture as well but since cocoon speed is very well so i am not interested in XDK, what would you suggest me in order to have both of them? Do i need to build x86 on XDK and arm64 on cocoon.io?
B
9
S
2
Posts: 108
Reputation: 1,010

Post » Wed Nov 11, 2015 2:54 am

I don't know if that would work as I hear that you can't switch between the two on the appstores. The x86 processors are only about 1.5% of devices so I don't mind that cocoon doesn't work on them. For me, performance is most important and canvas+ in cocoon gives me that. If you must export to both then xdk is probably the way you want to go. The best performance xdk export I found was here: http://www.mrchay.com/projects/HTML5toAPK but I could never find out how to lock orientation or get music to play. XDK just turned out to be too much trouble for me to deal with.
Image
B
12
S
2
Posts: 91
Reputation: 862


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests