当前位置:网站首页>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 compressedThe 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 学生管理系统_分析
- 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:
- Electronics manufacturing enterprise deployment WMS what are the benefits of warehouse management system
- js中常用的几种遍历处理数据的方法梳理
- appium软件自动化测试框架
- 2022年上半年各大厂Android面试题整理及答案解析(持续更新中......)
- Hey, I had another fight with HR in the small group!
- GNSS文章汇总
猜你喜欢
随机推荐
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
114. How to find the cause of Fiori Launchpad routing error by single-step debugging
持续投入商品研发,叮咚买菜赢在了供应链投入上
flask框架初学-06-对数据库的增删改查
- heavy OpenCV 】 【 mapping
实例040:逆序列表
ASP.NET 获取数据库的数据并写入到excel表格中
Apache DolphinScheduler新一代分布式工作流任务调度平台实战-中
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
Continuing to invest in product research and development, Dingdong Maicai wins in supply chain investment
快速入门EasyX图形编程
DDTL:远距离的域迁移学习
Slipper - virtual point, shortest path
FeatureNotFound( bs4.FeatureNotFound: Couldn‘t find a tree builder with the features you requested:
5. Scrapy middleware & distributed crawler
实例037:排序
esp32发布机器人电池电压到ros2(micro-ros+CoCube)
esp32 releases robot battery voltage to ros2 (micro-ros+CoCube)
Sky map coordinate system to Gaode coordinate system WGS84 to GCJ02
一个项目的整体测试流程有哪几个阶段?测试方法有哪些?








