![](/img/trans.png)
[英]Failed to install 'cordova-plugin-whitelist':Error: cmd: Command failed with exit code 1
[英]Failed to install 'cordova-plugin-whitelist': Error using forcedroid command line
這是我運行forcedroid create
時得到的forcedroid create
:請我看到許多關於stackoverflow的討論,例如無法安裝cordova-plugin,但是沒有答案。
這將解決問題:
1)添加環境變量ANDROID_HOME和JAVA_HOME(在值中提供文件夾SDK的路徑和JDK之一)。
2)在系統變量PATH中,將platform-tools的路徑添加到tools文件夾之一。
它將成功解決您的錯誤。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.