Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误了。这是啥原因 #12

Open
GuoJiKaiHehe opened this issue Nov 22, 2018 · 11 comments
Open

错误了。这是啥原因 #12

GuoJiKaiHehe opened this issue Nov 22, 2018 · 11 comments

Comments

@GuoJiKaiHehe
Copy link

EasyUpgradeError Unable to create directory: /storage/emulated/0/data/user/0/com.taolin.timpapp/files

@hstarorg
Copy link
Member

看起来是权限不足。@SunnyEver0 跟一下呢~

@SunnyEver0
Copy link
Contributor

@GuoJiKaiHehe 你好,请问安卓配置存储权限了吗?

@GuoJiKaiHehe
Copy link
Author

<uses-permission android:name="android.permission.READ_PHONE_STATE" /> 
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> 
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 
<uses-permission android:name="android.permission.BLUETOOTH" /> 
<uses-permission android:name="android.hardware.usb.accessory" /> 
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> 
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.WRITE_SETTINGS" /> 
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

@SunnyEver0 这是我的权限呢。不知道有没有,集成readme.md 没有说明要给权限啊。

@hstarorg
Copy link
Member

需要写入文件,是需要权限的。另外,请问下你的测试机器的信息,Android 6.x之后,权限可以动态申请,所以不需要一开始写死。但是之前的机型,就需要先申请权限。

@SunnyEver0
Copy link
Contributor

@GuoJiKaiHehe 看样子权限是没问题的
需要以下信息来确认问题:
1.请告知一下测试手机型号和安卓版本
2.请确认手机储存中是否有 data/user/0 文件夹
thanks!

@vveyZhang
Copy link

可以下载但是在安装的时候报错:no activity found to handle intent

@hstarorg
Copy link
Member

@vveyZhang 麻烦提供下详细机型,版本等信息。

@SunnyEver0
Copy link
Contributor

@GuoJiKaiHehe 还请确定项目中是否配置了file provider,目前demo中已更新file provider配置。

@SunnyEver0
Copy link
Contributor

@vveyZhang 还请确定是否配置了file-provider,目前demo中已添加

@SunnyEver0
Copy link
Contributor

@vveyZhang 确认是之前的bug,我们已经发布新版本进行fix,请确认问题是否还存在呢。

@hstarorg
Copy link
Member

无新反馈,先关闭。还有问题可重新创建issue。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants