joejoejackson's Forum Posts

  • 3 posts
  • Hi,

    please i need some help to understand it better.

    After i published my app in Google Play i tried to add "Ultimate ads"

    I watched the whole tutorial but it still did not work for me.

    So i made a small new project and a little unsigned .apk with only the "Ultimate ads" feature

    C2 sheet

    - on start of layout => load banner

    - If load => show banner

    Testmode is enabled

    Banner id is from google admob

    C2 export to cordova

    - cmd: prepare cordova android

    - edit xml file by adding

    - <plugin name="cocoon-plugin-ads-android-admob" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />

    then cmd: cordova build android

    I tested it directly on mobile phone and it doesnt load the test banner

    any ideas?

    Thanx :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, for more than 2 Years i builded my apks over cmd "Cordova build android" with no problems!

    I have the latests construct 2 build

    Today i buyed this plug-in

    Before i correctet the line i made a few apk tests

    After i corrected the line to <plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/> i cannot build any apks!

    this is the first error with "cordova prepare android"

    Failed to install 'cocoon-plugin-ads-android-admob': Error: Cannot find module 'cordova-common'

    Require stack: ...

    and

    Failed to install 'cordova-plugin-ad-admob': CordovaError: Failed to fetch plugin github.com/cranberrygame/cordova-plugin-ad-admob-sdk via registry.

    this is the error when i write => cordova build android

    cordova-custom-config: Error loading dependencies for restoreBackups.js - ensure the plugin has been installed via cordova-fetch or run 'npm install cordova-custom-config': Cannot find module 'q'

    Require stack:

    - C:\Projekte\Construct2\Devil\Exports\Exports Cordova\90 - Kopie\plugins\cordova-custom-config\hooks\restoreBackups.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\plugman.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\cordova-lib.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\src\help.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\src\cli.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\bin\cordova

    i would appreciate help, thx!

    Last night i reinstalled my "APK export environment" (android, cordova, npm ...)

    after that point i was abel again to build apks without this Plugin! (the plugin was still installed in c2 but i didnt use it in eventsheet in the construct 2 project).

    Then i used the plug-in in event sheet again , exported a project from construct2 (cordova) and i made "no" correction in xml file! I typed "Cordova peepare/build android". At this moment my apk environment didnt work again in general!!!!

    Sorry i am not a programmer, and sorry for my bad english.

    1 have a games in teststatus, a testgroup and i am worry about that this could be the end after a lot of work. :/

    thx

  • Hi, for more than 2 Years i builded my apks over cmd "Cordova build android" with no problems!

    I have the latests construct 2 build

    Today i buyed this plug-in

    Before i correctet the line i made a few apk tests

    After i corrected the line to <plugin name="cocoon-plugin-ads-android-admob" spec="1.0.12"/> i cannot build any apks!

    this is the first error with "cordova prepare android"

    Failed to install 'cocoon-plugin-ads-android-admob': Error: Cannot find module 'cordova-common'

    Require stack: ...

    and

    Failed to install 'cordova-plugin-ad-admob': CordovaError: Failed to fetch plugin github.com/cranberrygame/cordova-plugin-ad-admob-sdk via registry.

    this is the error when i write => cordova build android

    cordova-custom-config: Error loading dependencies for restoreBackups.js - ensure the plugin has been installed via cordova-fetch or run 'npm install cordova-custom-config': Cannot find module 'q'

    Require stack:

    - C:\Projekte\Construct2\Devil\Exports\Exports Cordova\90 - Kopie\plugins\cordova-custom-config\hooks\restoreBackups.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\plugman.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\cordova-lib.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\src\help.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\src\cli.js

    - C:\Users\josef\AppData\Roaming\npm\node_modules\cordova\bin\cordova

    i would appreciate help, thx!

  • 3 posts