react-native-amap-geolocation
react-native-amap-geolocation copied to clipboard
程序包android.support.annotation不存在
\geolocation\AMapGeolocationModule.java:3: 错误: 程序包android.support.annotation不存在
React-Native版本:0.59.10 react-native-amap-geolocation版本:1.0.4
请问怎么解决?谢谢!
同样的问题
暂未解决,请问有好的办法吗?
------------------ 原始邮件 ------------------ 发件人: "cw0925"[email protected]; 发送时间: 2019年9月26日(星期四) 下午4:36 收件人: "qiuxiang/react-native-amap-geolocation"[email protected]; 抄送: "余水生"[email protected];"Comment"[email protected]; 主题: Re: [qiuxiang/react-native-amap-geolocation] 程序包android.support.annotation不存在 (#99)
同样的问题
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
我是把那两句注释解决的,可以参考一下
我也是注释。。不知道有没有影响。但没有报错了
这个是由于使用了Rn升级或者安装新的包,导致使用了androidx 集成而导致的问题,需要查一下是哪个包影响的,改下版本不使用androidx,还有就是要注意一下react-native-amap-geolocation的版本
好的,我再试试,谢谢回复!
------------------ 原始邮件 ------------------ 发件人: "lrxiang"[email protected]; 发送时间: 2019年10月10日(星期四) 中午11:01 收件人: "qiuxiang/react-native-amap-geolocation"[email protected]; 抄送: "余水生"[email protected];"Comment"[email protected]; 主题: Re: [qiuxiang/react-native-amap-geolocation] 程序包android.support.annotation不存在 (#99)
这个是由于使用了Rn升级或者安装新的包,导致使用了androidx 集成而导致的问题,需要查一下是哪个包影响的,改下版本不使用androidx,还有就是要注意一下react-native-amap-geolocation的版本
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
这个是由于使用了Rn升级或者安装新的包,导致使用了androidx 集成而导致的问题,需要查一下是哪个包影响的,改下版本不使用androidx,还有就是要注意一下react-native-amap-geolocation的版本
请问"react-native": "0.61.1",下哪个react-native-amap-geolocation的版本
我的版本是v1.0.4 也存在这个问题
好的,我再试试,谢谢回复! … ------------------ 原始邮件 ------------------ 发件人: "lrxiang"[email protected]; 发送时间: 2019年10月10日(星期四) 中午11:01 收件人: "qiuxiang/react-native-amap-geolocation"[email protected]; 抄送: "余水生"[email protected];"Comment"[email protected]; 主题: Re: [qiuxiang/react-native-amap-geolocation] 程序包android.support.annotation不存在 (#99) 这个是由于使用了Rn升级或者安装新的包,导致使用了androidx 集成而导致的问题,需要查一下是哪个包影响的,改下版本不使用androidx,还有就是要注意一下react-native-amap-geolocation的版本 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
解决了吗?【关注】
未解决,我已放弃这个版本,重新拉取版本操作!
------------------ 原始邮件 ------------------ 发件人: "Shuqi Luo"[email protected]; 发送时间: 2019年10月10日(星期四) 中午12:32 收件人: "qiuxiang/react-native-amap-geolocation"[email protected]; 抄送: "余水生"[email protected];"Comment"[email protected]; 主题: Re: [qiuxiang/react-native-amap-geolocation] 程序包android.support.annotation不存在 (#99)
好的,我再试试,谢谢回复! … ------------------ 原始邮件 ------------------ 发件人: "lrxiang"[email protected]; 发送时间: 2019年10月10日(星期四) 中午11:01 收件人: "qiuxiang/react-native-amap-geolocation"[email protected]; 抄送: "余水生"[email protected];"Comment"[email protected]; 主题: Re: [qiuxiang/react-native-amap-geolocation] 程序包android.support.annotation不存在 (#99) 这个是由于使用了Rn升级或者安装新的包,导致使用了androidx 集成而导致的问题,需要查一下是哪个包影响的,改下版本不使用androidx,还有就是要注意一下react-native-amap-geolocation的版本 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
解决了吗?【关注】
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
https://www.jianshu.com/p/41de8689615d 这个可能对你们有所帮助,我使用的是 RN0.59.10的版本,很多的应用目前开始有部分兼容Androidx可以进行版本迁移,但是有的版本是不支持androix。目前这个应用,好像还没有完成androidx的迁移,所以你们可以问下作者或者更新下来,自行修改使之能够兼容到androidx
试试将其自行修改到androidx
将android.support.annotation改成 androidx.annotation
谢谢回复
---原始邮件--- 发件人: "夜雨"<[email protected]> 发送时间: 2020年7月15日(周三) 晚上6:02 收件人: "qiuxiang/react-native-amap-geolocation"<[email protected]>; 抄送: "1442916418"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [qiuxiang/react-native-amap-geolocation] 程序包android.support.annotation不存在 (#99)
将android.support.annotation改成 androidx.annotation
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.