flutter_amap_location icon indicating copy to clipboard operation
flutter_amap_location copied to clipboard

找不到com.amap.api.location.AMapLocationListener的类文件

Open CatEatFishs opened this issue 5 years ago • 5 comments

使用 amap_location: ^0.2.0 Flutter 1.5.4-hotfix.2 • channel stable Dart 2.3.0 (build 2.3.0-dev.0.5 a1668566e5) 会报下面这个找不到类的错误,请解决一下

/Users/hongka-liming/hongka4.0/flutterHK/hongka_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:30: 错误: 无法访问AMapLocationListener AmapLocationPlugin.registerWith(registry.registrarFor("com.jzoom.amaplocation.AmapLocationPlugin")); ^ 找不到com.amap.api.location.AMapLocationListener的类文件 1 个错误 Finished with error: Gradle task assembleDebug failed with exit code 1

CatEatFishs avatar May 29 '19 09:05 CatEatFishs

一样的错误

GuoChang2032 avatar May 30 '19 10:05 GuoChang2032

我也有一样的错误

guuguo avatar Jun 03 '19 02:06 guuguo

一样的错误

haibin2017 avatar Jun 09 '19 06:06 haibin2017

image 加上这个配置后可以了,测试项目正常,正式项目有这个错误 image

haibin2017 avatar Jun 09 '19 06:06 haibin2017

目前还是有这个问题,haibin2017的方法是可以暂时解决

wk1017553772 avatar Oct 23 '19 02:10 wk1017553772