nodomain.freeyourgadget.gadgetbridge.devices.pebble.PBWInstallHandler: Installation failed: no writable external directory foundjava.io.IOException: no writable external directory found

GitHub | stepardo | 5 months ago
  1. 0

    Installing Watchfaces/Apps fails when GadgetBridge is installed fresh.

    GitHub | 5 months ago | stepardo
    nodomain.freeyourgadget.gadgetbridge.devices.pebble.PBWInstallHandler: Installation failed: no writable external directory foundjava.io.IOException: no writable external directory found

    Root Cause Analysis

    1. nodomain.freeyourgadget.gadgetbridge.devices.pebble.PBWInstallHandler

      Installation failed: no writable external directory foundjava.io.IOException: no writable external directory found

      at nodomain.freeyourgadget.gadgetbridge.util.FileUtils.getExternalFilesDir()
    2. nodomain.freeyourgadget.gadgetbridge
      FwAppInstallerActivity$2.onClick
      1. nodomain.freeyourgadget.gadgetbridge.util.FileUtils.getExternalFilesDir(FileUtils.java:104)[na:0.0]
      2. nodomain.freeyourgadget.gadgetbridge.devices.pebble.PBWInstallHandler.onStartInstall(PBWInstallHandler.java:136)[na:0.0]
      3. nodomain.freeyourgadget.gadgetbridge.activities.FwAppInstallerActivity$2.onClick(FwAppInstallerActivity.java:149)[na:0.0]
      3 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:4780)[na:0.0]
      2. android.view.View$PerformClick.run(View.java:19866)[na:0.0]
      3. android.os.Handler.handleCallback(Handler.java:739)[na:0.0]
      4. android.os.Handler.dispatchMessage(Handler.java:95)[na:0.0]
      5. android.os.Looper.loop(Looper.java:135)[na:0.0]
      6. android.app.ActivityThread.main(ActivityThread.java:5254)[na:0.0]
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)[na:0.0]
      2. java.lang.reflect.Method.invoke(Method.java:372)[na:0.0]
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)[na:0.0]
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)[na:0.0]
      2 frames