ionic run android failed, error gradle line 64
2016-07-23 00:13
363 查看
previously I can compile but after I updated my cordova something happended. I got this error.
I downloaded all the required SDK, what is the problem here?
I had the same problem and this is how I fixed it. I had the build-tools version 20 installed but still was getting this error:
No installed build tools found. Please install the Android build tools version 19.1.0 or higher.
So I created a directory named
and copied all the files from
The problem was fixed!
FAILURE: Build failed with an exception. * Where: Script 'C:\Users\Jay\testproject\platforms\android\CordovaLib\cordova.grad le' line: 64 * What went wrong: A problem occurred evaluating root project 'android'. > No installed build tools found. Please install the Android build tools version 19.1.0 or higher. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
I downloaded all the required SDK, what is the problem here?
Answer
I had the same problem and this is how I fixed it. I had the build-tools version 20 installed but still was getting this error:No installed build tools found. Please install the Android build tools version 19.1.0 or higher.
So I created a directory named
20within
build-toolsdirectory,
and copied all the files from
sdk\build-tools\android-4.4W\*to
sdk\build-tools\20.
The problem was fixed!
相关文章推荐
- DroidPlugin源码分析基本介绍
- Android——ListView控件
- 《Android滑动菜单特效实现,仿人人客户端侧滑效果,史上最简单的侧滑实现》读后感
- 在android studio中创建Hello-JNI工程
- Android五布局——相对布局RelativelLayout
- Android五布局——帧布局FrameLayout
- Android五布局——绝对布局AbsoluteLayout
- Android五布局——表格布局TableLayout
- Android生命周期——认识Activity
- Android页面跳转——Intent的使用
- android 的单元测试
- Android-自定义View
- [android] 练习PopupWindow实现对话框
- item子view的点击事件与item本身的点击事件冲突
- Activity中使用handle存在内存泄漏的隐患
- android在不同手机,部分字体显示不出来
- Android 手势的识别
- View的事件分发机制
- Android开发之Tween(补间动画)完全解析(上)——xml文件配置的实现
- 去除listView的分割线