flutter_amap_location
flutter_amap_location copied to clipboard
flutter 打包报错
- 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
我这儿也报错,升级到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