A problem occurred configuring root project 'path_provider'. > SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. code example
Example: SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file
sdk.dir = /home/USERNAME/Android/Sdk