Could not get unknown property 'android' for project ':path_provider' of type org.gradle.api.Project. code example
Example: Could not get unknown property 'android' for project ':app' of type org.gradle.api.Project
// fix
if (findProject('..:app') != null && project('..:app').hasProperty('android')) {
applicationId = project('..:app').android.defaultConfig.applicationId
} else if (findProject(':app') != null && project(':app').hasProperty('android')) {
applicationId = project(':app').android.defaultConfig.applicationId
}