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

flutter 打包报错 #38

Open
DMCHZP opened this issue Jan 17, 2020 · 2 comments
Open

flutter 打包报错 #38

DMCHZP opened this issue Jan 17, 2020 · 2 comments

Comments

@DMCHZP
Copy link

DMCHZP commented Jan 17, 2020

  • What went wrong:
    Could not determine the dependencies of task ':amap_location:mergeReleaseResources'.

Could not resolve all task dependencies for configuration ':amap_location:releaseRuntimeClasspath'.
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://repo1.maven.org/maven2/com/amap/api/location/maven-metadata.xml.
> Could not HEAD 'http://repo1.maven.org/maven2/com/amap/api/location/maven-metadata.xml'. Received status code 501 from server: HTTPS Required

@chenjinguang
Copy link

我这儿也报错,升级到flutter 1.17版本之后

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':amap_location:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':amap_location:debugCompileClasspath'.
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 https://storage.googleapis.com/download.flutter.io/com/amap/api/location/maven-metadata.xml.
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/com/amap/api/location/maven-metadata.xml'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/com/amap/api/location/maven-metadata.xml'.
> Connect to storage.googleapis.com:443 [storage.googleapis.com/34.64.4.112] failed: Read timed out

@shichunlei
Copy link

shichunlei commented May 11, 2020

同上 升级到1.17.0后报相同的错

我是这么解决的

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

3 participants