RikkaApps / Shizuku

Using system APIs directly with adb/root privileges from normal apps through a Java process started with app_process.
Apache License 2.0
8.96k stars 531 forks source link

Shizuku can't write in it's own directory, Java error #529

Closed Uneccessary closed 2 weeks ago

Uneccessary commented 2 weeks ago

Please report bugs of Shizuku itself.

Requirements:

Information:

Logs:

java.io.IOException: getExternalFilesDir() returns null at rikka.shizuku.nk0.h(SourceFile:184) at rikka.shizuku.ks$f.l(SourceFile:35) at rikka.shizuku.t9.n(SourceFile:12) at rikka.shizuku.kk.run(SourceFile:119) at rikka.shizuku.hz.run(SourceFile:13) at rikka.shizuku.om0.run(SourceFile:3) at rikka.shizuku.kg.l(SourceFile:1) at rikka.shizuku.kg$c.d(SourceFile:15) at rikka.shizuku.kg$c.n(SourceFile:29) at rikka.shizuku.kg$c.run(Unknown Source:0)

Describe the bug:

Error message that Shizuku couldn't write in it's directory:

java.io.IOException: getExternalFilesDir() returns null at rikka.shizuku.nk0.h(SourceFile:184) at rikka.shizuku.ks$f.l(SourceFile:35) at rikka.shizuku.t9.n(SourceFile:12) at rikka.shizuku.kk.run(SourceFile:119) at rikka.shizuku.hz.run(SourceFile:13) at rikka.shizuku.om0.run(SourceFile:3) at rikka.shizuku.kg.l(SourceFile:1) at rikka.shizuku.kg$c.d(SourceFile:15) at rikka.shizuku.kg$c.n(SourceFile:29) at rikka.shizuku.kg$c.run(Unknown Source:0)

Additional context:

OS: LeneageOS 19.1 (unofficial)

Uneccessary commented 2 weeks ago

Found the issue (Internal storage wasn't accessable)