meteor安装Android运行环境的一系列有关问题

meteor安装Android运行环境的一系列问题

meteor安装Android运行环境的一系列问题


命令1:meteor install-sdk android


  • 问题1
Installing Android Build Tools                

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at Pipe.onread (net.js:558:19)

解决方案

修改hosts文件,【点击这里】

  • 问题2
32-bit libraries not found
✗ Android emulator acceleration is not installed
  (The Android emulator will be very slow without acceleration)
Platform requirements not yet met             
Please follow the instructions here:          
https://github.com/meteor/meteor/wiki/Mobile-Dev-Install:-Android-on-Linux#libs32

解决方案

sudo apt-get update
sudo apt-get install –yes lib32z1 lib32stdc++6

  • 问题3
✗ Android emulator acceleration is not installed
  (The Android emulator will be very slow without acceleration)
Platform requirements not yet met             
Please follow the instructions here:          
https://github.com/meteor/meteor/wiki/Mobile-Dev-Install:-Android-on-Linux#haxm

解决方案

安装kvm虚拟化技术【点击这里】


命令2:meteor add-platform android