-
Notifications
You must be signed in to change notification settings - Fork 164
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
File not found #41
Comments
@billygl |
Yes, I checked both locations. For that reason,
Sorry for the confusion. I updated the post |
@billygl Is your phone on android 6 (marshmallow)? |
Yes Android 6.0.1. Galaxy S7 Edge. |
Maybe you should try and modify its Java source code? |
Yes. I pushed these files to 2 locations and I changed the source code for theses locations in different tests but I highlight that
It works, but |
@billygl I found the problem, it's about runtime permission control introduced in android 6. Here's the workaround: manually grant the app with storage permission. |
Excellent! |
I used
And I watched ok in Android Log Monitor. It means Android can find the file. It exists.
But I got
when the execution arrived to
caffeMobile.loadModel(modelProto, modelBinary);
It means that Android find the file but io.cpp can't find the file.
I doubled checked the path and I added
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
And I updated the code using the external storage SD card
but I can't solve this issue.
I have
And I don't know what is the problem.
Please, help
The text was updated successfully, but these errors were encountered: