question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Your 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:closed
  • Created 6 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
mauron85commented, Mar 8, 2018

Yes it’s seems latest android support libraries are not compatible. #381 need to be merged.

0reactions
mauron85commented, Mar 12, 2018

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

These 20 Construction Fails Will Make You Roll On The Floor ...
When it comes to construction, it's a vital part of the human race. No, really. Even back in the days of early man...
Read more >
30 Construction Fails That Are Unbelievably Stupid – Part1
30 Construction Fails That Are Unbelievably Stupid – Part1. As you scroll through these ridiculous construction fails we can guarantee the same thoughts...
Read more >
29 Hilarious Construction Fails | Comedy.com
Being an architect is no easy job, but these construction fails are just too funny.
Read more >
78 Architects Who Had One Job And Still Failed | Bored Panda
From garage doors finding their way on the third floor of an apartment building, many engineering fails concerning stairs and of course, miscellaneous...
Read more >
18 Construction Fails That Made Me Whisper "Oh Noooooo"
18 Construction Fails That Made Me Whisper "Oh Noooooo" · 1. There are a few issues with this clock: · 2. Security is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found