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 reference: R #548

Open
vitaminwater opened this issue Jan 21, 2025 · 4 comments
Open

Unresolved reference: R #548

vitaminwater opened this issue Jan 21, 2025 · 4 comments

Comments

@vitaminwater
Copy link

Looks like this issue is back.

e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:50:62 Unresolved reference: R
e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:51:26 Variable expected
e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:54:45 Unresolved reference: R
e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:57:60 Unresolved reference: R
e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:60:26 Variable expected
e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:63:30 Variable expected
e: file:///Users/stant/.pub-cache/hosted/pub.dev/fluttertoast-8.2.10/android/src/main/kotlin/io/github/ponnamkarthik/toast/fluttertoast/MethodCallHandlerImpl.kt:75:30 Variable expected```

App code is here: https://github.com/supergreenlab/SuperGreenApp2

Thanks:)
@isrishu
Copy link

isrishu commented Mar 4, 2025

@ponnamkarthik is there a permanent fix to this issue? every time the app build,s we need to open the Kotlin file and refresh the dependencies for the app to build correctly

@ponnamkarthik
Copy link
Owner

Have you test with latest version 8.2.12

@isrishu
Copy link

isrishu commented Mar 4, 2025

yes, the issue has started from 8.2.12. I had 8.2.10 before and it was all good.

@ponnamkarthik
Copy link
Owner

is it possible for you to send me a sample project with issue

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

3 participants