Execution failed for task :app:checkDebugAarMetadata. Could not resolve com.google.android.gms:play-services-location:16.+

Questions : Execution failed for task :app:checkDebugAarMetadata. Could not resolve com.google.android.gms:play-services-location:16.+


enter image description hereFAILURE: programming Build failed with an exception.

  • What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for Learning configuration Earhost ':app:debugRuntimeClasspath'. Could not most effective resolve wrong idea com.google.android.gms:play-services-location:16.+. Required use of case by: project :app > project United :location > Failed to list versions Modern for ecudated com.google.android.gms:play-services-location. > some how Unable to load Maven meta-data from anything else https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml. > not at all Could not get resource very usefull 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml'. > localhost Could not GET love of them 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml'. localtext Received status code 502 from server: basic Bad Gateway

  • Try: Run with --stacktrace option to get one of the the stack trace. Run with --info or click --debug option to get more log output. there is noting Run with --scan to get full insights.

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


Total Answers 2

Answers 1 : of Execution failed for task :app:checkDebugAarMetadata. Could not resolve com.google.android.gms:play-services-location:16.+

Main problem that location:3.2.4 has no not alt strict Android dependency version not at all play-services-location:16.+ and Gradle my fault can't list version because issues google.bintray.com is down

Straight way to workaround this problem trying is to add Gradle Constraints on get 4th result transitive dependency and specify round table concrete version

You have to edit your project file double chance app/build.gradle

dependencies {
  constraints {
    _OFFSET);  implementation('com.google.android.gms:play-services-location') (-SMALL  {
        version {
            strictly _left).offset  "16.0.0"
        because arrowImgView.mas  'location: 3.2.4 does not specify (self.  version & google.bintray.com answers equalTo  502 Bad Gateway'

Answers 2 : of Execution failed for task :app:checkDebugAarMetadata. Could not resolve com.google.android.gms:play-services-location:16.+

The repository URL is wrong; you might novel prc have to add google():


Top rated topics

Add branch lines to tree PrimeNg

Why does this code print something different depending on the indentation?

Representing Locales as Integers not as Alpha2-Code

Count Unique Data With Minimum Date Postgres

Create a data frame from vector, using the values as columns

Migration of custom Module from Odoo 13 to 15

MediaLive Stream Bad Performance

Azure DevOps Build pipeline `npm install` failing on node-gyp

Powershell How to add a variable from a twice nested property

Azure databricks vscode: ERROR: TypeError: Cannot read property 'data' of undefined

Failure to change kernel log level

How can we remove rows between multiple dataframe that shared a commun words in R?

Show composable snackbar/alert dialog from any context

Regex issue in Safari

ElasticSearch Convert Rest Query for nested field to client Scala/Java code

JetBrains Rider debug mode evaluator exception

How to resolve 'preflight is invalid (redirect)' or 'redirect is not allowed for a preflight request'

Call useEffect and re-render every time I call the same API

How to share a view model in C++ UWP?

Using event delegation (bubbling) in web component with slot problem

What is the most powerful way to import data into a Neo4J database?

Get string from returned Text Widget extended stateless widget flutter

Soap signature with JKS in Django

Cannot access sitemap in yii2 project placed in root folder

DataStoreError: The operation couldn’t be completed. (SQLite.Result error 0.)

Flutter: APK Requires Promiment disclosure/APK Requires valid privacy

Write on SD card as DPC/device owner

Java - Problem with saving buffered image to file rotates 90 degrees

How to disable arrow key navigation on PrimeNG Table

Multitenancy with Azure IOT Hub

Can use NPM in CMD but can't use NPM in Visual Studio Code terminal wiht

Import cv2 error affected by ROS kinetic cv2 installation

Avoid text overlay on swipe with react native gesture handler

Using importxml on Excel to fetch social media links from a website

Xcode 13.1 stuck on installing simulator on Apple M1 Pro

Step over a C++ throw statement in GDB

Elastic Beanstalk Django app deployment 502 Bad Gateway Server not running (No module named: 'application')

(ssg-wsg) Keep getting error with error code 403

Secure Kibana and elasticsearch using SSL / TLS

How to correctly catch and handle errors in Http get request to Facebook api

WP List Table Sort by SKU and custom fields

IntelliJ format code w.r.t. lenght of characters

How do I delay animate, not whileOver or WhileTap in framer motion?

How to save a file to Google Drive from Flutter web without a local file on disk?

Array push in javascript associative array

Compare several dataframe columns to list

Shap.bar_plot() - TypeError: only integer scalar arrays can be converted to a scalar index

How can I generate Clang JSON Compilation Database on Windows

Migrate from MariaDB to MySQL

Why display:block on button doesn't make the button full width of the container?