Build fails
See original GitHub issueYour Environment
- Plugin version: 2.3.3+
- Platform: iOS or Android Android
- OS version:
- Device manufacturer and model:
- Cordova version (
cordova -v
): 8.0.0 - Cordova platform version (
cordova platform ls
): - Plugin configuration options:
- Link to your project:
Context
Ionic config is: ionic info
cli packages: (C:\Users\shatf\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.19.1
ionic (Ionic CLI) : 3.19.1
global packages:
cordova (Cordova CLI) : 8.0.0
local packages:
@ionic/app-scripts : 3.1.8
Cordova Platforms : android 6.4.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
Node : v8.9.4
npm : 5.6.0
OS : Windows 10
Plugin list is:
cordova plugin ls cordova-plugin-advanced-http 1.11.0 “Advanced HTTP plugin” cordova-plugin-device 2.0.1 “Device” cordova-plugin-device-orientation 1.0.7 “Device Orientation” cordova-plugin-file 6.0.1 “File” cordova-plugin-geolocation 4.0.1 “Geolocation” cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard” cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview” cordova-plugin-mauron85-background-geolocation 2.3.3 “CDVBackgroundGeolocation” cordova-plugin-splashscreen 5.0.2 “Splashscreen” cordova-plugin-whitelist 1.3.3 “Whitelist” cordova-sqlite-ext 2.1.1 “Cordova sqlite storage plugin with extra features” uk.co.workingedge.cordova.plugin.sqliteporter 1.0.2 “sqlite porter”
Expected Behavior
Actual Behavior
Build always fails (aapt). Seems like a couple of Android resources are now missing:, esp:
C:\Users\shatf.gradle\caches\transforms-1\files-1.1\support-compat-28.0.0-alpha1.aar\8fd2e5c5360dfd02afef69d7a5d3d7ce\res\values\values.xml:20:5-70: AAPT: error: resource android:attr/fontVariationSettings not found.
C:\Users\shatf.gradle\caches\transforms-1\files-1.1\support-compat-28.0.0-alpha1.aar\8fd2e5c5360dfd02afef69d7a5d3d7ce\res\values\values.xml:20:5-70: AAPT: error: resource android:attr/ttcIndex not found.
C:\Users\shatf\Projects\t2\platforms\android\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:94: error: resource android:attr/fontVariationSettings not found. C:\Users\shatf\Projects\t2\platforms\android\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:94: error: resource android:attr/ttcIndex not found. error: failed linking references.
Possible Fix
Steps to Reproduce
Context
Debug logs
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
Yes it’s seems latest android support libraries are not compatible. #381 need to be merged.
@myamolane
config.xml only works when plugin was not installed yet. if plugin was installed any changes to config.xml are ignored. You have to remove plugin and reinstall plugin to reapply changes.