在使用一些android SDK的命令前需要配置环境变量。

添加SDK环境变量

  1. 点击高级系统设置——>环境变量——>新建——>创建ANDROID_HOME——>点击确定即可。如图所示。
    在这里插入图片描述
  2. 加入path系统变量,双击PATH——>双击进行编辑。如图所示。
    在这里插入图片描述

打开或者切换到Android studio

鼠标右击工程项目——>找到并点击Open in Terminal
大功告成!
在这里插入图片描述

GitHub 加速计划 / term / terminal
94.53 K
8.17 K
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:1 个月前 )
3a068269 This adds a basic policy check for DisabledProfileSources, so that organizations can easily disable certain profiles like the Azure one. Closes #17964 ## Validation Steps Performed * Add a policy to disable Azure under HKCU. Disabled ✅ * Add a policy to disable nothing under HKLM. Enabled ✅ (...because it overrides the HKCU setting.) 2 天前
990ed187 We started requiring PowerShell 7+ in #18021 We did not update the code formatting task. 2 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐