angjelkom / cordova-plugin-snackbar

Cordova Plugin that displays a Material Design Snackbar
Apache License 2.0
9 stars 7 forks source link

com.android.support:appcompat-v7:23.+ #2

Closed rmard closed 7 years ago

rmard commented 8 years ago

After adding this plugin, when I try to "cordova build android", the build fails, and I get this message:

I think it might be related to the new Android API 24, but I couldn't solve the problem.

rmard commented 8 years ago

This commit on other plugin seems to resolve a similar issue

https://github.com/dpa99c/cordova-diagnostic-plugin/commit/adb2d25cb8d06fbf8c7293250d747a4fd3ff51f8

angjelkom commented 8 years ago

@rmard What Build Version do you have? as I know cordova needs the Android API 23 so it should not be a problem

rmard commented 8 years ago

@echonox

$ cordova -version
6.3.1

I've got it working after cleaning up some files on Android folder and building the project again with this modification on plugins/cordova-plugin-snackbar/plugin.xml:

        <framework src="com.android.support:appcompat-v7:+" />
        <framework src="com.android.support:design:+" />
angjelkom commented 7 years ago

Fixed in: Keep using latest framework versions