question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build failed with intercom-android v5.1.6

See original GitHub issue

react-native-intercom depends on io.intercom.android:intercom-sdk-base:5.+. A few hours ago version 5.1.6 of intercom-android was released, including a bump of appCompat-v7 from 27.x to 28. In each android project all dependencies have to be built with the same appCompat version.

It is recommended to use the same versions as RN does, and latest RN is currently using this:

    buildToolsVersion = "27.0.3"
    compileSdkVersion = 27
    supportLibVersion = "27.1.1"

intercom-android should be pinned to v5.1.5 as long as RN still use 27.x as build/compile/supportLib version.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

14reactions
pushpushcommented, Nov 15, 2018

My fix. FIle - android/build.gradle

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            configurations.all {
                resolutionStrategy.force 'io.intercom.android:intercom-sdk-base:5.1.5'
            }
        }
    }
}
1reaction
mrikirillcommented, Nov 29, 2018

For expokit, this helped me: android/build.gradle

subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            configurations.all {
                resolutionStrategy.force 'io.intercom.android:intercom-sdk-base:5.1.5'
                resolutionStrategy.force 'com.android.support:recyclerview-v7:27.1.1'
            }
        }
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native Android builds fail - Interconnected
React Native Android builds fail. Hey, I'm getting the following build error trying to integrate the React Native SDK with Android builds.
Read more >
Build Failed Generated APK Release · Issue #246 - GitHub
Hello I see error when i build apk release : ` Task :app:bundleReleaseJsAndAssets Scanning folders for symlinks in J:\Projet\foongon\react ...
Read more >
Android Build Error: "lStar not found..." - Stack Overflow
It seems that at least one of your dependencies is already using lStar which is a system attribute that's new as of API...
Read more >
react-native-intercom入れる - recolog
で怒られるBuild failed with intercom-android v5.1.6 · Issue #238 · tinycreative/react-native-intercom · GitHub このコメントどおり下記を入れ ...
Read more >
Cardo Connect app, updater, software upgrades, manual ...
Will it pair with any other Bluetooth intercoms?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found