Comments (4)
目前我还没适配android7.0的,可能是一些权限引起的问题。
可以的话,复制一下异常信息。
from kuaichuan.
12-26 20:35:31.657 22634-22634/io.github.mayubao.kuaichuan E/linker: library "/system/lib/libqti_performance.so" ("/system/lib/libqti_performance.so") needed or dlopened by "/system/lib/libnativeloader.so" is not accessible for the namespace: [name="classloader-namespace", ld_library_paths="", default_library_paths="", permitted_paths="/data:/mnt/expand"]
12-26 20:35:31.952 22634-22779/? E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
Process: io.github.mayubao.kuaichuan, PID: 22634
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:318)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/file from pid=22634, uid=10137 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
at android.os.Parcel.readException(Parcel.java:1683)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
at android.content.ContentResolver.query(ContentResolver.java:532)
at android.content.ContentResolver.query(ContentResolver.java:473)
at io.github.mayubao.kuaichuan.core.utils.FileUtils.getSpecificTypeFiles(FileUtils.java:96)
at io.github.mayubao.kuaichuan.ui.fragment.FileInfoFragment$GetFileInfoListTask.doInBackground(FileInfoFragment.java:195)
at io.github.mayubao.kuaichuan.ui.fragment.FileInfoFragment$GetFileInfoListTask.doInBackground(FileInfoFragment.java:175)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
from kuaichuan.
请显示申请读写SD卡权限。
from kuaichuan.
@mrrobot97 已经适配了。我只是在模拟器上面跑了一下,你在真机上面看看有什么问题。
有问题再找我...
from kuaichuan.
Related Issues (16)
- 小米 8.0黑屏卡死
- 确定能用么
- 能传u盘的文件不?
- 代码写的很漂亮
- 如果项目不能正常运行点击下面的链接 HOT 1
- 发送方点击头像后,接收方直接卡死
- 无法进入软件
- Android 6.0 HOT 7
- In Android 6.0, when wifimanager scan the results, it doesn't work! (Android 6.0 wifi扫描周围设备,没有结果)
- Android7.0 无法获取ip地址
- android6.0传输异常 HOT 11
- 有些wifi是ess而不是nopassword 这样会导致连不上去的
- 请问每发送一个文件就去建立一次Socket连接会不会在很大程度上影响文件传输的速度? HOT 2
- Android8.0以后 获取wifi是不是要改一些东西
- 传输失败 HOT 1
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 kuaichuan.