A problem occurred configuring project ‘:path_provider_android’

  Kiến thức lập trình

Every time I launch my flutter application on my emulator I get this error. Help me please

What went wrong:
A problem occurred configuring project ‘:path_provider_android’.

Could not load compiled classes for build file ‘C:UsersDELLAppDataLocalPubCachehostedpub.devpath_provider_android-2.2.1androidbuild.gradle’ from cache.
Failed to notify project evaluation listener.
Could not get unknown property ‘android’ for project ‘:path_provider_android’ of type org.gradle.api.Project.
Could not get unknown property ‘android’ for project ‘:path_provider_android’ of type org.gradle.api.Project.

I tried deleting the contents of the C:UsersDELLAppDataLocalPubCachehostedpub.dev folder then doing a pub get again but nothing seems to work

LEAVE A COMMENT