sunnycupertino / cordova-plugin-admob-simple

Cordova plugin allowing Admob interstitials and banner ads.
MIT License
164 stars 150 forks source link

Build Failure with Cordova PhoneGap Build #55

Open nathanmercieca opened 3 years ago

nathanmercieca commented 3 years ago

Adding the plugin cordova-plugin-admob-simple creates an instant build failure. To eliminate a possible plugin clash, I tried literally having the only plugin be cordova-plugin-admob-simple but the bellow error still occurs.

This same error occurs when I try the cordova-plugin-x-socialsharing plugin, but this admob plugin is more important.

[ PhoneGap (iOS / Android / Windows) = cli-8.0.0 (4.5.4 / 7.0.0 / 5.0.0) ]

Error: (As noted, this error occurs with no other plugins installed, totally on its own).

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:processDebugResources'.

    Failed to execute aapt

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

  • Get more help at https://help.gradle.org

BUILD FAILED in 11s

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings 25 actionable tasks: 25 executed Error: /var/gimlet/tmp/47074680276460/4062054/gradlew: Command failed with exit code 1 Error output: /.gradle/caches/transforms-1/files-1.1/customtabs-27.1.1.aar/72cdc2dadc2d40b649000a7d0941f15a/res/values/values.xml:7:5-71: AAPT: error: resource android:attr/fontVariationSettings not found.

/.gradle/caches/transforms-1/files-1.1/customtabs-27.1.1.aar/72cdc2dadc2d40b649000a7d0941f15a/res/values/values.xml:7:5-71: AAPT: error: resource android:attr/ttcIndex not found.

/var/gimlet/tmp/47074680276460/4062054/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:178: error: resource android:attr/fontVariationSettings not found. /var/gimlet/tmp/47074680276460/4062054/app/build/intermediates/incremental/mergeDebugResources/merged.dir/values/values.xml:178: error: resource android:attr/ttcIndex not found. error: failed linking references.

sunnycupertino commented 3 years ago

Hi. Can you tell us what platform you are compiling on?