编译ionic项目的时候提示: Please install the Android build tools version 19.1.0 or higher.
2016-02-14 15:28
531 查看
最近一直在弄ionic项目,使用ionic build android命令进行编译的时候,总是提示: Please install the Android build tools version 19.1.0 or higher. 于是只好来解决这个问题。
通过Stack Overflow查到了对应的解决方法。
直接在sdk\build-tools目录下创建22目录,然后再重新编译就可以了。
转载请注明:Jhonse技术博客 - 关注技术资讯以及技术文章的IT博客 » 编译ionic项目的时候提示:
Please install the Android build tools version 19.1.0 or higher.
第一步: 查看问题
使用ionic build android命令进行编译ionic项目的时候提示:1 | Please install the Android build tools version 19.1.0 or higher. |
第二步: 使用Android SDK Manage更新下载
1. 打开Android SDK Manage
2. 更新下载Android SDK Bulid-tools 19.1
3. 下载失败
4. 手动下载
找到repository-8.xml链接5. 在浏览器中打开
这需要翻墙的。6. 找到android sdk build-tools 19.1下载包,进行下载。
7. 解压放到android的sdk\build-tools目录下
8. 查看更新效果
9. Android SDK离线包(可下载)
001 | Android Googletv License |
002 | Google TV Addon, Android API13, revision 1 |
003 | https://dl-ssl.google.com/android/repository/google_tv-13_r01.zip |
004 |
005 | Android SDK Platform-tools,revision 21 [*] |
006 | http://dl-ssl.google.com/android/repository/platform-tools_r21-windows.zip |
007 |
008 | Android SDK Build-tools, revision 21.1.2 |
009 | http://dl-ssl.google.com/android/repository/build-tools_r21.1.2-windows.zip |
010 |
011 | Android SDK Build-tools, revision 21.1.1 |
012 | http://dl-ssl.google.com/android/repository/build-tools_r21.1.1-windows.zip |
013 |
014 | Android SDK Build-tools, revision 21.1 |
015 | http://dl-ssl.google.com/android/repository/build-tools_r21.1-windows.zip |
016 |
017 | Android SDK Build-tools, revision 21.0.2 |
018 | http://dl-ssl.google.com/android/repository/build-tools_r21.0.2-windows.zip |
019 |
020 | Android SDK Build-tools, revision 21.0.1 |
021 | http://dl-ssl.google.com/android/repository/build-tools_r21.0.1-windows.zip |
022 |
023 | Android SDK Build-tools, revision 21 |
024 | http://dl-ssl.google.com/android/repo 1c4fe sitory/build-tools_r21-windows.zip |
025 |
026 | Android SDK Build-tools, revision 20 |
027 | http://dl-ssl.google.com/android/repository/build-tools_r20-windows.zip |
028 |
029 | Android SDK Build-tools, revision 19.1 |
030 | https://dl-ssl.google.com/android/repository/build-tools_r19.1-windows.zip |
031 |
032 | Android SDK Build-tools, revision 19.0.3 |
033 | https://dl-ssl.google.com/android/repository/build-tools_r19.0.3-windows.zip |
034 |
035 | Android SDK Build-tools, revision 19.0.2 |
036 | https://dl-ssl.google.com/android/repository/build-tools_r19.0.2-windows.zip |
037 |
038 | Android SDK Build-tools, revision 19.0.1 |
039 | https://dl-ssl.google.com/android/repository/build-tools_r19.0.1-windows.zip |
040 |
041 | Android SDK Build-tools, revision 19 |
042 | https://dl-ssl.google.com/android/repository/build-tools_r19-windows.zip |
043 |
044 | Android SDK Build-tools, revision 18.1.1 |
045 | https://dl-ssl.google.com/android/repository/build-tools_r18.1.1-windows.zip |
046 |
047 | Android SDK Build-tools, revision 18.1 |
048 | https://dl-ssl.google.com/android/repository/build-tools_r18.1-windows.zip |
049 |
050 | Android SDK Build-tools, revision 18.0.1 |
051 | https://dl-ssl.google.com/android/repository/build-tools_r18.0.1-windows.zip |
052 |
053 | Android SDK Build-tools, revision 17 |
054 | https://dl-ssl.google.com/android/repository/build-tools_r17-windows.zip |
055 |
056 | Documentation for Android SDK, API21, revision 1 |
057 | https://dl-ssl.google.com/android/repository/docs-21_r01.zip |
058 |
059 | SDK Platform Android 5.0.1, API21, revision 2 [*] |
060 | https://dl-ssl.google.com/android/repository/android-21_r02.zip |
061 |
062 | SDK Platform Android 4.4W.2, API20, revision 2 [*] |
063 | https://dl-ssl.google.com/android/repository/android-20_r02.zip |
064 |
065 | SDK Platform Android 4.4.2, API19, revision 4 [*] |
066 | https://dl-ssl.google.com/android/repository/android-19_r04.zip |
067 |
068 | SDK Platform Android 4.3.1, API18, revision 3 [*] |
069 | https://dl-ssl.google.com/android/repository/android-18_r03.zip |
070 |
071 | SDK Platform Android 4.2.2, API17, revision 3 [*] |
072 | https://dl-ssl.google.com/android/repository/android-17_r03.zip |
073 |
074 | SDK Platform Android 4.1.2, API16, revision 5 [*] |
075 | https://dl-ssl.google.com/android/repository/android-16_r05.zip |
076 |
077 | SDK Platform Android 4.0.3, API15, revision 5 [*] |
078 | https://dl-ssl.google.com/android/repository/android-15_r05.zip |
079 |
080 | SDK Platform Android 4.0, API14, revision 4 [*] |
081 | https://dl-ssl.google.com/android/repository/android-14_r04.zip |
082 |
083 | SDK Platform Android 3.2, API13, revision 1 |
084 | https://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip |
085 |
086 | SDK Platform Android 3.1, API12, revision 3 |
087 | https://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip |
088 |
089 | SDK Platform Android 3.0, API11, revision 2 |
090 | https://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip |
091 |
092 | SDK Platform Android 2.3.3, API10, revision 2 [*] |
093 | https://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip |
094 |
095 | SDK Platform Android 2.2, API8, revision 3 |
096 | https://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip |
097 |
098 | SDK Platform Android 2.1, API7, revision 3 |
099 | https://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip |
100 |
101 | SDK Platform Android 1.6, API4, revision 3 |
102 | https://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip |
103 |
104 | SDK Platform Android 1.5, API3, revision 4 |
105 | https://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip |
106 |
107 | Samples for SDK API21, revision 4 |
108 | https://dl-ssl.google.com/android/repository/samples-21_r04.zip |
109 |
110 | Samples for SDK API20, revision 3 |
111 | https://dl-ssl.google.com/android/repository/samples-20_r03.zip |
112 |
113 | Samples for SDK API19, revision 6 |
114 | https://dl-ssl.google.com/android/repository/samples-19_r06.zip |
115 |
116 | Samples for SDK API18, revision 1 |
117 | https://dl-ssl.google.com/android/repository/samples-18_r01.zip |
118 |
119 | Samples for SDK API17, revision 1 |
120 | https://dl-ssl.google.com/android/repository/samples-17_r01.zip |
121 |
122 | Samples for SDK API16, revision 1 |
123 | https://dl-ssl.google.com/android/repository/samples-16_r01.zip |
124 |
125 | Samples for SDK API15, revision 2 |
126 | https://dl-ssl.google.com/android/repository/samples-15_r02.zip |
127 |
128 | Samples for SDK API14, revision 2 |
129 | https://dl-ssl.google.com/android/repository/samples-14_r02.zip |
130 |
131 | Samples for SDK API13, revision 1 |
132 | https://dl-ssl.google.com/android/repository/samples-3.2_r01-linux.zip |
133 |
134 | Samples for SDK API12, revision 1 |
135 | https://dl-ssl.google.com/android/repository/samples-3.1_r01-linux.zip |
136 |
137 | Samples for SDK API11, revision 1 |
138 | https://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip |
139 |
140 |
141 | Samples for SDK API10, revision 1 |
142 | https://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip |
143 |
144 | Samples for SDK API8, revision 1 |
145 | https://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip |
146 |
147 | Samples for SDK API7, revision 1 |
148 | https://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip |
149 |
150 | Android TV ARM EABI v7a System Image, Android API21, revision 1 |
151 | http://dl.google.com/android/repository/sys-img/android-tv/sysimg_atv_arm-21_r01.zip |
152 |
153 | Android TV Intel x86 Atom System Image, Android API21, revision 1 |
154 | http://dl.google.com/android/repository/sys-img/android-tv/sysimg_atv_x86-21_r01.zip |
155 |
156 | Android Wear ARM EABI v7a System Image, Android API21, revision 1 |
157 | https://dl-ssl.google.com/android/repository/sys-img/android-wear/sysimg_wear_arm-21_r01.zip |
158 |
159 | Android Wear Intel x86 Atom System Image, Android API21, revision 1 |
160 | https://dl-ssl.google.com/android/repository/sys-img/android-wear/sysimg_wear_x86-21_r01.zip |
161 |
162 | ARM EABI v7a System Image, Android API21, revision 1 |
163 | http://dl-ssl.google.com/android/repository/sys-img/android/sysimg_arm-21_r01.zip |
164 |
165 | Intel x86 Atom_64 System Image, Android API21, revision 1 |
166 | http://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86_64-21_r01.zip |
167 |
168 | Intel x86 Atom System Image, Android API21, revison 1 |
169 | http://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-21_r01.zip |
170 |
171 | Android Wear ARM EABI v7a System Image, Android API20, revision 4 |
172 | https://dl-ssl.google.com/android/repository/sys-img/android-wear/sysimg_wear_arm-20_r04.zip |
173 |
174 | Android Wear Intel x86 Atom System Image, Android API20, revision 4 |
175 | https://dl-ssl.google.com/android/repository/sys-img/android-wear/sysimg_wear_x86-20_r04.zip |
176 |
177 | ARM EABI v7a System Image, Android API19, revision 2 |
178 | http://dl.google.com/android/repository/sysimg_armv7a-19_r02.zip |
179 |
180 | Intel x86 Atom System Image, Android API19, revision 2 |
181 | http://dl.google.com/android/repository/sysimg_x86-19_r02.zip |
182 |
183 | ARM EABI v7a System Image, Android API18, revision 2 |
184 | http://dl.google.com/android/repository/sysimg_armv7a-18_r02.zip |
185 |
186 | ARM EABI v7a System Image, Android API17, revision 2 |
187 | http://dl.google.com/android/repository/sysimg_armv7a-17_r02.zip |
188 |
189 | ARM EABI v7a System Image, Android API16, revision 3 |
190 | http://dl-ssl.google.com/android/repository/sysimg_armv7a-16_r03.zip |
191 |
192 | ARM EABI v7a System Image, Android API15, revision 2 |
193 | http://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip |
194 |
195 | ARM EABI v7a System Image, Android API14, revision 2 |
196 | http://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r02.zip |
197 |
198 | Google APIs, Android API21, revision 1[*] |
199 | http://dl-ssl.google.com/android/repository/google_apis-21_r01.zip |
200 |
201 | Google APIs (x86 System Image), Android API19, revision 10 |
202 | http://dl-ssl.google.com/android/repository/sys-img/x86/google_apis_x86-19_r10.zip |
203 |
204 | Google APIs (ARM System Image), Android API19, revision 10 |
205 | https://dl-ssl.google.com/android/repository/google_apis-19_r10.zip |
206 |
207 | Google APIs, Android API18, revision 3 |
208 | http://dl-ssl.google.com/android/repository/google_apis-18_r03.zip |
209 |
210 | Google APIs, Android API17, revision 3 |
211 | http://dl-ssl.google.com/android/repository/google_apis-17_r03.zip |
212 |
213 | Google APIs, Android API16, revision 3 |
214 | http://dl-ssl.google.com/android/repository/google_apis-16_r03.zip |
215 |
216 | Google APIs, Android API15, revision 2 |
217 | http://dl-ssl.google.com/android/repository/google_apis-15_r02.zip |
218 |
219 | Google APIs, Android API14, revision 2 |
220 | http://dl-ssl.google.com/android/repository/google_apis-14_r02.zip |
221 |
222 | Google APIs, Android API13, revision 1 |
223 | http://dl-ssl.google.com/android/repository/google_apis-13_r01.zip |
224 |
225 | Google APIs, Android API12, revision 1 |
226 | http://dl-ssl.google.com/android/repository/google_apis-12_r01.zip |
227 |
228 | Google APIs, Android API11, revision 1 |
229 | http://dl-ssl.google.com/android/repository/google_apis-11_r01.zip |
230 |
231 | Google APIs, Android API10, revision 2 |
232 | http://dl-ssl.google.com/android/repository/google_apis-10_r02.zip |
233 |
234 | Google APIs, Android API8, revision 2 |
235 | http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip |
236 |
237 | Google APIs, Android API7, revision 1 |
238 | http://dl-ssl.google.com/android/repository/google_apis-7_r01.zip |
239 |
240 | Google APIs, Android API4, revision 2 |
241 | http://dl-ssl.google.com/android/repository/google_apis-4_r02.zip |
242 |
243 | Google APIs, Android API3, revision 3 |
244 | http://dl-ssl.google.com/android/repository/google_apis-3-r03.zip |
245 |
246 | Google APIs ARM EABI v7a System Image, Google Inc.API21, revision 3 |
247 | http://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_arm-21_r03.zip |
248 |
249 | Google APIs Intel x86 Atom_64 System Image, Google Inc.API21, revision 3 |
250 | http://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_x86_64-21_r03.zip |
251 |
252 | Google APIs Intel x86 Atom System Image, Google Inc.API21, revision 3 |
253 | http://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_x86-21_r03.zip |
254 |
255 | Sources for Android SDK, API21, revision 1 |
256 | https://dl-ssl.google.com/android/repository/sources-21_r01.zip |
257 |
258 | Sources for Android SDK, API20, revision 1 |
259 | https://dl-ssl.google.com/android/repository/sources-20_r01.zip |
260 |
261 | Sources for Android SDK, API19, revision 2 |
262 | https://dl-ssl.google.com/android/repository/sources-19_r02.zip |
263 |
264 | Sources for Android SDK, API18, revision 1 |
265 | https://dl-ssl.google.com/android/repository/sources-18_r01.zip |
266 |
267 | Sources for Android SDK, API17, revision 1 |
268 | https://dl-ssl.google.com/android/repository/sources-17_r01.zip |
269 |
270 | Sources for Android SDK, API16, revision 2 |
271 | https://dl-ssl.google.com/android/repository/sources-16_r02.zip |
272 |
273 | Sources for Android SDK, API15, revision 2 |
274 | https://dl-ssl.google.com/android/repository/sources-15_r02.zip |
275 |
276 | Sources for Android SDK, API14, revision 1 |
277 | https://dl-ssl.google.com/android/repository/sources-14_r01.zip |
278 |
279 | Android Support Repository, revision 11 |
280 | https://dl-ssl.google.com/android/repository/android_m2repository_r11.zip |
281 |
282 | Android Support Library, version 21.0.3 |
283 | https://dl-ssl.google.com/android/repository/support_r21.0.3.zip |
284 |
285 | Google Play services for Froyo, revision 12 |
286 | https://dl-ssl.google.com/android/repository/google_play_services_3265130_r12.zip |
287 |
288 | Google Play services, revision 22 |
289 | https://dl-ssl.google.com/android/repository/google_play_services_6587000_r22.zip |
290 |
291 | Google Repository,revision 15 |
292 | https://dl-ssl.google.com/android/repository/google_m2repository_r15.zip |
293 |
294 | Google Play APK Expansion Library, revision 3 |
295 | https://dl-ssl.google.com/android/repository/market_apk_expansion-r03.zip |
296 |
297 | Google Play Billing Library, revision 5 |
298 | https://dl-ssl.google.com/android/repository/play_billing_r05.zip |
299 |
300 | Google Play Licensing Library, revision 2 |
301 | https://dl-ssl.google.com/android/repository/market_licensing-r02.zip |
302 |
303 | Android Auto API Simulators, revision 1 |
304 | https://dl-ssl.google.com/android/repository/simulator_r01.zip |
305 |
306 | Google USB Driver, revision 11 |
307 | https://dl-ssl.google.com/android/repository/usb_driver_r11-windows.zip |
308 |
309 | Google Web Driver, revision 2 |
310 | https://dl-ssl.google.com/android/repository/webdriver_r02.zip |
311 |
312 | Google Gdk License |
313 | Glass Development Kit Preview, Android API19, revision 11 |
314 | http://dl.google.com/glass/xe22/google-gdk.zip |
315 |
316 | Intel Android Extra License |
317 | Intel x86 Emulator Accelerator(HAXM install), revision 5.2 |
318 | https://dl-ssl.google.com/android/repository/extras/intel/haxm-windows_r05.2.zip |
319 |
320 | Intel Android Sysimage License |
321 | Intel x86 Atom System Image, Android API18, revision 1 |
322 | http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-18_r01.zip |
323 |
324 | Intel x86 Atom System Image, Android API17, revision 1 |
325 | http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-17_r01.zip |
326 |
327 | Intel x86 Atom System Image, Android API16, revision 1 |
328 | http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-16_r01.zip |
329 |
330 | Intel x86 Atom System Image, Android API15, revision 1 |
331 | http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-15_r01.zip |
332 |
333 | Intel x86 Atom System Image, Android API10, revision 2 |
334 | http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-10_r02.zip |
335 |
336 | MIPS Android Sysimage License |
337 | MIPS System Image, Android API17, revision 1 |
338 | https://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-17_r01.zip |
339 |
340 | MIPS System Image, Android API16, revision 4 |
341 | https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_mips-16_r04.zip |
342 |
343 | MIPS System Image, Android API15, revision 1 |
344 | https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_mips-15_r01.zip |
第三步: 查看ionic build android编译效果
还是报错.通过Stack Overflow查到了对应的解决方法。
直接在sdk\build-tools目录下创建22目录,然后再重新编译就可以了。
转载请注明:Jhonse技术博客 - 关注技术资讯以及技术文章的IT博客 » 编译ionic项目的时候提示:
Please install the Android build tools version 19.1.0 or higher.
相关文章推荐
- 使用C++实现JNI接口需要注意的事项
- Android IPC进程间通讯机制
- Android Manifest 用法
- [转载]Activity中ConfigChanges属性的用法
- Android之获取手机上的图片和视频缩略图thumbnails
- Android之使用Http协议实现文件上传功能
- Android学习笔记(二九):嵌入浏览器
- android string.xml文件中的整型和string型代替
- i-jetty环境搭配与编译
- android之定时器AlarmManager
- android wifi 无线调试
- Android Native 绘图方法
- Android java 与 javascript互访(相互调用)的方法例子
- android 代码实现控件之间的间距
- android FragmentPagerAdapter的“标准”配置
- Android"解决"onTouch和onClick的冲突问题
- android:installLocation简析
- android searchView的关闭事件
- SourceProvider.getJniDirectories