-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diagnostic + Ionic 3 compile error #211
Comments
This error can also be caused by a Gradle dependency collision where another plugin pins a specific version of the Android Support or App Compat libraries on which this plugin depends - see #203 and #205. Check the You can also try building the example project which validates the plugin in isolation. |
Nothing helps when I change plugin.xml of diagnostic plugin....
Also I've tried to change camera plugin.xml... My current > cordova plugin ls It only success if I remove diagnostic plugin. But I need to request permission )) |
The cause is almost certainly a Gradle collision. If you are using the Telerik version of com.synconset.imagepicker, this pins the App Compat library to v23+ which will cause the issue. Have you checked this plugin? There may also be other plugins in your list that pin versions of the App Compat or Android Support libraries. You need to go through and align them, or you will not be able to solve this error. However, this is a not a bug with specifically with this plugin, which purposefully does not pin the library to specific versions: if other plugins also obeyed this rule, then these collisions would not occur. |
Yes, I've checked all plugins by search v[Index] in all plugin.xml But what I need to insert to all of them to make it work? |
Removing v23+ will not work if you have ImagePicker from Telerik in your project because that ImagePicker plugin is hard-coded to be dependent on v23 of App Compat - any later version breaks it. Setting the Instead, you need to pin all the versions to v23+, because otherwise ImagePicker will break the build. You'll need to them remove and re-add the Android platform to rebuild the Gradle config:
|
Wow! It is working now! Thank you so much for this great plugin and for quick response! |
Great, glad it's working. It's a shame these Gradle issues aren't more easily fixed. |
With latest sdk-tools, etc...
Error: /home/taras/work/weblancer/zamaruev/new/ouicam/platforms/android/gradlew: Command failed with exit code 1 Error output:
/home/taras/work/weblancer/zamaruev/new/ouicam/platforms/android/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: AAPT: Error retr
ieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
/home/taras/work/weblancer/zamaruev/new/ouicam/platforms/android/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: AAPT: Error retr
ieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
/home/taras/work/weblancer/zamaruev/new/ouicam/platforms/android/build/intermediates/res/merged/debug/values-v24/values-v24.xml:3: error: Error ret
rieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
/home/taras/work/weblancer/zamaruev/new/ouicam/platforms/android/build/intermediates/res/merged/debug/values-v24/values-v24.xml:4: error: Error ret
rieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
The text was updated successfully, but these errors were encountered: