aruis / cordova-plugin-baidumaplocation

Get device current Location from Baidu Map
https://www.npmjs.com/package/cordova-plugin-baidumaplocation
Apache License 2.0
139 stars 69 forks source link

您好,在plugin.xml中看到您写的target-dir路径应该是容易出问题的 #61

Closed yarnbyte closed 6 years ago

yarnbyte commented 6 years ago

target-dir应该从src开始写,如果按现在这样到了android studio里BaiduMapLocation.java就会说package不对。之后我是这么改的 <source-file src="src/android/BaiduMapLocation.java" target-dir="src/com/aruistar/cordova/baidumap"/>

aruis commented 6 years ago

这可能跟不同 Cordova版本 生成的 android 项目构造有关。

yarnbyte commented 6 years ago

是的,这很烦人