当前位置:网站首页>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).
边栏推荐
- C 学生管理系统_分析
- 无代码7月热讯 | 微软首推数字联络中心平台;全球黑客马拉松...
- C程序编译和预定义详解
- flask框架初学-06-对数据库的增删改查
- Demand analysis of MES management system in electronic assembly industry
- SAP SD模块前台操作
- Slipper - virtual point, shortest path
- 【虚拟化生态平台】虚拟化平台esxi挂载USB硬盘
- Flask框架初学-05-命令管理Manager及数据库的使用
- Use of lombok annotation @RequiredArgsConstructor
猜你喜欢
Vant3 - click on the corresponding name name to jump to the next page corresponding to the location of the name of the TAB bar
Parquet encoding
实例039:有序列表插入元素
静态文件快速建站
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
5. Scrapy middleware & distributed crawler
Web APIs BOM- 操作浏览器:swiper 插件
计算首屏时间
flask框架初学-06-对数据库的增删改查
《Greenplum构建实时数据仓库实践》简介
随机推荐
循环绕过问题
lombok注解@RequiredArgsConstructor的使用
Promise 解决阻塞式同步,将异步变为同步
Installation and configuration of nodejs+npm
Apache DolphinScheduler新一代分布式工作流任务调度平台实战-中
GNSS[0]- Topic
114. How to find the cause of Fiori Launchpad routing error by single-step debugging
《Greenplum构建实时数据仓库实践》简介
splice随机添加和删除的写法
ASP.NET 获取数据库的数据并写入到excel表格中
MongoDB数据接入实践
.NET Static Code Weaving - Rougamo Release 1.1.0
- heavy OpenCV 】 【 mapping
pygame 中的transform模块
数组_滑动窗口 | leecode刷题笔记
TensoFlow学习记录(二):基础操作
KunlunBase 1.0 is released!
实例040:逆序列表
Flask框架初学-05-命令管理Manager及数据库的使用
C程序编译和预定义详解