如何解决android.hardware.location.gps 在 androidManifest 中添加了两次
我有两个使用位置的插件。地理位置 (https://github.com/apache/cordova-plugin-geolocation/issues/222) 和 Google 地图 (https://github.com/mapsplugin/cordova-plugin-googlemaps)
这样在 AndroidManifest.xml 文件中有两个标签 <uses-feature android:name="android.hardware.location.gps" />
:/
尝试添加
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/uses-feature[@android:name='android.hardware.location.gps']" xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature android:name="android.hardware.location.gps" />
</edit-config>
到 config.xml
文件,但它没有帮助。如何解决?
我有cordova@10
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。