[BRLTTY] Latest brltty on android does not work

Peter Lecky peter.lecky at stopka.sk
Fri Feb 28 11:50:41 UTC 2025


Hello,

Tryiing to install and run latest brltty from google play. Testing on 
android 14 and also on 16 beta with the same results:

  AndroidRuntime: FATAL EXCEPTION: main
  AndroidRuntime: Process: org.a11y.brltty.android, PID: 22400
  AndroidRuntime: java.lang.RuntimeException: Unable to create service 
org.a11y.brltty.android.BrailleService: 
android.app.MissingForegroundServiceTypeException: Starting FGS without 
a type  callerApp=ProcessRecord{3919fde 
22400:org.a11y.brltty.android/u0a342} targetSDK=34
  AndroidRuntime:     at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:5196)
  AndroidRuntime:     at 
android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
  AndroidRuntime:     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2514)
  AndroidRuntime:     at 
android.os.Handler.dispatchMessage(Handler.java:106)
  AndroidRuntime:     at android.os.Looper.loopOnce(Looper.java:230)
  AndroidRuntime:     at android.os.Looper.loop(Looper.java:319)
  AndroidRuntime:     at 
android.app.ActivityThread.main(ActivityThread.java:9063)
  AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
  AndroidRuntime:     at 
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
  AndroidRuntime:     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
  AndroidRuntime: Caused by: 
android.app.MissingForegroundServiceTypeException: Starting FGS without 
a type  callerApp=ProcessRecord{3919fde 
22400:org.a11y.brltty.android/u0a342} targetSDK=34
  AndroidRuntime:     at 
android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:53)
  AndroidRuntime:     at 
android.app.MissingForegroundServiceTypeException$1.createFromParcel(MissingForegroundServiceTypeException.java:49)
  AndroidRuntime:     at 
android.os.Parcel.readParcelableInternal(Parcel.java:4904)
  AndroidRuntime:     at android.os.Parcel.readParcelable(Parcel.java:4886)
  AndroidRuntime:     at 
android.os.Parcel.createExceptionOrNull(Parcel.java:3086)
  AndroidRuntime:     at android.os.Parcel.createException(Parcel.java:3075)
  AndroidRuntime:     at android.os.Parcel.readException(Parcel.java:3058)
  AndroidRuntime:     at android.os.Parcel.readException(Parcel.java:3000)
  AndroidRuntime:     at 
android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:7248)
  AndroidRuntime:     at 
android.app.Service.startForeground(Service.java:775)
  AndroidRuntime:     at 
org.a11y.brltty.android.BrailleNotification.create(BrailleNotification.java:182)
  AndroidRuntime:     at 
org.a11y.brltty.android.BrailleService.onCreate(BrailleService.java:103)
  AndroidRuntime:     at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:5183)
Peter

-- 
Peter Lecký Stopka n. o.


More information about the BRLTTY mailing list