Android certificate problem with macaca doctor

basic introduction

During the process of building the macaca environment, the "Not accepted Android SDK license agreements: ....." problem about Android occurred.


question

The solution is as follows:

1. Find "ANDROID_HOME" in the environment variable

Use "which Android" to find the directory path

2. Create a license

mkdir "/Users/april_chou/Library/Android/sdk/licenses"

echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "/Users/april_chou/Library/Android/sdk/licenses/android-sdk-license"

echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "/Users/april_chou/Library/Android/sdk/licenses/android-sdk-preview-license"


create

3. Check whether to create


success

4. Check the effect

 


success

 

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324611043&siteId=291194637