Skip to content
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Android: Cannot invoke method get() on null object #30

@brianephraim

Description

@brianephraim

"react-native": "0.60.5",
"@brandingbrand/react-native-leanplum": "^4.0.0",

Android build fails with:

Could not determine the dependencies of task ':@brandingbrand_react-native-leanplum:mergeReleaseResources'.
> Failed to notify dependency resolution listener.
   > Cannot invoke method get() on null object
   > Cannot invoke method get() on null object

I can get it to build by commenting out the lines shown below.

/node_modules/@brandingbrand/react-native-leanplum/android/build.gradle

dependencies {
    compile "com.facebook.react:react-native:+"
    compile 'com.leanplum:leanplum-fcm:5.2.3'
    // compile 'com.google.firebase:firebase-messaging:17.5.0'
    
    compile 'com.leanplum:leanplum-location:5.2.3'
    // compile "com.google.android.gms:play-services-location:17.0.0"
}

This problem does not exist in version 3.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions