当前位置:网站首页>FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
2022-08-04 01:40:00 【Is Peter Pan there?】
FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
When the size of a single compressed file in the assets or raw directory exceeds 1024K, appt will forcibly process this file at compile time, so that we will receive a file when reading it at runtime
This file can not be opened as a file descriptor; it is probably compressed
The solution is to disable compression for this file extension:
1. Change your resource file suffix to the suffix listed above.
Add in build.gradle:
android {aaptOptions {noCompress "pdf"//your file extension}}
2. Use the -0 parameter on the command line to specify the file suffix that does not need to be compressed.There is currently no known way to pass the -0 parameter to aapt when you use ADT within Eclipse.
3. Divide your resource file into files below UNCOMPRESS_DATA_MAX(1M).
边栏推荐
- 即席查询——Presto
- Installation and configuration of nodejs+npm
- 阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践
- 小甲鱼汇编笔记
- 实例037:排序
- thinkphp 常用技巧
- nodejs+express实现数据库mysql的访问,并展示数据到页面上
- Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
- Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
- splice随机添加和删除的写法
猜你喜欢
Slipper - virtual point, shortest path
typescript52 - simplify generic function calls
通用的测试用例编写大全(登录测试/web测试等)
循环绕过问题
Flask Framework Beginner-05-Command Management Manager and Database Use
贪吃蛇游戏Bug解析及功能扩展
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
js中常用的几种遍历处理数据的方法梳理
观察者模式
ASP.NET 获取数据库的数据并写入到excel表格中
随机推荐
The idea of the diagram
FeatureNotFound( bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested:
appium软件自动化测试框架
Apache DolphinScheduler新一代分布式工作流任务调度平台实战-中
【虚拟化生态平台】虚拟化平台esxi挂载USB硬盘
C语言:学生管理系统(链表版)
idea中diagram使用
LDO investigation
Use nodejs switch version (no need to uninstall and reinstall)
持续投入商品研发,叮咚买菜赢在了供应链投入上
FeatureNotFound( bs4.FeatureNotFound: Couldn‘t find a tree builder with the features you requested:
Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
贴纸拼词 —— 记忆化搜索 / 状压DP
实例035:设置输出颜色
thinkphp 常用技巧
IDEA02:配置SQL Server2019数据库
字符串的排列
Sticker Spelling - Memory Search / Shape Pressure DP
C 学生管理系统_分析
阿里云技术专家邓青琳:云上跨可用区容灾和异地多活最佳实践