Backendless.initapp Crashes

My app crashes on Backendless.initapp on this line:

Backendless.initApp(this, “8B896105-6244-894C-FF80-9C8045E66600”, “D07AC071-C614-2A0D-FF05-E36C6C98B700”);

I am using instantApp features and my features Gradle Module looks like so:

apply plugin: ‘’

android {
compileSdkVersion 27
defaultConfig {
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName “1.0”
testInstrumentationRunner “”
buildTypes {
release {
minifyEnabled false

lintOptions {
    disable 'InvalidPackage', 'RtlCompat'
    abortOnError false

defaultConfig {
    multiDexEnabled true

dexOptions {
    javaMaxHeapSize "3g" //specify the heap size for the dex process


dependencies {
implementation fileTree(include: [’*.jar’], dir: ‘libs’)
implementation group: ‘com.backendless’, name: ‘backendless’, version: ‘5.0.0’

// required for real-time database and real-time messaging
implementation ('') {
    // excluding org.json which is provided by Android
    exclude group: 'org.json', module: 'json'
    implementation project(':base')
    testImplementation 'junit:junit:4.12'
    androidTestImplementation ''
androidTestImplementation ''

}I can confirm that I do have the Backendless SDK installed. I am suspecting that it could be a targeting version issue as the sample targets SDK version 26.

Hi Mabuya,

What version of Backendless SDK do you have installed?


Hi Mark

Version 5.0.0.

I added it in gradle and successfully synced. I then successfully built the project. However, when I try and initialize it crashes as above.

This is the line where I added Backendless 5.0.0 in gradle.

implementation group: ‘com.backendless’, name: ‘backendless’, version: ‘5.0.0’

I ran App without Instant Run and it no longer crashes at Backendless.initApp.