Obsidian crashes on startup on Android (Pixel A16)

We are receiving reports that users who are on certain devices for Android 16+ are run Obsidian once installed from the Play Store. The application will start, and immediately crash.

We will need the following information:

  1. Your device type
  2. Your device ROM/Build
  3. Your current webview
  4. Can you confirm Obsidian has permission to access the filesystem on Android? Y/N
  5. Does the same happen when you side load the app from Obsidian Releases?
  6. Is the Obsidian build 1.9.14? Y/N
  7. Did you get any Android update recently?

Requesting debug assistance
As we are unable to reproduce, we could use some help from those affected. To those who are familiar with accessing Android’s stack or with using Android Studio, we request a log from the logcat pane when starting the app to determine at what point(s) the app is crashing.

1 Like

From support email #114964.

Pixel 8 pro
Webview 140.0.7339.207

From #114428

Pixel 9 (Android 16)
140.0.7339.208

  1. Pixel 8
  2. Build BP3A.25090504.014
  3. WebView 140.0.7339.207
  4. No permissions granted
  5. The same happens when I install the latest apk from the website
  6. Is the Obsidian build 1.9.14? Yes
    start_obsidian.md (98.0 KB)
    install_obsidian.md (82.5 KB)
1 Like

Thanks so much!

Anytime, let me know if I can help (e.g. install a patch to verify a fix).

  1. Pixel 8 Pro
  2. BP3A.250905.014
  3. Y
  4. Y
  5. Y

obsidian_crash_log.txt.zip (7.9 KB)
Here’s the crash log from Studio. Pixel 8 pro - this topic was started on my request.

Thank you

Since we have not changed much between 1.9.12 and 1.9.14,
does the app crash when you use the 1.9.12 APK?

1.9.12 APK

vs this

1.9.14 APK

Same behavior with .12

It seems that the problem is not in the changes made by you but in the changes in Andoid.

•	The system failed twice to create or ensure the app’s folders on external storage:

Failed to ensure /storage/emulated/0/Android/data/md.obsidian/files and /cache → IllegalStateException from StorageManager.mkdirs.
• Right after that, the FilesystemPlugin tries to access a URI and throws a NullPointerException: file inside Uri.fromFile(…) → FATAL EXCEPTION: CapacitorPlugins.
In other words, getExternalFilesDir(…) returned null (external storage is unavailable or not yet prepared), and the code didn’t check for null.

Why this can happen on a newer Android version:
• On Android 14/15, external storage behavior and access to /Android/data/… have become stricter. At the very early startup stage, external storage may not yet be “mounted” for the process, so getExternalFilesDir() can return null. If the plugin calls it without a null check — that results in an NPE and crash.

1 - pixel 9 pro
2- BP3A.250905.014

3- First time install, no permissions option yet
4-y
5-y
6-y

Does restarting the phone fix the problem?

Restart doesn’t solve

I’ve tried everything, it’s even a brand new phone will all updates installed

Crashes right after the splash screen

Do any of you remember what you did before Obsidian started crashing?

This is not due to a change in Obsidian. Something changed system-wise and we are trying to figure out what it is.

Did you get an android update?

I upgraded to latest version of Android 16 this morning. But I was installing on a new phone (Pixel 9 Pro) and hadn’t run Obsidian on that yet.

Exactly the same as mottonew

Same here with a Pixel 7

1 Like

@JessyS did you always have this problem? did it start happening after some event?

Same issue here with a brand-new Pixel 9 Pro (new Google account, new everything):

  1. Device type: Pixel 9 Pro XL
  2. Device ROM/Build: BP3A.251005.004.B1
  3. Current webview: 140.0.7390.70
  4. Permission to access the filesystem on Android: It crashes before it’s asking for permissions the first time
  5. Does the same happen when you side load the app from Obsidian Releases: Yes
  6. Obsidian build: 1.9.14
  7. This is a brand-new device I received 2 weeks ago