[英]Cordova: Cannot find module './android_sdk'
I checked out a Cordova project from SVN in IntelliJ Webstorm. 我在IntelliJ Webstorm中从SVN签出了Cordova项目。 When I try to run it on an emulated Android device, I receive the error message:
当我尝试在模拟的Android设备上运行它时,收到错误消息:
Error: Cannot find module './android_sdk'
All the other people working on the project can run the project fine. 该项目上的所有其他人员都可以正常运行该项目。 And I can run every project that I have created locally.
而且我可以运行在本地创建的每个项目。
in my case (Kubuntu 16.04.2, Ionic 3.3.0, Cordova 7.0.1) i just did this: 就我而言(Kubuntu 16.04.2,Ionic 3.3.0,Cordova 7.0.1),我只是这样做了:
cordova platform rm android
cordova platform add android
and that did the trick :) 这就是把戏:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.