Appearance
修改环境变量后,重新打开终端,运行
Get-ChildItem -Path Env:\
查看ANDROID_HOME
是否生效出现下面这种情况是因为没有写入权限
D:\Project>nvm install 18 Downloading node.js version 18.19.0 (64-bit)... Error while creating D:\SoftDownload\nvm\v18.19.0\node.zip - open D:\SoftDownload\nvm\v18.19.0\node.zip: The system cannot find the path specified. Could not download node.js v18.19.0 64-bit executable.
adb devices
adb shell 进入沙盒
adb push 往沙盒推送文件
adb pull 从沙盒取出文件
adb install 安装包路径
安装打包的文件到模拟器上exit 退出沙盒