V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
kuyuzhiqi
V2EX  ›  问与答

macOS10.15 环境变量的问题

  •  
  •   kuyuzhiqi · Dec 24, 2019 · 1722 views
    This topic created in 2325 days ago, the information mentioned may be changed or developed.

    按照 terminal 的建议,将 bash 切换到 zsh,在用户目录下新建了.zshrc 文件,里面添加了 source ~/.bash_profile,发现无论在.bash_profile 还是.zshrc 文件里面配置 aapt 的环境变量都找不到命令,配置的环境变量如下,有没有大佬知道怎么弄?

    export APPT_HOME=/Users/kuyuzhiqi/Documents/android-sdk-macosx/build-tools/28.0.0 export AAPT_HOME export PATH=$PATH:$AAPT_HOME

    1 replies    2019-12-25 09:36:47 +08:00
    kuyuzhiqi
        1
    kuyuzhiqi  
    OP
       Dec 25, 2019
    .bashrc 现在更名到 .zshrc

    .bash_profile 现在更名到 .zprofile
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5621 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 03:49 · PVG 11:49 · LAX 20:49 · JFK 23:49
    ♥ Do have faith in what you're doing.