0
[email protected]:/mnt/d/mobapp1$ ionic platform add android
function bold() { [native code] } https://github.com/driftyco/ionic-default-resources/archive/master.zip
[=============================] 100% 0.0s
Warning: using node version v0.12.17 which has been deprecated. Please upgrade to the latest node version available (v6.x is recommended).
Error during untar for /home/user/.cordova/lib/npm_cache/cordova-android/6.0.0/package.tgz: Error: EACCES, open '/home/user/.cordova/lib/npm_cache/cordova-android/6.0.0/package/package.json'
Error: Failed to fetch platform android
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.
Error: EACCES, open '/home/user/.cordova/lib/npm_cache/cordova-android/6.0.0/package/package.json'
我一直在试图在我的windows笔记本电脑上安装的linux上构建android项目。但是当我试图使用ionic platform add android
时,它会导致如上所示的错误。我试图搜索网页,但找不到任何帮助。在离子上添加android平台