Cordova/XDK plugin problems

Get help using Construct 2

Post » Thu Nov 03, 2016 1:40 am

After creating a simple test certificate, I was able to build my app to Android. I installed App Preview on my phone and pushed the game build to the server. App Preview gave me two warnings about plugins and not working correctly and then it goes to a dead black page.

Image

Image

Where do I go from here?
B
40
S
18
G
5
Posts: 98
Reputation: 5,651

Post » Thu Nov 03, 2016 5:05 am

In my personal experience I never got Intel XDK's app preview system to work. I always just build my APK and install them on my phone. Takes about 10 minutes.
B
13
S
7
G
1
Posts: 31
Reputation: 1,866

Post » Fri Nov 04, 2016 4:31 am

Sorry, but I'm still having trouble.

I used the download share option and sent it to my phone email address. The emailed file gave me a public link to the following files Zip, ARM, x86, and Log. I downloaded the ARM file which gave me an APK. I was able to install the APK and it gave me an icon for my phone, but when I run it, it gives me the Cordova box robot splash screen and then goes to black. It does nothing.
B
40
S
18
G
5
Posts: 98
Reputation: 5,651

Post » Fri Nov 04, 2016 5:11 am

Matthew de wrote:Sorry, but I'm still having trouble.

I used the download share option and sent it to my phone email address. The emailed file gave me a public link to the following files Zip, ARM, x86, and Log. I downloaded the ARM file which gave me an APK. I was able to install the APK and it gave me an icon for my phone, but when I run it, it gives me the Cordova box robot splash screen and then goes to black. It does nothing.


To me that sounds like a problem with how you either built the app in construct or intel XDK. Can you supply me with a list of steps in point form of what you did from start to finish, with information of your phone? Like which model and such
B
13
S
7
G
1
Posts: 31
Reputation: 1,866

Post » Sat Nov 05, 2016 6:21 am

Construct 2 Release 239
Intel XDK 3641
Samsung Note 5: ARM Kernel Architecture

- The app runs perfectly when played in C2 emulator
- Export from C2 using Cordova
- Export options left as default. Export files to desktop. PNG compression: standard. Minify script through Java (current version).
- Cordova options left as default.
- C2 says that the export was completed without error.

- Import into XDK by opening Intel XDK project through green button on bottom left.
- Certificate was created with bogus test info.
- Build to Android
- Share the completed build file to my phone email.
- All previous attempted files are deleted from my phone.
- Download ARM file with public link.
- The single new file is ********.apk
- Confirmed installation.
- A new Cordova icon was added to my phone desktop.
- Running the app gives me the Cordova splash screen and then a black screen.
B
40
S
18
G
5
Posts: 98
Reputation: 5,651

Post » Wed Nov 09, 2016 8:20 pm

I have still not been able to get the APKs to work on my phone.

I have been testing using HTML5 web access which works well. I find it annoying that the web browser bar remains on the screen and makes my game image smaller.
B
40
S
18
G
5
Posts: 98
Reputation: 5,651

Post » Wed Nov 09, 2016 8:27 pm

Are you using any Cordova plugin in your app?
B
19
S
6
G
2
Posts: 260
Reputation: 2,648

Post » Thu Nov 10, 2016 4:30 am

Not that I know of. I figured that C2 would include any code that was needed to make the plugins work correctly.

I am actually talking about 2 problems in this post. The first problem is regarding making it work through the App Preview and the second is getting the APKs to install correctly on my phone.
B
40
S
18
G
5
Posts: 98
Reputation: 5,651

Post » Thu Nov 10, 2016 10:57 pm

Same problem too!
B
10
S
1
Posts: 49
Reputation: 600


Return to How do I....?

Who is online

Users browsing this forum: batto, bclikesyou, Lancifer and 30 guests