please help
MaheshCapcee opened this issue · 5 comments
MaheshCapcee commented
i am using this project gradle sync failde how to solve
error is
Error:Failed to find target with hash string 'android-25' in: E:\Android\sdk
MaheshCapcee commented
hello sir please help me i am also stuck
henrytao-me commented
Can you share your gradle file here?
MaheshCapcee commented
apply plugin: "com.android.application"
android {
compileSdkVersion rootProject.ext.android.compileSdkVersion
buildToolsVersion rootProject.ext.android.buildToolsVersion
defaultConfig {
applicationId rootProject.ext.android.applicationId
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode rootProject.ext.android.versionCode
versionName rootProject.ext.android.versionName
}
buildTypes {
debug {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
lintOptions {
disable "InvalidPackage"
lintConfig file("lint.xml")
}
packagingOptions {
exclude "META-INF/services/javax.annotation.processing.Processor"
}
}
dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile rootProject.ext.sampleDependencies["com.android.support:design"]
compile rootProject.ext.sampleDependencies["com.android.support:appcompat-v7"]
compile rootProject.ext.sampleDependencies["com.android.support:cardview-v7"]
compile rootProject.ext.sampleDependencies["com.android.support:recyclerview-v7"]
compile(rootProject.ext.sampleDependencies["me.henrytao:recyclerview"]) {
exclude group: "com.android.support"
}
compile(rootProject.ext.sampleDependencies["me.henrytao:mdcore"]) {
exclude group: "com.android.support"
}
compile rootProject.ext.sampleDependencies["com.jakewharton:butterknife"]
compile(project(":smooth-app-bar-layout")) {
exclude group: "com.android.support"
}
}
MaheshCapcee commented
sir
i just downloaded your project and imported in my android studio that's all
henrytao-me commented
I am not sure how can I help on this issue. Look like you are working on Windows environment.
I will close this ticket for now but if you need further assistant, just let me know. Thanks.