Plugin project :location_web not found. Please update settings.gradle. How do I fix this?

后端 未结 5 963
旧时难觅i
旧时难觅i 2021-02-02 09:57

I was using the google maps api and location pub,dev package in my android flutter app, and tried to bring up an image using the url from the api. This was the url with some cod

5条回答
  •  误落风尘
    2021-02-02 10:21

    I had the same issue and following @Peter Haddad answer, I copy and replaced the code in settings.gradle (all of it) and I had errors resolving symbol for properties and file.

    TO FIX IT: go to Tools -> Flutter -> Open for editing in Android Studio

    In the Android Studio window go to File -> Invalidate Cache and Restart

    This seemed to fix it for me.

提交回复
热议问题