Cannot find 'aapt.exe'
来源:互联网 发布:农村淘宝服务站赚钱吗 编辑:程序博客网 时间:2024/05/13 18:11
Cannot find ‘aapt.exe’
在解决Xamarin.VS设计器无法显示layout后
(因为Xamarin.VS版本对Android SDK 版本不支持导致)
后来用了Xamarin.VS3.8 于Android SDK 24.0.2设计器显示出来了
可是报了一个Cannot find ‘aapt.exe’的错误。
上网找了很多资料,大致都是说Android SDK的目录有改变
解决办法一:
While you waiting new release of IntelliJ IDEA (or your IDE) … you need copy 1 folder(lab with dx.jar) and 1 file( aapt.exe)
from: (instalation path)\Android\android-sdk\build-tools\17.0.0\ to
to: (installation path)\Android\android-sdk\platform-tools
and
from: (instalation path)\Android\android-sdk\build-tools\17.0.0\aapt.exe
to: (instalation path)\Android\android-sdk\platform-tools\aapt.exe
if in windows your default path is C:\Program Files (x86),then
from: C:\Program Files (x86)\Android\android-sdk\build-tools\17.0.0\lib\
to: C:\Program Files (x86)\Android\android-sdk\platform-tools
from: C:\Program Files (x86)\Android\android-sdk\build-tools\17.0.0\aapt.exe
to: C:\Program Files (x86)\Android\android-sdk\platform-tools\aapt.exe
这个办法我试了不好使,不过看起来很有科学道理。(可能有用)
办法二:
最简单粗暴的直接拿一个别人正在用完整的Android SDK
链接:http://pan.baidu.com/s/1mgoVbK0
里面是完整的 Xamarin.VS.3.9的安装所有需要的工具以及安装方法。
- Cannot find 'aapt.exe'
- Cannot find java.exe
- ireport 启动错误cannot find java.exe
- ireport 启动错误cannot find java.exe
- ireport 启动错误cannot find java.exe
- cannot find the rxvt.exe or sh.exe binary 解决办法
- 执行dumpbin.exe报错 cannot find LINK.exe
- aapt.exe停止工作
- aapt.exe错误
- Cannot run program "/android-sdk-linux/aapt.exe": error=2, 没有那个文件或目录
- Cannot run program "XXXXX/android-sdks/build-tools/aapt.exe": error=2,
- wxwidgets DEBUG 编译错误解决.ld.exe: cannot find -lwxmsw28ud
- wxwidgets DEBUG 编译错误解决.ld.exe: cannot find -lwxmsw28ud
- 关于nvcc cannot find a supported cl.exe 问题
- 力所能及之ireport 启动错误cannot find java.exe
- bin/ld.exe: error: cannot find -landroid等问题
- Windows cannot find 'wuapp.exe' issue in Windows 10 Pro
- IReport启动报错-cannot find java.exe
- 中国P2P行业体量已超越美国成为全球第一
- List集合
- UICollectionView基础
- 工作日志4-13
- linux驱动调试之printk
- Cannot find 'aapt.exe'
- ADF中Taskflow传参的简单使用
- android ImageView 通过level-list 切换图片
- 第十八届中山大学程序设计竞赛网络预选赛B题
- 分布式缓存-Memcached
- Android性能调优工具之 TraceView
- ADF中使用Auto Suggest
- shell 行转列
- leetcode 28 Implement strStr()