搭建好android的環(huán)境變量后,為什么每次重新登錄計算機(jī)的時候,就必須得重新輸入
. /etc/profile
才能夠使用android命令啟動程序?
歡迎選擇我的課程,讓我們一起見證您的進(jìn)步~~
I don’t know what configuration you wrote in the /etc/profile file. Android environment variables generally refer to the environment variables of the SDK. These variables can be written in the .bashrc or .profile file in the user directory. There is no need to write to /etc/profile, which is generally a system-level variable configuration
It’s not clear what the problem is. You can try adding the following lines to /etc/rc.local
. /etc/profile
Execute it again when the system starts