I want to export and import a gradle project which I used in Android with Eclipse.
Problems importing project into Android Studio regarding ActionBarSherlock
android {
compileSdkVersion 'Google Inc.:Google APIs:17'
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.matetek.Hello"
minSdkVersion 14
android:targetSdkVersion="23"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile 'com.android.support:support-v4:18.0.+'
}
cannot use
import com.actionbarsherlock.app.ActionBar
import com.actionbarsherlock.app.SherlockFragmentActivity
also
Error:(10, 0) Cause: startup failed:
build file 'C:\Work\Hello\build.gradle': 10: Statement labels may not be used in build scripts.
In case you tried to configure a property named 'android', replace ':' with '=' or ' ', otherwise it will not have the desired effect.
@ line 10, column 17.
android:targetSdkVersion="23"
Help me
I'm sorry I`m not good at English