Android Bug Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file
来源:互联网 发布:企业家的特质知乎 编辑:程序博客网 时间:2024/06/06 19:19
从github上面clone一份代码,直接import到AS当中;出现了下面的错误信息:
Error:Execution failed for task ':Application:mergeDebugResources'.
> Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file C:\Users\Administrator\Desktop\android-BluetoothChat-master\android-BluetoothChat-master\Application\build\intermediates\exploded-aar\com.android.support\appcompat-v7\25.0.1\res\drawable-hdpi-v4\abc_textfield_search_activated_mtrl_alpha.9.png into C:\Users\Administrator\Desktop\android-BluetoothChat-master\android-BluetoothChat-master\Application\build\intermediates\res\merged\debug\drawable-hdpi-v4\abc_textfield_search_activated_mtrl_alpha.9.png
发现原来是在Windows中不允许存在比较长的路径名称所造成的,路径长度必须低于240个字符,遂把路径改短后,AS顺利编译通过
- Android Bug Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file
- Error:com.android.builder.internal.aapt.AaptException: Failed to crunch
- Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file D:\my\Android-VideoStre
- Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file
- Error:com.android.builder.internal.aapt.AaptException: Failed to crunch file G:
- com.android.builder.internal.aapt.AaptException: Failed to crunch file解决方案
- aapt.AaptException Failed to crunch file
- aapt.AaptException: Failed to crunch file
- Android sutdio Error:Failed to crunch file 错误的解决
- Android Studio Failed to crunch file
- error:abc_textfield_search_default_mtrl_alpha Failed to crunch file
- Android studio 导入项目出现:Failed to crunch file
- Android studio 导入项目出现:Failed to crunch file
- Android studio 导入项目出现:Failed to crunch file
- Failed to crunch file
- com.android.ide.common.process.ProcessException: Failed to execute aapt
- com.android.ide.common process ProcessException:Failed to execcue aapt
- 报错信息: Error:Failed to crunch file
- 代理模式
- JDK动态代理
- DataGrip使用入门-导出数据(四)
- Oracle 表和表数据恢复
- HBase 常用命令
- Android Bug Error: com.android.builder.internal.aapt.AaptException: Failed to crunch file
- spring boot 官方文档翻译之 配置类详解
- groovy 的集合 List
- 原生页面与H5页面区别
- 怎么把一个项目直接提交到代码库中 以coding.net 为例
- 字节流的格式|国际标准的组成部分
- FLAGS = tf.app.flags.FLAGS
- ViewPager滑动动画
- [译] ConstraintLayout基础系列之参照线guidelines