Comments (11)
@AndroidJohnsonWang 你好,请问有其他辅助信息吗?
比如你的项目的版本、运行设备的版本等。
from androidfilepicker.
好像是AndroidX项目出现的。
from androidfilepicker.
@rosuH android studio3.4,项目是androidx,compileSdkVersion 28 ,android4.4和9.0都出现问题,报错下面还有资源问题
from androidfilepicker.
@AndroidJohnsonWang 我刚刚创建了一个新的 AndroidX 的项目,并没有出现一样的问题。
你是如何使用这个库的?直接在 build.gradle
添加依赖引入还是源码拷贝进项目的呢?
from androidfilepicker.
@rosuH 直接在 build.gradle 添加依赖引入的,我这边引入后出现超出方法数,用了multidex,不知道又没有影响
from androidfilepicker.
@rosuH 我也创建了一个新的 AndroidX 的项目,发现也是报错,但错误不是上面图片上的。怀疑是编译器版本问题,可以用android studio3.4试试?
from androidfilepicker.
@AndroidJohnsonWang 我的也是 3.4。这个应该没什么影响吧。编译也是用 JDK 编译。
Android Studio 3.4
Build #AI-183.5429.30.34.5452501, built on April 10, 2019
JRE: 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
这个问题还要继续确认,但是现在业余时间不是很够。可能会在五一假期的时候认真确认一下~
from androidfilepicker.
@AndroidJohnsonWang
我换了一个环境引入依旧是没有问题的。你可先把项目 clone 下来,运行里面的 Demo,看能否运行。
如果真是编译器的问题,那 Demo 应该是无法运行的。
from androidfilepicker.
@rosuH 测试发现demo 的minSDK 是21,用21以上设备使用正常,minSDK 改成19,无法编译通过了
from androidfilepicker.
@AndroidJohnsonWang demo 更改 minSDK
报错的原因可能是 sample
模块内部命名和 filepicker
冲突了。应该和本主题一开始的事故无关。
我在 dev
分支解决了这个 Demo SDK 的问题。您可以继续尝试 clone 一下 demo 跑跑看。
本主题一开始的事故,个人觉得是colorButtonNormal
这个属性的问题。不太确定,所以我也在dev
更新了自定义样式部分内容。您有空可以引入 dev
版试试看?引入方法可以参看:#15 (comment)
期待您的反馈,谢谢~
from androidfilepicker.
Android 4.4(API 19)的兼容性问题已经在 0.4.5 解决啦,欢迎使用后反馈。感谢~
from androidfilepicker.
Related Issues (20)
- 怎么少了最基本的Excel HOT 5
- How to show PDF files? HOT 9
- 是否可以考虑使用文件头来识别文件类型 HOT 2
- 可否考虑使用 SAF 方式来实现在 Android 11 及以上系统访问 Android/data 目录 HOT 3
- 文件返回错误 HOT 1
- java.lang.NullPointerException: dataList[position] must not be null HOT 1
- 请问为什么pdf txt等文件无法显示? HOT 2
- 没有适配Android11 HOT 1
- Android 11+授予MANAGE_EXTERNAL_STORAGE后依旧不可用 HOT 1
- 发布的版本打包kotlin插件版本号能否弄低一点? HOT 1
- 为什么没有FilePickerManager类 HOT 11
- 如何实现模糊搜索文件功能和跨文件夹多选功能 HOT 1
- 是否支持把根目录下所有指定格式文件检测出来呢? HOT 1
- NOT WORKING IN ANDROID 11 EVEN AFTER REQUESTING MANAGE_EXTERNAL_STORAGE HOT 1
- 无障碍TalkBack下无法选择文件或进入文件夹
- 获取文件不全(.txt) HOT 1
- 找不到文件 HOT 3
- android 13没有READ_EXTERNAL_STORAGE怎么办呢 HOT 16
- The binary version of its metadata is 1.9.0, expected version is 1.7.1 HOT 4
- 我这边好像不显示内容 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidfilepicker.