eleme-imf / dodo Goto Github PK
View Code? Open in Web Editor NEWReact Native location sdk based on amap.
React Native location sdk based on amap.
react-native 版本: 0.41.2
Android中的onLocationChanged也不会触发
具体原因不明,一定要杀掉App进程,再次进去才可以.
RT
MainApplication.java:30: 错误: 找不到符号
new AMapLocationReactPackage()
能不能加一个获取当前位置的方法,不需要通过Listener
错误内容
'AMapFoundationKit/AMapFoundationKit.h' file not found
android配置成功了,但ios出现'AMapFoundationKit/AMapFoundationKit.h' file not found
是不是不能通过CocoaPods来安装SDK,手动部署表示一脸懵逼
build的过程中报下面的错误
...
:ele-react-native-location:compileReleaseJavaWithJavac
:ele-react-native-location:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
ע: E:\react-native\ReactNativePlatform\node_modules\ele-react-native-location\android\src\main\java\me\ele\dodo\AMapLocationReactModule.javaʹ▒û▒▒▒▒ѹ▒ʱ▒▒ API▒▒
ע:
...
然后在最后报这个错误,对Java不了解,使引入包的错误吗?
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
E:\react-native\ReactNativePlatform\android\app\src\main\java\com\reactnativeplatform\MainApplication.java:12: 错误: 找 不到符号
import me.ele.dodo.AMapLocationRecatPackage;
^
符号: 类 AMapLocationRecatPackage
位置: 程序包 me.ele.dodo
E:\react-native\ReactNativePlatform\android\app\src\main\java\com\reactnativeplatform\MainApplication.java:31: 错误: 找 不到符号
new AMapLocationReactPackage()
^
符号: 类 AMapLocationReactPackage
2 个错误
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
下面这段错误第一个箭头是指向dodo后面的点,第二个箭头是指向AMapLocationReactPackage第一个字母A
非常好用的插件,麻烦维护者定期升级一下高德SDK版本。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.