Search code examples
androidandroid-gradle-pluginchatquickblox

Quickblox: SDK location not found


I have imported the sample chat app from Quickblox. The sdk.dir is in place in the local.properties, but I ma receiving the below error:

Gradle 'sample-chat' project refresh failed
Error:SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

Anyone has any ideas why this is happening?


Solution

  • As you can see this error relates to Android SDK location, not to particular library such as QuickBlox. Just set Android API level for your project in settings. For more information refer to https://developer.android.com/tools/studio/index.html