Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
291 views
in Technique[技术] by (71.8m points)

android studio - Flutter beginner: unresolved symbols in MainActivity

I have just installed Flutter and trying it with Android Studio 4.1. The introductory 'test drive' code runs well, on my Android device and in Chrome. But while exploring the IDE I expanded the project files to find 'MainActivity', and immediately an error occurs: cannot resolve 'embedding'

screenshot

After this happens, the project won't recompile or run of course. I haven't added or deleted any code, I just expanded the project file tree. The same problem happened both before and after I added the web functionality beta, so it's not caused by that. AndroidManifest.xml also has unresolved symbols when it is opened. Maybe I won't ever need to edit these files in the Flutter environment, but this effect is confusing to say the least. Can anyone help?

question from:https://stackoverflow.com/questions/65939671/flutter-beginner-unresolved-symbols-in-mainactivity

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...