Closed psjanwilmar closed 2 years ago
What version of the plugin are you using? This should be fixed in v2.0.1
I'm using this version "cordova-plugin-update-notifier": "^2.0.1",
solved it by going to build.gradle file and changing
implementation "com.google.android.material:material:[1.0.0,1.5.0)"
to implementation "com.google.android.material:material:1.5.0-alpha02"
and it may not be necessary but i did the same to project.propperties file and change the same values
hmm, the change we made in 2.0.1 was to set "com.google.android.material:material:[1.0.0,1.5.0)"
which should allow versions of com.google.android.material
up to, but not including, 1.5.0. This was meant to stop it from eagerly grabbing alpha versions with breaking changes to toolset requirements.
I have the same problem with what seems to be a slightly different version of the material library. A workaround is not a proper solution, please reopen the issue. @dpogue
/Users/vagrant/.gradle/caches/transforms-2/files-2.1/9d939e52b6a0de526afad0f6703dbb4b/material-1.5.0-beta01/res/values-v31/values-v31.xml:3:5-94: AAPT: error: resource android:color/system_neutral1_1000 not found.
iOS Builds fine, just android has this issue
As of version 2.0.1, the plugin specifies "com.google.android.material:material:[1.0.0,1.5.0)"
which should not allow using any alpha or beta version of 1.5.0 (which requires Android SDK 31, which is not currently supported by Cordova Android).
I suggest uninstalling and reinstalling v2.0.1 of this plugin to ensure it uses the correct com.google.material dependency.
I tried to build a release but it fails.