We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
after update library to 0.5.11, I get error with flutter_custom_tabs
flutter_custom_tabs
/Users/anu/app/flutter/.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; ^ /Users/anu/app/flutter/.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:7: error: package android.support.annotation does not exist import android.support.annotation.NonNull; ^ /Users/anu/app/flutter/.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:8: error: package android.support.annotation does not exist import android.support.annotation.Nullable; ^ /Users/anu/app/flutter/.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:9: error: package android.support.annotation does not exist import android.support.annotation.RestrictTo; ^ /Users/anu/app/flutter/.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:10: error: cannot find symbol import android.support.customtabs.CustomTabsIntent; ^ symbol: class CustomTabsIntent location: package android.support.customtabs /Users/anu/app/flutter/.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:19: error: cannot find symbol @RestrictTo(RestrictTo.Scope.LIBRARY) public class Launcher { ^ symbol: class RestrictTo /Users/anu/app/flutter/.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:43: error: cannot find symbol public CustomTabsIntent buildIntent(@NonNull Map<String, Object> options) { ^ symbol: class CustomTabsIntent location: class Launcher /Users/anu/app/flutter/.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:74: error: package CustomTabsIntent does not exist private void applyAnimations(@NonNull CustomTabsIntent.Builder builder, ^ /Users/anu/app/flutter/.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:107: error: cannot find symbol @NonNull CustomTabsIntent customTabsIntent, @Nullable List<String> extraCustomTabs) { ^ symbol: class CustomTabsIntent location: class Launcher /Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:7: error: package android.support.annotation does not exist import android.support.annotation.NonNull; ^ /Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:8: error: cannot find symbol import android.support.customtabs.CustomTabsIntent; ^ symbol: class CustomTabsIntent location: package android.support.customtabs /Users/anu/app/flutter/.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:38: error: cannot find symbol public Launcher(@NonNull Context context) { ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:43: error: cannot find symbol public CustomTabsIntent buildIntent(@NonNull Map<String, Object> options) { ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:42: error: cannot find symbol @SuppressWarnings("unchecked") @NonNull ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:74: error: cannot find symbol private void applyAnimations(@NonNull CustomTabsIntent.Builder builder, ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:75: error: cannot find symbol @NonNull Map<String, String> animations) { ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:98: error: cannot find symbol @AnimRes private int resolveAnimationIdentifierIfNeeded(@NonNull String identifier) { ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:98: error: cannot find symbol @AnimRes private int resolveAnimationIdentifierIfNeeded(@NonNull String identifier) { ^ symbol: class AnimRes location: class Launcher /Users/anu/app/flutter/.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:106: error: cannot find symbol public void launch(@NonNull Context context, @NonNull Uri uri, ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:106: error: cannot find symbol public void launch(@NonNull Context context, @NonNull Uri uri, ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:107: error: cannot find symbol @NonNull CustomTabsIntent customTabsIntent, @Nullable List<String> extraCustomTabs) { ^ symbol: class NonNull location: class Launcher /Users/anu/app/flutter/.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:107: error: cannot find symbol @NonNull CustomTabsIntent customTabsIntent, @Nullable List<String> extraCustomTabs) { ^ symbol: class Nullable location: class Launcher /Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:39: error: cannot find symbol private CustomTabsPlugin(@NonNull PluginRegistry.Registrar registrar) { ^ symbol: class NonNull location: class CustomTabsPlugin /Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:57: error: cannot find symbol private void launch(@NonNull Map<String, Object> args, @NonNull MethodChannel.Result result) { ^ symbol: class NonNull location: class CustomTabsPlugin /Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:57: error: cannot find symbol private void launch(@NonNull Map<String, Object> args, @NonNull MethodChannel.Result result) { ^ symbol: class NonNull location: class CustomTabsPlugin /Users/anu/app/flutter/.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:44: error: package CustomTabsIntent does not exist final CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); ^ /Users/anu/app/flutter/.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:44: error: package CustomTabsIntent does not exist final CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); ^ /Users/anu/app/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_custom_tabs-0.4.0/android/src/main/java/com/github/droibit/flutter/plugins/customtabs/CustomTabsPlugin.java:60: error: cannot find symbol final CustomTabsIntent customTabsIntent = launcher.buildIntent(options); ^ symbol: class CustomTabsIntent location: class CustomTabsPlugin 28 errors FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered:
Have the same problem. May it be related to androidx libraries migration?
Sorry, something went wrong.
I got the same errors. Migrating my project to AndroidX fixed the issue. In gradle.properties make sure you got: android.enableJetifier=true
android.enableJetifier=true
It handles the merge between AndroidX and non-AndroidX deps.
@lisional remove that line solved this error for me. But now error in other libraries~ (and yes, it's because AndroidX)
same problem here. this package is a shit.
No branches or pull requests
after update library to 0.5.11, I get error with
flutter_custom_tabs
The text was updated successfully, but these errors were encountered: