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

0 favourites
  • 11 posts
From the Asset Store
With this template you will learn how to use the GooglePlay Games native plugin
  • 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 <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused"> <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    P,S, i got ADS on my game using Third Party Plugin, Thank you again

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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 !

  • 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?

  • 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 <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> maybe will work easily with phonegap

  • Haha this isn't a third party plugin, it's actually the official one that Scirra supports! 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...

  • 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...

  • 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

  • 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

  • Hello,

    This is a video about export .capx file to android via cocoon:

    , 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

  • LaroTaio

    You are right ! About C2 and everything...

    I'll start learning this year, thank you for your help!

    ChesVCF

    Thank you mate, i'll try it again when i'll have some free time

    Meqara

    Thank you everyone, i'll come back when i'll finish with it :>

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)