解决许可证未授权的问题

错误内容

 

To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
  Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html

  Using Android SDK: /Users/nomore/Library/Android/sdk

解决办法

 

I was getting this error:

License for package Android SDK Build-Tools 30.0.2 not accepted.
So, I went to Tools -> SDK Manager -> SDK Tools. Then I installed Google Play Licensing Library. It solved the problem.

 

也就是到SDK manager中,安装Google play Licensing library

问题就可以解决了

 

分类: 默认 标签: 发布于: 2021-12-15 15:33:32, 更新于: 2021-12-15 16:13:46