cocos run -p android 在 Android SDK的platforms下未找到文件夹 'android-13',请使用 --ap 指定需要的API版本的解决方案

来源:互联网 发布:sql 一个表查询上下级 编辑:程序博客网 时间:2024/06/05 21:05

在mac下运行cocos run -p android出现:“在 Android SDK的platforms下未找到文件夹 ‘android-13’,请使用 –ap 指定需要的API版本”的问题

解决方案——–可查看android-sdk-macosx目录下的SDK Readme.txt文档。这里贴一下SDK Readme.txt中的解决方法:
From the command-line you can also directly trigger an update by executing:
tools/android update sdk –no-ui

阅读全文
0 0
原创粉丝点击