God
God

Reputation: 1248

Parse SDK - Can't install (failed to find target with hash string 'android-22')

I'm trying to install Parse SDK. As their site says https://parse.com/apps/quickstart#parse_data/mobile/android/native/new i downloaded I extracted the .zip file and went to my project in Android Studio. As they say - File->Open-> build.gradle in the ParseStarterProject. Then in the project i get these errors: Failed to sync Gradle project 'ParseStarterProject'

Error:Cause: failed to find target with hash string 'android-22' in: C:\Users\Me\AppData\Local\Android\sdk <a href="openAndroidSdkManager">Open Android SDK Manager</a>

I checked StackOverFlow all around for that error message and nothing helped. I got all the android sdk installed. As in here failed to find target with hash string 'android-22' I installed the Build tools.

Maybe i need to do something in build.gradle?

Any sugggesstions will be very appreciated.

Upvotes: 0

Views: 988

Answers (1)

Chol
Chol

Reputation: 2117

Instead of downloading the zipp and import it in studio, you can directly use the dependencie:

dependencies {
  compile 'com.parse:parse-android:1.13.0'
}

As shown here: https://github.com/ParsePlatform/parse-sdk-android

Upvotes: 1

Related Questions