1.8.10 WARNING: The file: D:\ts\app\sample-Groceries\node_modules\nativescript-google-maps-sdkmigrating-n-android-plugins-from-version-1.7-to-2.0
WARNING: The file: D:\ts\app\sample-Groceries\node_modules\nativescript-google-maps-sdkmigrati
/node_modules/nativescript-google-maps-sdk/map-view-common.js需要Module.../node_modules/nativescript-google-maps-sdk/map-view.js (文件:src\webpack\引导带:750:0) JS: at fn (file: src\webpack\bootstrap:120:0) JS: at node_modules\nativescript-google-maps-sdk
我进入演示文件夹并输入tns build iOStns run iOSCould not find module 'nativescript-google-maps-sdk'file:///app/main-page.js:3:25: JS ERROR Error: Could not find module 'nativescript-google-maps-sdk1A5AE8CACC74/data/Container
我还检查了nativescript-google-maps-sdk插件是如何实现的。它似乎也是这样做的--它有自己的nativescript-google-maps-sdk/platforms/android/include.gradle文件,其中还定义了来自本地android的google服务地图,在nativescript-google-maps-sdk/map-view.android.js中,我看到它没有问题地使用这样一个命令:
var cameraUpdate = com.google.an