背景

因为项目要换android studio,就用了一把,结果自动给我下载了最新的build-tools 23.0.0_rc1,然后当我再次用eclipse打开项目时就死活编译不了了,git reset了n次,删了重导也不行。最终发现报错如下:

Description Resource Path Location Type Error executing aapt. Please check aapt is present at

解决

原来是找不到aapt这个工具,原来是23.0.0_rc1把aapt这个工具弄到bin目录下了。cd到build-tools下的23.0.0_rc1目录,然后创建一个软链接即可:

ln -s ./bin/aapt aapt

PS:Android Studio下用最新的23.0.0的build tools也是不中,提示一个aidl相关的东西错误,要使用22的build tools.

工具类的东西能不能以后不要这么坑爹。。。。

更多相关文章

  1. tcping测试服务器TCP端口
  2. 【Android】玩转命令行工具-aapt2
  3. Android改包1
  4. android Sqlite3 相同sql 在命令行和数据库管理工具查询出的数据
  5. Xamarin.Forms教程Android(安卓)SDK工具下载安装
  6. android 运行时生成dex文件,并装载调用
  7. android模仿移动MM Tab 点击 背景 滑动效果
  8. android studio 3.0 -Aapt2Exception
  9. 自己编写的android站长工具

随机推荐

  1. Android 系统字体
  2. Android studio在Android 6.0下继续使用A
  3. TextView 中文文档
  4. 在android studio中用SQLiteOpenHelper()方
  5. 汉字先生-----初学android时做的小游戏
  6. android 联系人数据库一些知识点
  7. Android-StateListDrawable(状态选择器)
  8. Android UI设计:Button与RadoiButton
  9. Android UI开发神兵利器之Android Action
  10. Windows7中Android模拟器无法打开