How do I export from construct to apk without xdk

Get help using Construct 2

Post » Mon Mar 27, 2017 7:11 am

I've tried a billion times to export to xdk then try to use my apk on my phone and it keeps giving me an upsupported phone type. I'm trying to have my game work on samsung s7.

Right now it seems to be working on only older phones.

Has anyone had anything similar to this?
B
6
Posts: 3
Reputation: 256

Post » Mon Mar 27, 2017 5:25 pm

try compile in the xdk intel in the crosswalk mode, or... try in cocoon.io.
https://cocoon.io/

Tutorial: https://www.youtube.com/watch?v=3MTjb_Lne44
B
68
S
17
G
2
Posts: 94
Reputation: 4,742

Post » Tue Mar 28, 2017 6:29 am

By default XDK was set to use crosswalk.

I also attempted to use cocoon.io but I kept getting a compile error
COMPILER ERROR:

/workspace/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/workspace/platforms/android/src/org/crosswalk/engine/XWalkWebViewEngine.java:55: error: XWalkWebViewEngine is not abstract and does not override abstract method evaluateJavascript(String,ValueCallback) in CordovaWebViewEngine
public class XWalkWebViewEngine implements CordovaWebViewEngine {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /workspace/platforms/android/src/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
B
6
Posts: 3
Reputation: 256

Post » Tue Mar 28, 2017 7:18 am

I don't know if that will help or not but you could create a package for Intel XDK Bulid tap then use Phonegap from there.
B
24
S
9
G
8
Posts: 49
Reputation: 6,080

Post » Tue Mar 28, 2017 9:10 am

Ahah! Problem solved.

So XDK exported 2 files in the zip one an x86 and the other ARM
The newer phones loooooove ARM and hate x86. Seems by default it was trying to install x86
B
6
Posts: 3
Reputation: 256

Post » Tue Mar 28, 2017 11:29 pm

:)
B
68
S
17
G
2
Posts: 94
Reputation: 4,742

Post » Wed Mar 29, 2017 7:26 pm

I ll just put a follow up question. If there is ARM and x86 and I upload my game in the playstore, how does it know which version is neccesary for the downloading phone?
B
6
S
1
Posts: 40
Reputation: 464


Return to How do I....?

Who is online

Users browsing this forum: Exabot [Bot] and 17 guests