Please help me.
Uygulama önceden çalışıyordu.
Ama şimdi çalışmıyor
Here is the errors message when gradle sync
Here is my app Gradle configuration:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
defaultConfig {
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName '1.0'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.txt'
}
}
repositories {
jcenter()
mavenCentral() // GPUImage for Android
}
dexOptions {
javaMaxHeapSize "4g"
}
productFlavors {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/acra-4.5.0.jar')
compile files('libs/ormlite-android-4.43.jar')
compile files('libs/ormlite-core-4.43.jar')
compile files('libs/mysql-connector-java-3.0.17-ga-bin.jar')
androidTestCompile('com.android.support.test.espresso:espresso-
core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
// If you want to use the GPU Filters
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:customtabs:25.3.1'
testCompile 'junit:junit:4.12'
compile 'com.onesignal:OneSignal:[3.5.3,4.0.0)'
compile 'com.google.firebase:firebase-ads:10.0.0'
compile 'com.google.firebase:firebase-messaging:10.0.0'
compile 'com.loopj.android:android-async-http:1.4.9'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:2.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.mikhaellopez:circularimageview:3.0.2'
}
apply plugin: 'com.google.gms.google-services'
In your application build.gradle
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
And then add the dependencie(s):
dependencies {
compile "com.android.support:support-compat:26.0.1"
}
You should read this https://developer.android.com/topic/libraries/support-library/setup.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With