Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not determine the dependencies of task ':amap_location:generateDebugRFile'. #32

Open
shijinliang opened this issue Oct 25, 2019 · 1 comment

Comments

@shijinliang
Copy link

amap_location: 0.1.2
Android studio 3.5.1
classpath 'com.android.tools.build:gradle:3.4.2'


Launching lib/main.dart on ELE AL00 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':amap_location:generateDebugRFile'.
> Could not resolve all task dependencies for configuration ':amap_location:debugRuntimeClasspath'.
   > Could not resolve com.amap.api:location:latest.integration.
     Required by:
         project :amap_location
      > Failed to list versions for com.amap.api:location.
         > Unable to load Maven meta-data from http://maven.aliyun.com/nexus/content/repositories/releases/com/amap/api/location/maven-metadata.xml.
            > Could not get resource 'http://maven.aliyun.com/nexus/content/repositories/releases/com/amap/api/location/maven-metadata.xml'.
               > Could not GET 'http://maven.aliyun.com/nexus/content/repositories/releases/com/amap/api/location/maven-metadata.xml'.
                  > Read timed out

* 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 1m 33s
Finished with error: Gradle task assembleDebug failed with exit code 1

@shijinliang
Copy link
Author

I find this problem with amap_location's build.gradle, this message is as flollow:


compile is deprecated; replace with implementation 
Inspection info:Some Gradle configurations have been  deprecated since Android Gradle Plugin 3.0.0 and will be removed in a future version of the Android Gradle Plugin.

Issue id: GradleDeprecatedConfiguration

More info:
https://d.android.com/r/tools/update-dependency-configurations

Bud this motification is invalid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant