Cipriux's Forum Posts

  • luckyrawatlucky Can you share the IntelXDK project with which you had success? I just want to open it in IntelXDK and build to see for myself.

  • I'm looking at this plugin which has no demo. https://github.com/Cipriux/cordova-plugin

    Is this the same that you are using?

  • thanks. the demo project from github?

  • you are using cranberrygame plugin or the official appodeal ?

  • luckyrawatlucky can you make a short video with how you fixed. i don't understand exactly your steps

  • xmnboy I don't understand since in the Build tab I only selected the Android square.

  • xmnboy I inderstand it is all complicated to figure out. I posted an empty project with only Appodeal GooglePlayServices plugin. I think is the Appodeal plugin the issue, but the build code say error code 0 when installing it.

    Please have a look

    Calling plugman.fetch on plugin ".../cachedPlugins.w1sz4b.tmp/cache.40mo1D.pl/cordova-plugin-device"
    Copying plugin ".../cachedPlugins.w1sz4b.tmp/cache.40mo1D.pl/cordova-plugin-device" => ".../_A_podeal/plugins/cordova-plugin-device"
    Calling plugman.install on plugin ".../_A_podeal/plugins/cordova-plugin-device" for platform "android
    Installing "cordova-plugin-device" for android
    Running command: .../_A_podeal/platforms/android/cordova/version 
    Command finished with error code 0: .../_A_podeal/platforms/android/cordova/version 
    Install start for "cordova-plugin-device" on android.
    Install complete for cordova-plugin-device on android.
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    Calling plugman.fetch on plugin ".../cachedPlugins.w1sz4b.tmp/cache.gD_HD2.pl/cordova-plugin-splashscreen"
    Copying plugin ".../cachedPlugins.w1sz4b.tmp/cache.gD_HD2.pl/cordova-plugin-splashscreen" => ".../_A_podeal/plugins/cordova-plugin-splashscreen"
    Calling plugman.install on plugin ".../_A_podeal/plugins/cordova-plugin-splashscreen" for platform "android
    Installing "cordova-plugin-splashscreen" for android
    Running command: .../_A_podeal/platforms/android/cordova/version 
    Command finished with error code 0: .../_A_podeal/platforms/android/cordova/version 
    Install start for "cordova-plugin-splashscreen" on android.
    Install complete for cordova-plugin-splashscreen on android.
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    Calling plugman.fetch on plugin ".../cachedPlugins.w1sz4b.tmp/cache.twpqFE.pl/com.appodeal.googleplayservices"
    Copying plugin ".../cachedPlugins.w1sz4b.tmp/cache.twpqFE.pl/com.appodeal.googleplayservices" => ".../_A_podeal/plugins/com.appodeal.googleplayservices"
    Calling plugman.install on plugin ".../_A_podeal/plugins/com.appodeal.googleplayservices" for platform "android
    Installing "com.appodeal.googleplayservices" for android
    Running command: .../_A_podeal/platforms/android/cordova/version 
    Command finished with error code 0: .../_A_podeal/platforms/android/cordova/version 
    Install start for "com.appodeal.googleplayservices" on android.
    Install complete for com.appodeal.googleplayservices on android.
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    Calling plugman.fetch on plugin ".../cachedPlugins.w1sz4b.tmp/cache.mxQkcw.pl/com.appodeal.plugin"
    Copying plugin ".../cachedPlugins.w1sz4b.tmp/cache.mxQkcw.pl/com.appodeal.plugin" => ".../_A_podeal/plugins/com.appodeal.plugin"
    Calling plugman.install on plugin ".../_A_podeal/plugins/com.appodeal.plugin" for platform "android
    Installing "com.appodeal.plugin" for android
    Running command: .../_A_podeal/platforms/android/cordova/version 
    Command finished with error code 0: .../_A_podeal/platforms/android/cordova/version 
    Install start for "com.appodeal.plugin" on android.
    Install complete for com.appodeal.plugin on android.
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    Calling plugman.fetch on plugin ".../cachedPlugins.w1sz4b.tmp/cache.ZdrA43.pl/cordova-plugin-whitelist"
    Copying plugin ".../cachedPlugins.w1sz4b.tmp/cache.ZdrA43.pl/cordova-plugin-whitelist" => ".../_A_podeal/plugins/cordova-plugin-whitelist"
    Calling plugman.install on plugin ".../_A_podeal/plugins/cordova-plugin-whitelist" for platform "android
    Installing "cordova-plugin-whitelist" for android
    Running command: .../_A_podeal/platforms/android/cordova/version 
    Command finished with error code 0: .../_A_podeal/platforms/android/cordova/version 
    Install start for "cordova-plugin-whitelist" on android.
    Install complete for cordova-plugin-whitelist on android.
    
                   This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
              
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    Calling plugman.fetch on plugin ".../cachedPlugins.w1sz4b.tmp/cache.HWuPCT.pl/cordova-plugin-crosswalk-webview"
    Copying plugin ".../cachedPlugins.w1sz4b.tmp/cache.HWuPCT.pl/cordova-plugin-crosswalk-webview" => ".../_A_podeal/plugins/cordova-plugin-crosswalk-webview"
    Calling plugman.install on plugin ".../_A_podeal/plugins/cordova-plugin-crosswalk-webview" for platform "android
    Installing "cordova-plugin-crosswalk-webview" for android
    Running command: .../_A_podeal/platforms/android/cordova/version 
    Command finished with error code 0: .../_A_podeal/platforms/android/cordova/version 
    Install start for "cordova-plugin-crosswalk-webview" on android.
    Install complete for cordova-plugin-crosswalk-webview on android.
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    Searching PlatformJson files for differences between project vs. platform installed plugins
    No differences found between project and android platform. Continuing...
    Generating config.xml from defaults for platform "android"
    Wrote out Android application name to "_A_podeal"
    Wrote out Android package name to "com.synapseone.test3"
    This app does not have launcher icons defined
    updated project successfully
    ************* Processing the main config.xml file (after_prepare)  *****************
    App Directory = [.../_A_podeal]
    Will process and update the following config files:
        Config.xml = [.../_A_podeal/config.xml]
    Namespaces:
        prefix/uri ''/'http://www.w3.org/ns/widgets'
        prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1'
    Android Manifest Namespaces:
        prefix/uri 'android'/'http://schemas.android.com/apk/res/android'
    Name of the app is [_A_podeal]
    Updating full app name to [_A_podeal]
    Processing preference android-minSdkVersion [14]
    Processing preference android-targetSdkVersion [23]
    Processing preference android-installLocation [auto]
    Processing preference permissions
    Updating the versionCode
    Updating the versionName
    Processing debuggable
    Added [{http://schemas.android.com/apk/res/android}debuggable] with [false]
    Processing config file values
    Saving config.xml to [.../_A_podeal/config.xml]
    ************* Completed processing the main config.xml file (after_prepare)  *****************
    ANDROID_HOME=.../android-sdk
    JAVA_HOME=/usr/lib/jvm/java-8-oracle-amd64
    embedded
    WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
    WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
    WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
    WARNING [Project: :] Current NDK support is deprecated.  Alternative will be provided in the future.
    org.xwalk:xwalk_core_library:16+
    :preBuild
    :compileArmv7ReleaseNdk
    :preArmv7ReleaseBuild
    :checkArmv7ReleaseManifest
    :preX86ReleaseBuild
    :CordovaLib:compileLint
    :CordovaLib:copyReleaseLint UP-TO-DATE
    :CordovaLib:mergeReleaseProguardFiles
    :CordovaLib:preBuild
    :CordovaLib:preReleaseBuild
    :CordovaLib:checkReleaseManifest
    :CordovaLib:prepareReleaseDependencies
    :CordovaLib:compileReleaseAidl
    :CordovaLib:compileReleaseRenderscript
    :CordovaLib:generateReleaseBuildConfig
    :CordovaLib:generateReleaseAssets UP-TO-DATE
    :CordovaLib:mergeReleaseAssets
    :CordovaLib:generateReleaseResValues
    :CordovaLib:generateReleaseResources
    :CordovaLib:packageReleaseResources
    :CordovaLib:processReleaseManifest
    :CordovaLib:processReleaseResources
    :CordovaLib:generateReleaseSources
    :CordovaLib:compileReleaseJavaNote: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    
    :CordovaLib:processReleaseJavaRes UP-TO-DATE
    :CordovaLib:packageReleaseJar
    :CordovaLib:compileReleaseNdk
    :CordovaLib:packageReleaseJniLibs UP-TO-DATE
    :CordovaLib:packageReleaseLocalJar UP-TO-DATE
    :CordovaLib:packageReleaseRenderscript UP-TO-DATE
    :CordovaLib:bundleRelease
    :com.appodeal.googleplayservices:google-play-services_lib:compileLint
    :com.appodeal.googleplayservices:google-play-services_lib:copyReleaseLint UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:mergeReleaseProguardFiles
    :com.appodeal.googleplayservices:google-play-services_lib:preBuild
    :com.appodeal.googleplayservices:google-play-services_lib:preReleaseBuild
    :com.appodeal.googleplayservices:google-play-services_lib:checkReleaseManifest
    :com.appodeal.googleplayservices:google-play-services_lib:prepareAndroidCordovaLibUnspecifiedReleaseLibrary
    :com.appodeal.googleplayservices:google-play-services_lib:prepareReleaseDependencies
    :com.appodeal.googleplayservices:google-play-services_lib:compileReleaseAidl
    :com.appodeal.googleplayservices:google-play-services_lib:compileReleaseRenderscript
    :com.appodeal.googleplayservices:google-play-services_lib:generateReleaseBuildConfig
    :com.appodeal.googleplayservices:google-play-services_lib:generateReleaseAssets UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:mergeReleaseAssets
    :com.appodeal.googleplayservices:google-play-services_lib:generateReleaseResValues
    :com.appodeal.googleplayservices:google-play-services_lib:generateReleaseResources
    :com.appodeal.googleplayservices:google-play-services_lib:mergeReleaseResources
    :com.appodeal.googleplayservices:google-play-services_lib:processReleaseManifest
    :com.appodeal.googleplayservices:google-play-services_lib:processReleaseResources
    :com.appodeal.googleplayservices:google-play-services_lib:generateReleaseSources
    :com.appodeal.googleplayservices:google-play-services_lib:compileReleaseJava
    :com.appodeal.googleplayservices:google-play-services_lib:processReleaseJavaRes UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:packageReleaseJar
    :com.appodeal.googleplayservices:google-play-services_lib:compileReleaseNdk
    :com.appodeal.googleplayservices:google-play-services_lib:packageReleaseJniLibs UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:packageReleaseLocalJar
    :com.appodeal.googleplayservices:google-play-services_lib:packageReleaseRenderscript UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:packageReleaseResources
    :com.appodeal.googleplayservices:google-play-services_lib:bundleRelease
    :prepareAndroidComAppodealGoogleplayservicesGooglePlayServices_libUnspecifiedReleaseLibrary
    :prepareAndroidCordovaLibUnspecifiedReleaseLibrary
    :preArmv7DebugBuild
    :preX86DebugBuild
    :CordovaLib:copyDebugLint UP-TO-DATE
    :CordovaLib:mergeDebugProguardFiles
    :CordovaLib:preDebugBuild
    :CordovaLib:checkDebugManifest
    :CordovaLib:prepareDebugDependencies
    :CordovaLib:compileDebugAidl
    :CordovaLib:compileDebugRenderscript
    :CordovaLib:generateDebugBuildConfig
    :CordovaLib:generateDebugAssets UP-TO-DATE
    :CordovaLib:mergeDebugAssets
    :CordovaLib:generateDebugResValues
    :CordovaLib:generateDebugResources
    :CordovaLib:packageDebugResources
    :CordovaLib:processDebugManifest
    :CordovaLib:processDebugResources
    :CordovaLib:generateDebugSources
    :CordovaLib:compileDebugJavaNote: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    
    :CordovaLib:processDebugJavaRes UP-TO-DATE
    :CordovaLib:packageDebugJar
    :CordovaLib:compileDebugNdk
    :CordovaLib:packageDebugJniLibs UP-TO-DATE
    :CordovaLib:packageDebugLocalJar UP-TO-DATE
    :CordovaLib:packageDebugRenderscript UP-TO-DATE
    :CordovaLib:bundleDebug
    :com.appodeal.googleplayservices:google-play-services_lib:copyDebugLint UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:mergeDebugProguardFiles
    :com.appodeal.googleplayservices:google-play-services_lib:preDebugBuild
    :com.appodeal.googleplayservices:google-play-services_lib:checkDebugManifest
    :com.appodeal.googleplayservices:google-play-services_lib:preDebugTestBuild
    :com.appodeal.googleplayservices:google-play-services_lib:prepareAndroidCordovaLibUnspecifiedDebugLibrary
    :com.appodeal.googleplayservices:google-play-services_lib:prepareDebugDependencies
    :com.appodeal.googleplayservices:google-play-services_lib:compileDebugAidl
    :com.appodeal.googleplayservices:google-play-services_lib:compileDebugRenderscript
    :com.appodeal.googleplayservices:google-play-services_lib:generateDebugBuildConfig
    :com.appodeal.googleplayservices:google-play-services_lib:generateDebugAssets UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:mergeDebugAssets
    :com.appodeal.googleplayservices:google-play-services_lib:generateDebugResValues
    :com.appodeal.googleplayservices:google-play-services_lib:generateDebugResources
    :com.appodeal.googleplayservices:google-play-services_lib:mergeDebugResources
    :com.appodeal.googleplayservices:google-play-services_lib:processDebugManifest
    :com.appodeal.googleplayservices:google-play-services_lib:processDebugResources
    :com.appodeal.googleplayservices:google-play-services_lib:generateDebugSources
    :com.appodeal.googleplayservices:google-play-services_lib:compileDebugJava
    :com.appodeal.googleplayservices:google-play-services_lib:processDebugJavaRes UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:packageDebugJar
    :com.appodeal.googleplayservices:google-play-services_lib:compileDebugNdk
    :com.appodeal.googleplayservices:google-play-services_lib:packageDebugJniLibs UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:packageDebugLocalJar
    :com.appodeal.googleplayservices:google-play-services_lib:packageDebugRenderscript UP-TO-DATE
    :com.appodeal.googleplayservices:google-play-services_lib:packageDebugResources
    :com.appodeal.googleplayservices:google-play-services_lib:bundleDebug
    :prepareComAndroidSupportSupportV42400Alpha1Library
    :prepareOrgXwalkXwalk_core_library164542119Library
    :prepareArmv7ReleaseDependencies
    :compileArmv7ReleaseAidl
    :compileArmv7ReleaseRenderscript
    :generateArmv7ReleaseBuildConfig
    :generateArmv7ReleaseAssets UP-TO-DATE
    :mergeArmv7ReleaseAssets
    :createXwalkCommandLineFileArmv7Release
    :generateArmv7ReleaseResValues
    :generateArmv7ReleaseResources
    :mergeArmv7ReleaseResources
    :processArmv7ReleaseManifest
    :processArmv7ReleaseResources
    :generateArmv7ReleaseSources
    :compileArmv7ReleaseJavaNote: .../_A_podeal/platforms/android/src/org/apache/cordova/splashscreen/SplashScreen.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    
    :preDexArmv7Release
    :dexArmv7Release
    UNEXPECTED TOP-LEVEL EXCEPTION:
    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;
       at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
       at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
       at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
       at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
       at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
       at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
       at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
       at com.android.dx.command.dexer.Main.run(Main.java:246)
       at com.android.dx.command.dexer.Main.main(Main.java:215)
       at com.android.dx.command.Main.main(Main.java:106)
    
     FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':dexArmv7Release'.
    

    com.android.ide.common.internal.LoggedErrorException: Failed to run command:

    .../android-sdk/build-tools/21.1.2/dx --dex --output .../_A_podeal/platforms/android/build/intermediates/dex/armv7/release --input-list=.../_A_podeal/platforms/android/build/intermediates/tmp/dex/armv7/release/inputList.txt

    Error Code:

    2

    Output:

    UNEXPECTED TOP-LEVEL EXCEPTION:

    com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

    at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)

    at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)

    at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)

    at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)

    at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)

    at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)

    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)

    at com.android.dx.command.dexer.Main.run(Main.java:246)

    at com.android.dx.command.dexer.Main.main(Main.java:215)

    at com.android.dx.command.Main.main(Main.java:106)

    * Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

    BUILD FAILED

    Total time: 1 mins 50.693 secs

    ERROR building one of the platforms: Error: .../_A_podeal/platforms/android/gradlew: Command failed with exit code 1

    You may not have the required environment or OS to build this project

    Error: .../_A_podeal/platforms/android/gradlew: Command failed with exit code 1

    at ChildProcess.whenDone (.../_A_podeal/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:139:23)

    at emitTwo (events.js:87:13)

    at ChildProcess.emit (events.js:172:7)

    at maybeClose (internal/child_process.js:821:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)[/code:goqen5h3]

  • xmnboy ?

  • I get a build failed in Intel XDK with Appodeal plugin. Can someone have a look at the building log or XDK project so I can figure out if this is a Plugin issue or IntelXDK ? Is just an empty XDK template and added Appodeal and GooglePlayServices

    I already sent the project + build log to Appodeal team

    https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/IntelXdk_EmptyTemplate.zip

    [EDIT] build log https://dl.dropboxusercontent.com/u/139 ... 0error.txt

  • I talked to one of the guys 10 min ago and said that I get build error in IntelXDK with appodeal plugin and they said to show my C2 code...

    To get the XDK v1.14.6 put on git repo: https://github.com/Tamplier/Appodeal-PhoneGap-plug

    with this one I only get the banner showing now, is strange or I'm to tired, I used to get both interstitial/video ads 2 days ago

  • 2 days ago I used v 1.14.6 and worked, now v1.14.9 also give me error in IntelXDk

  • Here is a good place to post issues and questions

  • ZephyrKing Maybe you should ask the community if is something you missed or misunderstand instead of just post it as being a bug.

    Many people here including C2 is using Dropbox accounts to share/save capx. You can upload your capx to dropbox then share the link to your file

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is this exporting format working better for Cranberry CordovaGame plugin ?

  • Did anyone succeeded using the "new Intel XDK project format " when exporting from C2 ? I use Cranberry's Game plugin: I can login, it shows the leaderboard but when I submit the score the leaderboard is not updating, even the response from google it says : SUCCESS.

    With the old export project format I knew what to modify for CordovaGame plugin, but now I'm frustrated...so many changes from all directions I can't keep up I want to create games not keep updating my plugins

    [SOLVED]