Open CyanChanges opened 8 months ago
In Android 14, Load a writable dex will throw a SecurityException. (Document Here)
09 23:19:48.620 20596 20596 E rish : Attempt to load writable dex file: /data/data/com.termux/files/home/./rish.dex 10-09 23:19:48.620 20596 20596 W rish : Ljava/lang/ClassLoader$SystemClassLoader; failed initialization: java.lang.SecurityException: Writable dex file '/data/data/com.termux/files/home/./rish.dex' is not allowed.
And you will only get Aborted when running it.
Aborted
$ ./rish Aborted
How to fix it:
$ chmod -w ./rish.dex $ ./rish Works fine...
Here is the full [log].
(九键用不惯懒得切输入法打中文.png)
In Android 14, Load a writable dex will throw a SecurityException. (Document Here)
And you will only get
Aborted
when running it.How to fix it:
Here is the full [log].
(九键用不惯懒得切输入法打中文.png)