当前位置:网站首页>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).
边栏推荐
- 企业虚拟偶像产生了实质性的价值效益
- JS 保姆级贴心,从零教你手写实现一个防抖debounce方法
- 数组_滑动窗口 | leecode刷题笔记
- VR panorama shooting online exhibition hall, 3D panorama brings you an immersive experience
- Promise 解决阻塞式同步,将异步变为同步
- 持续投入商品研发,叮咚买菜赢在了供应链投入上
- Continuing to pour money into commodities research and development, the ding-dong buy vegetables in win into the supply chain
- FeatureNotFound( bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested:
- GNSS【0】- 专题
- The 600MHz band is here, will it be the new golden band?
猜你喜欢
工程制图复习题(带答案)
flask框架初学-06-对数据库的增删改查
nodejs+express realizes the access to the database mysql and displays the data on the page
工程制图平面投影练习
Android interview questions and answer analysis of major factories in the first half of 2022 (continuously updated...)
Demand analysis of MES management system in electronic assembly industry
企业虚拟偶像产生了实质性的价值效益
nodejs切换版本使用(不需要卸载重装)
Flask框架初学-05-命令管理Manager及数据库的使用
Apache DolphinScheduler新一代分布式工作流任务调度平台实战-中
随机推荐
Intranet penetration - application
即席查询——Presto
实例040:逆序列表
工程制图名词解释-重点知识
Sky map coordinate system to Gaode coordinate system WGS84 to GCJ02
静态文件快速建站
5. Scrapy middleware & distributed crawler
appium软件自动化测试框架
this巩固训练,从两道执行题加深理解闭包与箭头函数中的this
【OpenCV】-重映射
贪吃蛇游戏Bug解析及功能扩展
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
DDTL:远距离的域迁移学习
Use nodejs switch version (no need to uninstall and reinstall)
观察者模式
2022 中国算力大会发布“创新先锋”优秀成果
VR panorama shooting online exhibition hall, 3D panorama brings you an immersive experience
nodejs 安装多版本 版本切换
- heavy OpenCV 】 【 mapping
LDO investigation