I tried almost every solution, but I think this is something specific to my project libraries.
This is my project level gradle.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
And this is my app level gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.2'
defaultConfig {
applicationId "com.codepath.the_town_kitchen"
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName "1.0"
multiDexEnabled true
}
signingConfigs {
debug {
storeFile file("keystore/debug.keystore")
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
repositories { mavenCentral() }
repositories {
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:cardview-v7:27.0.2'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support:recyclerview-v7:27.0.2'
compile 'com.squareup.picasso:picasso:2.4.0'
compile 'com.loopj.android:android-async-http:1.4.6'
compile 'com.google.android.gms:play-services:6.5.87'
compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
compile 'com.github.flavienlaurent.datetimepicker:library:0.0.2'
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.github.johnkil.android-robototextview:robototextview:2.3.0'
compile fileTree(dir: 'libs', include: 'Parse-*.jar')
compile 'com.makeramen:roundedimageview:1.5.0'
compile 'com.stripe:stripe-android:2.0.2'
}
I have tried to sync all the libraries with latest version and also added multiDexEnabled
option . However, still it is not working . What more can I modify to trace the issue?
I am using stripe as payment gateway. I tried to figure if its libraries could be issue, but there is not such thing I found which is relative.