Crash on android 25 API

App crashes every time on Android 4.2.2, Sumsung GT-I9082 if I use next settings in gradle:

compileSdkVersion 25
buildToolsVersion ‘25.0.0’
supportLibVer = “25.0.1”

But all working properly if android API is 23:

compileSdkVersion 23
buildToolsVersion ‘23.0.3’
supportLibVer = “23.4.0”

Also all working without crashes on devices with API 21 and higher

Crash:

E/AndroidRuntime: FATAL EXCEPTION: main
 java.lang.ExceptionInInitializerError
 at com.lucky.notewidget.App.onCreate(App.java:68)
 at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017)
 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4556)
 at android.app.ActivityThread.access$1400(ActivityThread.java:150)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:137)
 at android.app.ActivityThread.main(ActivityThread.java:5283)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:511)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
 at dalvik.system.NativeStart.main(Native Method)
 Caused by: java.lang.ExceptionInInitializerError
 at com.backendless.Backendless.<clinit>(Backendless.java:44)
 at com.lucky.notewidget.App.onCreate(App.java:68) 
 at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017) 
 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4556) 
 at android.app.ActivityThread.access$1400(ActivityThread.java:150) 
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340) 
 at android.os.Handler.dispatchMessage(Handler.java:99) 
 at android.os.Looper.loop(Looper.java:137) 
 at android.app.ActivityThread.main(ActivityThread.java:5283) 
 at java.lang.reflect.Method.invokeNative(Native Method) 
 at java.lang.reflect.Method.invoke(Method.java:511) 
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) 
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) 
 at dalvik.system.NativeStart.main(Native Method) 
 Caused by: java.lang.NullPointerException
 at weborb.types.Types.addClientClassMapping(Types.java:129)
 at com.backendless.UserService.<init>(UserService.java:56)
 at com.backendless.UserService.<clinit>(UserService.java:47)
 at com.backendless.Backendless.<clinit>(Backendless.java:44) 
 at com.lucky.notewidget.App.onCreate(App.java:68) 
 at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1017) 
 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4556) 
 at android.app.ActivityThread.access$1400(ActivityThread.java:150) 
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340) 
 at android.os.Handler.dispatchMessage(Handler.java:99) 
 at android.os.Looper.loop(Looper.java:137) 
 at android.app.ActivityThread.main(ActivityThread.java:5283) 
 at java.lang.reflect.Method.invokeNative(Native Method) 
 at java.lang.reflect.Method.invoke(Method.java:511) 
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) 
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) 
 at dalvik.system.NativeStart.main(Native Method) 

Application class:
68 Backendless.Data.mapTableToClass(“NDevice”, NDevice.class);
69 Backendless.Data.mapTableToClass(“Users”, BackendlessUser.class);
70 Backendless.initApp(this, NData.i().BACKENDLESS_APP_ID, NData.i().BACKENDLESS_SECRET_KEY, “v1”);

Gradle:

buildscript {
 repositories {
 jcenter()
 maven { url 'https://maven.fabric.io/public' }
 }
 dependencies {
 // The Fabric Gradle plugin uses an open ended version to
 // react quickly to Android tooling updates
 classpath 'io.fabric.tools:gradle:1.+'
 }
}



apply plugin: 'com.android.application'



//Put Fabric plugin after Android plugin
apply plugin: 'io.fabric'



android {



 lintOptions {
 checkReleaseBuilds false
 // Or, if you prefer, you can continue to check for errors in release builds,
 // but continue the build even when errors are found:
 abortOnError false
 }



 signingConfigs {
 config {
 keyAlias 'xxx'
 keyPassword 'xxx'
 storeFile file('../xxx')
 storePassword 'xxx'
 }
 }



 sourceSets.main {
 jniLibs.srcDir 'src/main/libs'
 }



 compileSdkVersion 25
 buildToolsVersion '25.0.0'



 useLibrary 'org.apache.http.legacy'



 def versionMajor = 1
 def versionMinor = 1
 def versionGit = "git rev-list HEAD --count".execute().text.trim()
 def versionBuild = 51



 defaultConfig {
 applicationId 'xxx'
 minSdkVersion 14
 targetSdkVersion 23
 versionCode versionBuild
 versionName "${versionMajor}.${versionMinor}.${versionGit}-${versionBuild}"



 manifestPlaceholders = [manifestApplicationId : "${applicationId}",
 onesignal_app_id : "xxx",
 onesignal_google_project_number: "xxx"]
 }



 buildTypes {
 debug {
// versionNameSuffix ".${versionGit}"
// debuggable false
// minifyEnabled true
// zipAlignEnabled true
 debuggable true
 multiDexEnabled true
 minifyEnabled false
 zipAlignEnabled false
 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
 signingConfig signingConfigs.config
 }
 release {
// versionNameSuffix ".${versionGit}"
 debuggable false
 minifyEnabled true
 zipAlignEnabled true
 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
 signingConfig signingConfigs.config
 }
 }
 applicationVariants.all { variant ->
 variant.outputs.each { output ->
 output.outputFile = new File(output.outputFile.parent, output.outputFile.name.replace(".apk", "-" + defaultConfig.versionName + ".apk"))
 }
 }



 sourceSets {
 main {
 java {
 exclude '**/sources/**'
 }
 }
 }



 aaptOptions {
 ignoreAssetsPattern "xxx"
 }
}



repositories {
 jcenter()
 mavenCentral()
 maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
 maven { url "http://dl.bintray.com/populov/maven" }
 maven { url 'https://maven.fabric.io/public' }
// maven { url 'http://dl.bintray.com/amulyakhare/maven' }
}



project.ext {
 supportLibVer = "25.0.1"
}



dependencies {
 compile fileTree(include: ['*.jar'], dir: 'libs')
 compile "com.android.support:appcompat-v7:${project.ext.supportLibVer}"
 compile "com.android.support:design:${project.ext.supportLibVer}"
 compile "com.android.support:cardview-v7:${project.ext.supportLibVer}"



 compile 'com.google.android.gms:play-services-gcm:9.8.0'
 compile 'com.google.android.gms:play-services-ads:9.8.0'



 compile 'com.onesignal:OneSignal:2.+@aar'
 compile 'com.backendless:backendless:3.0.20.1'
 compile 'org.greenrobot:eventbus:3.0.0'



 compile 'io.reactivex:rxandroid:1.2.1'
 compile 'io.reactivex:rxjava:1.1.6'



 // compile 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
 compile 'se.simbio.encryption:library:1.0.0'
 compile 'com.google.code.gson:gson:2.4'
 compile 'com.jakewharton:butterknife:7.0.1'
 compile 'info.hoang8f:android-segmented:1.0.4'
 compile 'com.diegocarloslima:byakugallery:0.1.+@aar'
 compile 'com.nostra13.universalimageloader:universal-image-loader:+'
 // compile 'com.github.yukuku:ambilwarna:+'
 // compile 'com.parse:parse-android:1.13.0'// 1.12.0 1.10.3
 // compile 'org.hybridsquad.android.photocropper:library:3.0.2'
 compile 'com.theartofdev.edmodo:android-image-cropper:1.2.+'



 compile project(':ColorPickerPreference')
 compile project(':draglistview')
 compile('com.digits.sdk.android:digits:1.11.0@aar') { // 1.11.0
 transitive = true;
 }



 compile('com.crashlytics.sdk.android:crashlytics:+@aar') { // 2.5.7
 transitive = true;
 }



 compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
}

Please see the “best answer” in this topic, it looks like the issues are similar:
http://support.backendless.com/t/java-lang-noclassdeffounderror-weborb-types-types-and-java-lang-exceptionininitializererror