Verde
Verde

Reputation: 21

"Cannot resolve symbol 'WifiNetworkSpecifier'"

I have an error "Cannot resolve symbol 'WifiNetworkSpecifier'". Import is not found, path in the documentation dont exist. I tried to rebuild project, invalidate caches. What should i do?

Upvotes: 1

Views: 875

Answers (2)

DeC
DeC

Reputation: 31

Go to build.gradle(app) and update below

android {
   compileSdkVersion 29
   buildToolsVersion "29.0.2
}
defaultConfig {
    targetSdkVersion 29
}

Upvotes: 1

Verde
Verde

Reputation: 21

Change tapget API in manifest to 29 level.

Upvotes: 0

Related Questions