执行命令: weex plugin add 插件名称时,报错:could not find gradle wrapper within android sdk,如图:android
这是因为android的环境没装好引发的,解决方法:weex
执行指令:app
cp -r /Applications/Android\ Studio.app/Contents/plugins/android/lib/templates ~/Library/Android/sdk/tools