How do I Creat Rewarded Video [Cocoon.io]?

0 favourites
  • 7 posts
From the Asset Store
Give your players time based rewards, checks how long player has been away to display time remaining to reward.
  • I am using plug in AppOdeal but I am having problems :/

  • Hi, Governador! This is Alex from Appodeal developers team.

    Can you describe your problem more detailed? Errors, logs and any relevant information will be helpful.

  • Hi, Governador! This is Alex from Appodeal developers team.

    Can you describe your problem more detailed? Errors, logs and any relevant information will be helpful.

    I will speak in my native Portuguese

    Aqui são os passos que eu já conclui:

    1. App key no plugin dentro Construct 2

    2. Link your Admob account

    Admob reporting enabled: Yes

    Admob ad units synced: Yes

    3. Instalei esse plugin dentro do contruct2:

    https://s3.eu-central-1.amazonaws.com/a ... _2.0.1.zip

    4. Fiz esses passos no construct2:

    Rewarded Video = https://mega.nz/#!wUlE1IbQ!3ek8_p_P2Z83 ... SzaoiGvI6Q

    Banner = https://mega.nz/#!0Yc3SRBR!1rSE-8OxWe24 ... 05R_3OZEXE

    5. Esses são os Plugin que instalei no Cocoon.io:

    https://mega.nz/#!RJtUCDyT!-y6LpTQcTUnU ... MfGXDJVZBA

    6. Problemas que estou encontrando! ----- APK compilado pelo Cocoon.io

    O banner não inicia de forma alguma

    O vídeo premiado as vezes não carrega

    Depois de algumas tentativas o vídeo premiado carrega normalmente mas quando finaliza volta para o jogo e inicia outro vídeo premiado infinitamente

    Thank you =D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why do you use a version from github.com/Tamplier/cordova-plugin.git It's very old. You can try one of the official packages:

    github.com/appodeal/cordova-plugin.git - standart version without iOS SDK. Use it if you are not going to build iOS application.

    github.com/appodeal/appodeal-cordova-plugin.git - big plugin with iOS SDK.

    github.com/appodeal/appodeal-co ... plugin.git - Android only. Use it if you get DexIndexOverflowException

    github.com/appodeal/appodeal-co ... plugin.git - Crossplatform. Use it if you have enabled multidex for android build to solve DexIndexOverflowException.

    Please try these versions.

  • Why do you use a version from https://github.com/Tamplier/cordova-plugin.git? It's very old. You can try one of the official packages:

    https://github.com/appodeal/cordova-plugin.git - standart version without iOS SDK. Use it if you are not going to build iOS application.

    https://github.com/appodeal/appodeal-cordova-plugin.git - big plugin with iOS SDK.

    https://github.com/appodeal/appodeal-co ... plugin.git - Android only. Use it if you get DexIndexOverflowException

    https://github.com/appodeal/appodeal-co ... plugin.git - Crossplatform. Use it if you have enabled multidex for android build to solve DexIndexOverflowException.

    Please try these versions.

    Infelizmente todos deram erro na compilação:

    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.

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: /workspace/platforms/android/src/com/ludei/googleplaygames/GPGService.java uses unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':transformClassesWithDexForArmv7Debug'.

    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

    * Try:

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

    CORDOVA LOG:

    ugin/package.json

    cp: dest file already exists: /workspace/plugins/com.appodeal.plugin/plugin.xml

    skipping existing file: AppodealPlugin.java

    skipping existing file: appodeal.js

    ANDROID_HOME=/opt/cocoon_compiler/workspace/production/data/sdks/android-sdks-linux

    JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

    Subproject Path: CordovaLib

    Subproject Path: com.appodeal.plugin/FlappyPimba-cheetah-mobile

    Incremental java compilation is an incubating feature.

    :preBuild UP-TO-DATE

    :preArmv7DebugBuild UP-TO-DATE

    :checkArmv7DebugManifest

    :preX86DebugBuild UP-TO-DATE

    :CordovaLib:preBuild UP-TO-DATE

    :CordovaLib:preDebugBuild UP-TO-DATE

    :CordovaLib:checkDebugManifest

    :CordovaLib:prepareDebugDependencies

    :CordovaLib:compileDebugAidl

    :CordovaLib:compileDebugNdk UP-TO-DATE

    :CordovaLib:compileLint

    :CordovaLib:copyDebugLint UP-TO-DATE

    :CordovaLib:mergeDebugShaders

    :CordovaLib:compileDebugShaders

    :CordovaLib:generateDebugAssets

    :CordovaLib:mergeDebugAssets

    :CordovaLib:mergeDebugProguardFiles

    :CordovaLib:packageDebugRenderscript UP-TO-DATE

    :CordovaLib:compileDebugRenderscript

    :CordovaLib:generateDebugResValues

    :CordovaLib:generateDebugResources

    :CordovaLib:packageDebugResources

    :CordovaLib:processDebugManifest

    :CordovaLib:generateDebugBuildConfig

    :CordovaLib:processDebugResources

    :CordovaLib:generateDebugSources

    :CordovaLib:incrementalDebugJavaCompilationSafeguard

    :CordovaLib:compileDebugJavaWithJavac

    :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    :CordovaLib:processDebugJavaRes UP-TO-DATE

    :CordovaLib:transformResourcesWithMergeJavaResForDebug

    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

    :CordovaLib:mergeDebugJniLibFolders

    :CordovaLib:transformNative_libsWithMergeJniLibsForDebug

    :CordovaLib:transformNative_libsWithSyncJniLibsForDebug

    :CordovaLib:bundleDebug

    :com.appodeal.plugin:cheetah-mobile:preBuild UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:preDebugBuild UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:checkDebugManifest

    :com.appodeal.plugin:cheetah-mobile:preDebugAndroidTestBuild UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:preDebugUnitTestBuild UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:prepareAndroidCordovaLibUnspecifiedDebugLibrary

    :com.appodeal.plugin:cheetah-mobile:prepareDebugDependencies

    :com.appodeal.plugin:cheetah-mobile:compileDebugAidl

    :com.appodeal.plugin:cheetah-mobile:compileDebugNdk UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:compileLint

    :com.appodeal.plugin:cheetah-mobile:copyDebugLint UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:mergeDebugShaders

    :com.appodeal.plugin:cheetah-mobile:compileDebugShaders

    :com.appodeal.plugin:cheetah-mobile:generateDebugAssets

    :com.appodeal.plugin:cheetah-mobile:mergeDebugAssets

    :com.appodeal.plugin:cheetah-mobile:mergeDebugProguardFiles

    :com.appodeal.plugin:cheetah-mobile:packageDebugRenderscript UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:compileDebugRenderscript

    :com.appodeal.plugin:cheetah-mobile:generateDebugResValues

    :com.appodeal.plugin:cheetah-mobile:generateDebugResources

    :com.appodeal.plugin:cheetah-mobile:packageDebugResources

    :com.appodeal.plugin:cheetah-mobile:processDebugManifest

    :com.appodeal.plugin:cheetah-mobile:generateDebugBuildConfig

    :com.appodeal.plugin:cheetah-mobile:mergeDebugResources

    :com.appodeal.plugin:cheetah-mobile:processDebugResources

    :com.appodeal.plugin:cheetah-mobile:generateDebugSources

    :com.appodeal.plugin:cheetah-mobile:incrementalDebugJavaCompilationSafeguard

    :com.appodeal.plugin:cheetah-mobile:compileDebugJavaWithJavac

    :com.appodeal.plugin:cheetah-mobile:processDebugJavaRes UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:transformResourcesWithMergeJavaResForDebug

    :com.appodeal.plugin:cheetah-mobile:transformClassesAndResourcesWithSyncLibJarsForDebug

    :com.appodeal.plugin:cheetah-mobile:mergeDebugJniLibFolders

    :com.appodeal.plugin:cheetah-mobile:transformNative_libsWithMergeJniLibsForDebug

    :com.appodeal.plugin:cheetah-mobile:transformNative_libsWithSyncJniLibsForDebug

    :com.appodeal.plugin:cheetah-mobile:bundleDebug

    :prepareAndroidComAppodealPluginCheetahMobileUnspecifiedDebugLibrary

    :prepareAndroidCordovaLibUnspecifiedDebugLibrary

    :preArmv7ReleaseBuild UP-TO-DATE

    :preX86ReleaseBuild UP-TO-DATE

    :CordovaLib:preReleaseBuild UP-TO-DATE

    :CordovaLib:checkReleaseManifest

    :CordovaLib:prepareReleaseDependencies

    :CordovaLib:compileReleaseAidl

    :CordovaLib:compileReleaseNdk UP-TO-DATE

    :CordovaLib:copyReleaseLint UP-TO-DATE

    :CordovaLib:mergeReleaseShaders

    :CordovaLib:compileReleaseShaders

    :CordovaLib:generateReleaseAssets

    :CordovaLib:mergeReleaseAssets

    :CordovaLib:mergeReleaseProguardFiles

    :CordovaLib:packageReleaseRenderscript UP-TO-DATE

    :CordovaLib:compileReleaseRenderscript

    :CordovaLib:generateReleaseResValues

    :CordovaLib:generateReleaseResources

    :CordovaLib:packageReleaseResources

    :CordovaLib:processReleaseManifest

    :CordovaLib:generateReleaseBuildConfig

    :CordovaLib:processReleaseResources

    :CordovaLib:generateReleaseSources

    :CordovaLib:incrementalReleaseJavaCompilationSafeguard

    :CordovaLib:compileReleaseJavaWithJavac

    :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    :CordovaLib:processReleaseJavaRes UP-TO-DATE

    :CordovaLib:transformResourcesWithMergeJavaResForRelease

    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease

    :CordovaLib:mergeReleaseJniLibFolders

    :CordovaLib:transformNative_libsWithMergeJniLibsForRelease

    :CordovaLib:transformNative_libsWithSyncJniLibsForRelease

    :CordovaLib:bundleRelease

    :com.appodeal.plugin:cheetah-mobile:preReleaseBuild UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:checkReleaseManifest

    :com.appodeal.plugin:cheetah-mobile:preReleaseUnitTestBuild UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:prepareAndroidCordovaLibUnspecifiedReleaseLibrary

    :com.appodeal.plugin:cheetah-mobile:prepareReleaseDependencies

    :com.appodeal.plugin:cheetah-mobile:compileReleaseAidl

    :com.appodeal.plugin:cheetah-mobile:compileReleaseNdk UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:copyReleaseLint UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:mergeReleaseShaders

    :com.appodeal.plugin:cheetah-mobile:compileReleaseShaders

    :com.appodeal.plugin:cheetah-mobile:generateReleaseAssets

    :com.appodeal.plugin:cheetah-mobile:mergeReleaseAssets

    :com.appodeal.plugin:cheetah-mobile:mergeReleaseProguardFiles

    :com.appodeal.plugin:cheetah-mobile:packageReleaseRenderscript UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:compileReleaseRenderscript

    :com.appodeal.plugin:cheetah-mobile:generateReleaseResValues

    :com.appodeal.plugin:cheetah-mobile:generateReleaseResources

    :com.appodeal.plugin:cheetah-mobile:packageReleaseResources

    :com.appodeal.plugin:cheetah-mobile:processReleaseManifest

    :com.appodeal.plugin:cheetah-mobile:generateReleaseBuildConfig

    :com.appodeal.plugin:cheetah-mobile:mergeReleaseResources

    :com.appodeal.plugin:cheetah-mobile:processReleaseResources

    :com.appodeal.plugin:cheetah-mobile:generateReleaseSources

    :com.appodeal.plugin:cheetah-mobile:incrementalReleaseJavaCompilationSafeguard

    :com.appodeal.plugin:cheetah-mobile:compileReleaseJavaWithJavac

    :com.appodeal.plugin:cheetah-mobile:processReleaseJavaRes UP-TO-DATE

    :com.appodeal.plugin:cheetah-mobile:transformResourcesWithMergeJavaResForRelease

    :com.appodeal.plugin:cheetah-mobile:transformClassesAndResourcesWithSyncLibJarsForRelease

    :com.appodeal.plugin:cheetah-mobile:mergeReleaseJniLibFolders

    :com.appodeal.plugin:cheetah-mobile:transformNative_libsWithMergeJniLibsForRelease

    :com.appodeal.plugin:cheetah-mobile:transformNative_libsWithSyncJniLibsForRelease

    :com.appodeal.plugin:cheetah-mobile:bundleRelease

    :prepareCanvasplusReleaseLibrary

    :prepareComAndroidSupportSupportV42400Library

    :prepareComGoogleAndroidGmsPlayServicesAds980Library

    :prepareComGoogleAndroidGmsPlayServicesAdsLite980Library

    :prepareComGoogleAndroidGmsPlayServicesAuthBase902Library

    :prepareComGoogleAndroidGmsPlayServicesBase980Library

    :prepareComGoogleAndroidGmsPlayServicesBasement980Library

    :prepareComGoogleAndroidGmsPlayServicesClearcut980Library

    :prepareComGoogleAndroidGmsPlayServicesDrive902Library

    :prepareComGoogleAndroidGmsPlayServicesGames902Library

    :prepareComGoogleAndroidGmsPlayServicesGass980Library

    :prepareComGoogleAndroidGmsPlayServicesPlus902Library

    :prepareComGoogleAndroidGmsPlayServicesTasks980Library

    :prepareArmv7DebugDependencies

    :compileArmv7DebugAidl

    :compileArmv7DebugRenderscript

    :generateArmv7DebugBuildConfig

    :generateArmv7DebugResValues

    :generateArmv7DebugResources

    :mergeArmv7DebugResources

    :processArmv7DebugManifest

    :processArmv7DebugResources

    :generateArmv7DebugSources

    :incrementalArmv7DebugJavaCompilationSafeguard

    :compileArmv7DebugJavaWithJavac

    :compileArmv7DebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    Note: Some input files use or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    Note: /workspace/platforms/android/src/com/ludei/googleplaygames/GPGService.java uses unchecked or unsafe operations.

    Note: Recompile with -Xlint:unchecked for details.

    :compileArmv7DebugNdk UP-TO-DATE

    :compileArmv7DebugSources

    :mergeArmv7DebugShaders

    :compileArmv7DebugShaders

    :generateArmv7DebugAssets

    :mergeArmv7DebugAssets

    :transformClassesWithDexForArmv7Debug FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':transformClassesWithDexForArmv7Debug'.

    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

    * 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: 43.579 secs

  • Ok, in that case, install the following version of plugin:

    github.com/appodeal/appodeal-co ... plugin.git (appodeal-cordova-nodex-plugin on github.com/appodeal)

    And enable multidex option in cocoon.io for android settings:

    https:// forums.cocoon.io / t / in-case-you-are-having-multidex-issues / 2086 (withput spaces)

  • Ok, in that case, install the following version of plugin:

    https://github.com/appodeal/appodeal-co ... plugin.git (appodeal-cordova-nodex-plugin on github.com/appodeal)

    And enable multidex option in cocoon.io for android settings:

    https:// forums.cocoon.io / t / in-case-you-are-having-multidex-issues / 2086 (withput spaces)

    Perfeito! Consegui compilar e agora consigo visualizar as propagandas premiadas perfeitamente =D

    Mais estou com problemas em BANNERS eles não aparecerem

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