|
Post by raviff on Apr 12, 2017 23:25:15 GMT
I recently updated my rom to nougat 7.1.1 and I've been getting can't open file exception. Prior to the rom update I had no problems. I can still run the same script on Nox, just not on my phone. I've tried both with root access and with daemon, and with sdcard as temp and without. And also with beta function for clicking. Ankulua has storage and phone permissions. Any suggestions?
|
|
|
Post by AnkuLua on Apr 13, 2017 1:10:43 GMT
Make sure the file exists and readable in AnkuLua script selector.
|
|
|
Post by raviff on Apr 13, 2017 11:14:50 GMT
The file is there. I copied through mtp and tried unzipping through an app to make sure that I had no permissions problems. I also set 777 permissions on the whole folder through the recovery just to be certain and still it didn't work. I was checking the nougat documentation and it said there were some security changes on how applications accesses the files. Could that may be the problem? None of the summoners war script worked on nougat.
|
|
|
Post by raviff on Apr 13, 2017 11:19:47 GMT
The calculator sample works, though...
|
|
|
Post by raviff on Apr 15, 2017 18:26:49 GMT
When I run the script I get several of this msgs on my logcat.
04-15 14:49:46.681 27650 27650 E cutils-trace: Error opening trace file: No such file or directory (2) 04-15 14:49:46.780 27630 27630 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<< 04-15 14:49:46.784 27630 27630 D AndroidRuntime: CheckJNI is OFF 04-15 14:49:46.785 27630 27630 E cutils-trace: Error opening trace file: No such file or directory (2) 04-15 14:49:46.852 27630 27630 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat 04-15 14:49:46.917 27630 27630 I Radio-JNI: register_android_hardware_Radio DONE 04-15 14:49:46.941 27630 27630 D AndroidRuntime: Calling main entry com.android.commands.am.Am 04-15 14:49:46.989 27630 27630 D AndroidRuntime: Shutting down VM
|
|
|
Post by AnkuLua on Apr 16, 2017 1:09:13 GMT
Does the file show in AnkuLua script selector? Please share the screenshot if possible.
|
|
|
Post by raviff on Apr 16, 2017 14:04:19 GMT
I selected it just to make sure the app could read it, I'm not running, I'm running the script.
|
|
|
Post by raviff on Apr 16, 2017 14:12:53 GMT
I'm checking logcat but I can't find anything useful on it. Is there any other log information that might help? The permissions on the file are the same as all the others on the folder. -rw-rw---- 1 root sdcard_rw 3850 2017-04-13 08:58 dialogToa.png
|
|
|
Post by AnkuLua on Apr 16, 2017 15:36:07 GMT
A!Ha! The file is dialogTOA.png But the script is dialogToa.png The cases are different for O and A.
|
|
|
Post by raviff on Apr 16, 2017 17:15:27 GMT
Oh lol. I feel extremely stupid for not noticing that now. I looked everywhere else but the obvious. Thanks a lot! Funny that it's only an issue on nougat though, I just checked on Nox running kitkat and it isn't a problem there. And my previous rom version was lolipop and no problem there either.
|
|