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.

Can't build on android

See original GitHub issue

Your Environment

  • Plugin version: 0.5.0-alpha-25
  • Platform: Android
  • OS version: 27
  • Device manufacturer and model: Simulator
  • React Native version: 0.55.4
  • Plugin configuration options: NA
  • Link to your project: NA

Context

Just added this to my project as per the react-native link instructions, but my gradle refuses to sync now with: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.

Expected Behavior

Gradle should compile

Actual Behavior

I get this error: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common. and 4 more like it

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.
Open File
Show Details


Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.
Open File
Show Details


Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.
Open File
Show Details


Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve project :react-native-mauron85-background-geolocation-common.

Steps to Reproduce

Simply added the library to my project and ran react-native link

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
farahtycommented, May 12, 2018

any solution , i have same issue with fresh new app

2reactions
kruyvannacommented, May 18, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug - Can't build for Android - Unity Forum
Latest Hub 3.2.0 in combination with Unity 2021.3.6 can't build for Android because there is a missing Tools folder inside Editor\Data\ ...
Read more >
Cannot build Android from Android Studio #17853 - GitHub
I was trying to build the app from android studio to check the logcat but while syncing to project with Gradle. The operation...
Read more >
Flutter : can't build android in debug or release - Stack Overflow
i've tried to delete .gradle file and nothing happened. EDITED. my pubsec.yaml : name: app description: Application # The following line ...
Read more >
Known issues with Android Studio and Android Gradle Plugin
Known issues with the Android Gradle Plugin · Not all dynamic-feature library dependencies are lint checked · Signing file named with carriage return...
Read more >
Cannot build for Android because of Gradle Error
I know this question has been taken up on the internet forums but none of them have a proper solution that works. I...
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