Skip to content
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

androidx incompatibility ? #84

Open
biancashouse opened this issue Mar 6, 2019 · 3 comments
Open

androidx incompatibility ? #84

biancashouse opened this issue Mar 6, 2019 · 3 comments

Comments

@biancashouse
Copy link

after upgrading to the latest flutter that uses AndroidX:

/Users/ianw/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:6: error: package android.support.annotation does not exist
import android.support.annotation.AnimRes;

@AndroidPat
Copy link

Same problem. Are you going to add support for the AndroidX?

@rizmaulana
Copy link

after upgrading to the latest flutter that uses AndroidX:

/Users/ianw/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/internal/Launcher.java:6: error: package android.support.annotation does not exist
import android.support.annotation.AnimRes;

It is because you flutter_custom_tabs-0.4.0 doesn't support androidx.
You have to open /Users/ianw/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/ and then open pubspec.yaml and change dependency flutter_custom_tabs-0.4.0 into flutter_custom_tabs-0.6.0
I already create pull request to solve this problem #91

@git-xbits
Copy link

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants