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

Please be compatible with Flutter 3.29.0, Dart 3.7.0, DevTools 2.42.2 #376

Open
AndreTsao opened this issue Feb 21, 2025 · 1 comment
Open

Comments

@AndreTsao
Copy link

AndreTsao commented Feb 21, 2025

import io.flutter.plugin.common.PluginRegistry.ViewDestroyListener;
^
symbol: class ViewDestroyListener
location: interface PluginRegistry
/.pub-cache/hosted/pub.dev/google_api_availability_android-1.0.1/android/src/main/java/com/baseflow/googleapiavailability/GoogleApiAvailabilityPlugin.java:13: error: cannot find symbol
import io.flutter.view.FlutterNativeView;
^
symbol: class FlutterNativeView
location: package io.flutter.view
/.pub-cache/hosted/pub.dev/google_api_availability_android-1.0.1/android/src/main/java/com/baseflow/googleapiavailability/GoogleApiAvailabilityPlugin.java:58: error: cannot find symbol
public static void registerWith(Registrar registrar) {
^
symbol: class Registrar
location: class GoogleApiAvailabilityPlugin
/.pub-cache/hosted/pub.dev/google_api_availability_android-1.0.1/android/src/main/java/com/baseflow/googleapiavailability/GoogleApiAvailabilityPlugin.java:63: error: cannot find symbol
registrar.addViewDestroyListener(new ViewDestroyListener() {
^
symbol: class ViewDestroyListener
location: class GoogleApiAvailabilityPlugin
/.pub-cache/hosted/pub.dev/google_api_availability_android-1.0.1/android/src/main/java/com/baseflow/googleapiavailability/GoogleApiAvailabilityPlugin.java:65: error: cannot find symbol
public boolean onViewDestroy(FlutterNativeView view) {
^
symbol: class FlutterNativeView
/.pub-cache/hosted/pub.dev/google_api_availability_android-1.0.1/android/src/main/java/com/baseflow/googleapiavailability/GoogleApiAvailabilityPlugin.java:64: error: method does not override or implement a method from a supertype
@OverRide
^
7 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':google_api_availability_android:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

@Dani-Koza-AF
Copy link
Collaborator

Hi @AndreTsao,

Our plugin already supports Flutter 3.29.0, Dart 3.7.0, and DevTools 2.42.2, as per our pubspec.yaml constraints. Your build failure does not indicate an issue with appsflyer_sdk.

Additionally, we do not use google_api_availability_android anywhere in our codebase. It is likely coming from another dependency in your project. You may want to check your pubspec.lock or run flutter pub deps to identify which package is pulling it in.

Let us know if you need further clarification! 🚀

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

No branches or pull requests

2 participants