How do I export C2 project using INTEL XDK's new Cordova 6.x

Get help using Construct 2

Post » Wed Jul 26, 2017 5:42 pm

Hello, I just wanted to export a new project and i saw that Intel XDK updated and I can't export like usual ?

I got on the build menu other 'stuff' :
Cordova build package:
.....

i checked this tutorial : https://www.scirra.com/tutorials/9432/h ... rdova#h2a1

And their original tutorial with some code, i've installed Node.js but i need help.

So how can i build my app (Android) with XDK like in the past ?
Thank you :? :D

P,S, i got ADS on my game using Third Party Plugin, Thank you again
B
11
S
3
Posts: 277
Reputation: 1,395

Post » Wed Jul 26, 2017 10:16 pm

@Radulepy

There are some steps missing in that tutorial. Check out this thread.

https://www.scirra.com/forum/viewtopic.php?f=147&t=192454

Now about showing ads in your app, got bad news for you. Adding any ad plugins during apk build will always be problematic, I myself already surrendered to make it work and show ads in my app. Just to let you know about the reality of monetizing app using C2 is impossible as of this moment. Well, if you're able to show it, the question is, how sure are you that the plugin developer is not stealing your ad traffic. Let's hope C3 will be the answer to this issue.
B
47
S
14
G
20
Posts: 87
Reputation: 12,913

Post » Wed Jul 26, 2017 11:05 pm

LaroTaio wrote:@Radulepy

There are some steps missing in that tutorial. Check out this thread.

https://www.scirra.com/forum/viewtopic.php?f=147&t=192454

Now about showing ads in your app, got bad news for you. Adding any ad plugins during apk build will always be problematic, I myself already surrendered to make it work and show ads in my app. Just to let you know about the reality of monetizing app using C2 is impossible as of this moment. Well, if you're able to show it, the question is, how sure are you that the plugin developer is not stealing your ad traffic. Let's hope C3 will be the answer to this issue.


True that, i had some ads before, and i was cool with them, so should i quit adding ads ?
Thank you for the answer, it's like 3 am, i will try tomorrow and come back.

Yep, i'll start learning some new 'classic' programming language becouse C2 in general is now underpower ;))
Good luck & again thank you ! :arrow:
B
11
S
3
Posts: 277
Reputation: 1,395

Post » Wed Jul 26, 2017 11:28 pm

Hi, you can still export your C2 projects to Android. Don't worry. Just do all the steps you did before (export to Cordova, open in Intel XDK, sign your APK and add the exact same plugins you added before, upgrade the App Version Code, etc...). Now, when everything is done, instead of building your game with the Intel XDK, you can retrieve a zip containing all the information needed. After that, sign in in Adobe Phonegap Build (free version allows you to have one project opened at the time) and upload that zip file. Enter your key password and click "rebuild" to be able to download an APK file that you can submit to the Play Store.

To sum it up, you can keep doing the same steps as you did before with the Intel XDK and the only change is that now, you have to build the APK elsewhere (for example Phonegap Build, which has a very very similar build system as Intel's old one).

You should be able to keep using the exact same Plugins that you used before when you exported with Intel XDK, but, why do you use a third party Plugin? What is the advantage over the official Admob Plugin?
B
21
S
6
Posts: 155
Reputation: 1,717

Post » Thu Jul 27, 2017 9:21 am

ChesVCF wrote:Hi, you can still export your C2 projects to Android. Don't worry. Just do all the steps you did before (export to Cordova, open in Intel XDK, sign your APK and add the exact same plugins you added before, upgrade the App Version Code, etc...). Now, when everything is done, instead of building your game with the Intel XDK, you can retrieve a zip containing all the information needed. After that, sign in in Adobe Phonegap Build (free version allows you to have one project opened at the time) and upload that zip file. Enter your key password and click "rebuild" to be able to download an APK file that you can submit to the Play Store.

To sum it up, you can keep doing the same steps as you did before with the Intel XDK and the only change is that now, you have to build the APK elsewhere (for example Phonegap Build, which has a very very similar build system as Intel's old one).

You should be able to keep using the exact same Plugins that you used before when you exported with Intel XDK, but, why do you use a third party Plugin? What is the advantage over the official Admob Plugin?


Hello, i just woke up and i would like to try it with PhoneGap, i remember i've used the 'Third party admob plugin' becouse it was the only one that worked, that time maybe ?

Here is the tutorial : https://www.scirra.com/tutorials/4993/i ... rial-guide

I'll try it now :) maybe will work easily with phonegap
B
11
S
3
Posts: 277
Reputation: 1,395

Post » Fri Jul 28, 2017 11:33 am

Haha this isn't a third party plugin, it's actually the official one that Scirra supports! :lol: I use the same plugin and it works fine with PhoneGap. Hope you succeed with PhoneGap, I was also scared when Intel XDK deprecated its build service, but then I found out it wasn't really that bad. Let me know how you are doing with PhoneGap.

Else: If you don't mind me asking, what RPM do you have on AdMob? My RPM is currently about 0,23€ (=0,27$) using only interstitials, and I was wondering whether I'm the only one with such a bad RPM...
B
21
S
6
Posts: 155
Reputation: 1,717

Post » Fri Jul 28, 2017 3:44 pm

@ChesVCF
my RPM is much lower it's about 18-19 ~kinda...
I didn't succed with the app, i tried PhoneGap but stopped on the key for the store.


I got an idea, maybe if i get an older version of the XDK's it will work like in past? @LaroTaio

I'm right ?
If not, I should then try again with the XDK or PhoneGap, but it's so hard for me... :|
B
11
S
3
Posts: 277
Reputation: 1,395

Post » Fri Jul 28, 2017 10:20 pm

Wow RPMs are really low... Huh.
If you try with an older XDK version it still won't work, as their build service was a cloud service (the "building of the app" actually happened on Intel's servers, which is what they turned off, so there is no way to build with the XDK without their servers :().
What was your problem with PhoneGap? The keystore? I don't understand. It's really not that difficult, trust me. It's almost the same as it was before, just instead of clicking "Build" in the XDK, you download a zip archive, upload it to PhoneGap, enter your keystore's password and click "Rebuild". Let me know if you have any problem and I will help you. The result is the exact same as with the XDK :)
B
21
S
6
Posts: 155
Reputation: 1,717

Post » Fri Jul 28, 2017 11:04 pm

@Radulepy

Good for you that you're able to make admob work on your app. Like I said before you will always encounter problems, especially if you're using free online compiler services such as phonegap build, cocoon and others. Sometimes these free services breaks your app, and worse it will not launch it. That's why you should learn to compile apks in your computer using free open source products. Aside from being free, you are not limited to how many projects and how big the size is, compare that to other free online compilers.

Again like I said before, I don't trust any third party admob plugins during compiling a project for C2. C2 is very terrible with monetization (showing ads). Unless you're able to edit a C2 project in Android Studio and add the official admob integration plugin, then you're 101% sure no one's messing with your ad traffic.

If you'll ask my humble opinion about C2, C2 is a good starting point to make a simple to mid complicated 2D games especially for beginners who want to learn game development , but NOT FOR MONETIZATION. You mentioned earlier about learning good classic programming language, that's a smart move and the only way to go to monetize your app at the same time developing your skill as a game developer to a higher level. I guess I don't need to mention the best game engine to make stunning 2d/3d games, you can figure it out by yourself. The one with the cube logo 8-)
B
47
S
14
G
20
Posts: 87
Reputation: 12,913

Post » Sat Jul 29, 2017 11:35 am

Hello,

This is a video about export .capx file to android via cocoon: https://www.youtube.com/watch?v=qLTmiACDon8, I use it because the ability to create and import Android keystores and iOS signing certificates have been disabled from intel XDK (Maybe this is your problem too) (https://software.intel.com/en-us/forums/intel-xdk/topic/735617)

And this a link to make a keystore file for android: https://developer.android.com/studio/publish/app-signing.html
Try my android Physics game Physi
B
7
S
2
Posts: 33
Reputation: 543

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests