Skip to content
  1. 修改环境变量后,重新打开终端,运行 Get-ChildItem -Path Env:\ 查看ANDROID_HOME 是否生效

  2. 安卓模拟器

    https://x.cosine.ren/react-native-note-1

  3. 出现下面这种情况是因为没有写入权限

    
    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.
    
  4. adb devices

    adb shell 进入沙盒

    adb push 往沙盒推送文件

    adb pull 从沙盒取出文件

    adb install 安装包路径 安装打包的文件到模拟器上

    exit 退出沙盒