Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Unable to add customer config



  • What is wrong with this config?

    <config-file file=“AndroidManifest.xml” target="/manifest/application" >
    <meta-data android:name=“com.google.android.gms.ads.APPLICATION_ID” android:value=“ca-app-pub-8772185520604944/3707470945”/>
    </config-file>

    Build Error:

    [09:26:00] FAILURE: Build failed with an exception.
    [09:26:00] * What went wrong:
    [09:26:00] Execution failed for task ‘:app:mergeDebugResources’.
    [09:26:00] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    [09:26:00] > Android resource compilation failed
    [09:26:00] /tmp/download/platforms/android/app/src/main/res/xml/config.xml:60: AAPT: error: unbound prefix.
    [09:26:00]
    [09:26:00] /tmp/download/platforms/android/app/src/main/res/xml/config.xml: AAPT: error: file failed to compile.
    [09:26:00]
    [09:26:00] * Try:
    [09:26:00] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    [09:26:00] * Get more help at https://help.gradle.org
    [09:26:00] 17 actionable tasks: 17 executed
    [09:26:00] BUILD FAILED in 13s
    [09:26:00] Command failed with exit code 1: /tmp/download/platforms/android/gradlew cdvBuildDebug -b /tmp/download/platforms/android/build.gradle