I solved out it just now.
It seems that something wrong in SDK 20
I install SDK-19.0.1 and rewrite the file “build.gradle”
It seems that something wrong in SDK 20
I install SDK-19.0.1 and rewrite the file “build.gradle”
android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
minSdkVersion 10
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// You must install or update the Google Repository through the SDK manager to use this dependency.
compile 'com.android.support:appcompat-v7:19.+'
compile 'com.android.support:support-v4:19.+'
}
Success finally!
No comments :
Post a Comment