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

Unresolved references issue #214

Closed
itaishalom opened this issue Dec 4, 2024 · 3 comments · Fixed by #220
Closed

Unresolved references issue #214

itaishalom opened this issue Dec 4, 2024 · 3 comments · Fixed by #220
Labels
bug Something isn't working released

Comments

@itaishalom
Copy link

Running flutter app on android causing the following errors:

e: file:///Users/shalom/.pub-cache/hosted/pub.dev/amplitude_flutter-3.16.4/android/src/main/kotlin/com/amplitude/amplitude_flutter/AmplitudeFlutterPlugin.kt:14:48 Unresolved reference 'Registrar'.
e: file:///Users/shalom/.pub-cache/hosted/pub.dev/amplitude_flutter-3.16.4/android/src/main/kotlin/com/amplitude/amplitude_flutter/AmplitudeFlutterPlugin.kt:26:37 Unresolved reference 'Registrar'.
e: file:///Users/shalom/.pub-cache/hosted/pub.dev/amplitude_flutter-3.16.4/android/src/main/kotlin/com/amplitude/amplitude_flutter/AmplitudeFlutterPlugin.kt:27:30 Unresolved reference 'context'.
e: file:///Users/shalom/.pub-cache/hosted/pub.dev/amplitude_flutter-3.16.4/android/src/main/kotlin/com/amplitude/amplitude_flutter/AmplitudeFlutterPlugin.kt:28:51 Unresolved reference 'messenger'.

Cannot run the app

Environment

  • SDK Version:
    [✓] Flutter (Channel master, 3.27.0-1.0.pre.669, on macOS 14.5 23F79 darwin-arm64, locale en-US)

Pixel 9 simulator

  • Device OS and Version: Android 15
@itaishalom itaishalom added the bug Something isn't working label Dec 4, 2024
@tanuu007
Copy link

Did you find the Solution?

@chungdaniel
Copy link
Contributor

chungdaniel commented Jan 17, 2025

Hey, this is likely related to #200, which as been fixed on our beta branch (currently v4.0.0-beta.7). Could you try using our latest beta version to see if this fixes your issue? I haven't been able to reproduce this issue with the example app.

I have also removed reference to that on our main branch as of 3.16.7.

Copy link

🎉 This issue has been resolved in version 3.16.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants