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.

unable to build any platform

See original GitHub issue

on Android I keep getting this

FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture fingerprint of input files for task ':app:checkDebugClasspath' property 'compileClasspath' during up-to-date check.
> In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[10.2.
  6]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
  
  Dependency failing: com.google.android.gms:play-services-auth:10.2.6 -> com.google.android.gms:play-services-basement@[1
  0.2.6], but play-services-basement version was 16.1.0.
  
  The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
  ifact with the issue.
  -- Project 'app' depends onto com.google.firebase:firebase-core@16.0.4
  -- Project 'app' depends onto com.google.firebase:firebase-messaging@17.3.4
  -- Project 'app' depends onto com.google.android.gms:play-services-base@16.0.1
  -- Project 'app' depends onto com.google.firebase:firebase-auth@16.0.5
  -- Project 'app' depends onto com.google.firebase:firebase-perf@16.2.0
  -- Project 'app' depends onto com.google.android.gms:play-services-auth@10.2.6
  
  For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
  endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
  github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
  uild.gradle file.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 17s
Unable to apply changes on device: emulator-5556. Error is: Command ./gradlew failed with exit code 1.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anaszghcommented, Dec 22, 2018

@diadal @EddyVerbruggen have you managed to solve this issue, i’m facing the same problem.

I have social-login installed as well, but i configured the plugin-firebase for notifications only

i’m using tns version 5.1.0

here is the firebase.nativescript.json content

{
    "external_push_client_only": true,
    "using_ios": true,
    "using_android": true
}

and here is app.gradle


android { 
    project.ext {
       googlePlayServicesVersion = "16.1.0"
    }
  defaultConfig {  
    generatedDensities = []
    applicationId = "com.eventrest.mobile"  
  }  
  aaptOptions {  
    additionalParameters "--no-version-vectors"  
  }  
} 
1reaction
EddyVerbruggencommented, Nov 19, 2018

Can you disable the Google sign-in feature in the Firebase plugin? That may help to fix this issue as it depends on a much older play services version.

Alternatively, you can try adding this to App_Resources/android/app.gradle:

android {
    // other stuff here

    project.ext {
       googlePlayServicesVersion = "16.1.0"
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build any project - Help me - PlatformIO Community
Hi everybody! I am tring to fix a problema with my installation of PlatformIO over VS Code for two days. I coded, builded...
Read more >
Troubleshoot development - Platform.sh Documentation
Builds can take long time or fail. Most of the time, it's related to an application issue. Here are a few tips that...
Read more >
RE: CCSv6.0.1 ERROR: xdc.tools.configuro: Error: Can't find ...
I hope by resolving this error, could make the application build complete. Please support us, in the resolving the issue: Specifically, I have ......
Read more >
Unable to build a cross platform apps on Xamarin.forms?
You can fix this by issuing an update-package -reinstall command in the Package Manager Console.
Read more >
Unable to build to Android at all - "ERROR: GetBuildPlatform
The project also is set to have Android as a Supported Platform · Under the Epic Games Launcher, both 4.12. · Android SDK...
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