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

When opening the android dir using Android Studio there are many unresolved references #31

Closed
noamraph opened this issue Oct 21, 2021 · 2 comments

Comments

@noamraph
Copy link

noamraph commented Oct 21, 2021

Hi, I want to try to make a pull request for fixing an issue - #32. However, when I open the android directory with android studio, I get may "Unresolved Reference" problems with the FlutterContactsPlugin.kt file: NonNull, core, io, kotlinx, FlutterPlugin, etc.

I suspect that the gradle files have some sort of problem, but I don't know enough about it to fix it.

Fixing this would allow me to hack on flutter_contacts, and hopefully to fix the other issue.

Thanks,
Noam

@joachimvalente
Copy link
Contributor

joachimvalente commented Oct 23, 2021

Hi @noamraph

I apologize but I also don't get references in kotlin files (I use VS Code) and I'm not sure how to fix it :/

Because the kotlin files are relatively simple though, so far what I've done is build the flutter example app to catch any build error.

@noamraph
Copy link
Author

Hi @joachimvalente , I found out that you need to open example/android in android studio, and then you get code analysis. See here. Really strange.

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

2 participants