android.app.ServiceConnectionLeaked: Activity org.cocos2dx.javascript.AppActivity has leaked ServiceConnection android.speech.tts.TextToSpeech$Connection@df3ec64 that was originally bound here

Stack Overflow | Anand Kulkarni | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    App is crashing after integrating with Mopub

    Stack Overflow | 2 months ago | Anand Kulkarni
    android.app.ServiceConnectionLeaked: Activity org.cocos2dx.javascript.AppActivity has leaked ServiceConnection android.speech.tts.TextToSpeech$Connection@df3ec64 that was originally bound here
  2. 0

    Leaked window exception even though no service is used

    Stack Overflow | 4 years ago | La bla bla
    android.app.ServiceConnectionLeaked: Activity com.lablabla.similarsearch.WebViewActivity has leaked ServiceConnection android.speech.tts.TextToSpeech$Connection@443065c0 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:974)
  3. 0

    Fragment and Text to speech and slide menu

    Stack Overflow | 2 years ago | m r sh
    android.app.ServiceConnectionLeaked: Activity com.PishgamanIt.ETPUP.MainActivity has leaked ServiceConnection android.speech.tts.TextToSpeech$Connection@b1322460 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:974)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to run an Android TTS in an IntentService

    Stack Overflow | 4 years ago | Altkey
    android.app.ServiceConnectionLeaked: Service me.arthurtucker.alfredjr.SpeechService has leaked ServiceConnection android.speech.tts.TextToSpeech$Connection@37ad3e10 that was originally bound here at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:969)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.app.ServiceConnectionLeaked

    Activity org.cocos2dx.javascript.AppActivity has leaked ServiceConnection android.speech.tts.TextToSpeech$Connection@df3ec64 that was originally bound here

    at android.app.LoadedApk$ServiceDispatcher.<init>()
  2. Android Platform
    TextToSpeech.<init>
    1. android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1092)
    2. android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:986)
    3. android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1303)
    4. android.app.ContextImpl.bindService(ContextImpl.java:1286)
    5. android.content.ContextWrapper.bindService(ContextWrapper.java:604)
    6. android.speech.tts.TextToSpeech.connectToEngine(TextToSpeech.java:800)
    7. android.speech.tts.TextToSpeech.initTts(TextToSpeech.java:770)
    8. android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:723)
    9. android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:702)
    10. android.speech.tts.TextToSpeech.<init>(TextToSpeech.java:686)
    10 frames
  3. org.cocos2dx.javascript
    AppActivity$AjcClosure11.run
    1. org.cocos2dx.javascript.AppActivity.initTextToSpeech_aroundBody10(AppActivity.java:709)
    2. org.cocos2dx.javascript.AppActivity$AjcClosure11.run(AppActivity.java:1)
    2 frames
  4. org.a.b
    c.c
    1. org.a.b.b.c.c(JoinPointImpl.java:149)
    1 frame
  5. c.a.a
    a.a
    1. c.a.a.a.a(Hugo.java:39)
    1 frame
  6. org.cocos2dx.javascript
    AppActivity$AjcClosure9.run
    1. org.cocos2dx.javascript.AppActivity.initTextToSpeech(AppActivity.java:709)
    2. org.cocos2dx.javascript.AppActivity.setup_aroundBody8(AppActivity.java:701)
    3. org.cocos2dx.javascript.AppActivity$AjcClosure9.run(AppActivity.java:1)
    3 frames
  7. org.a.b
    c.c
    1. org.a.b.b.c.c(JoinPointImpl.java:149)
    1 frame
  8. c.a.a
    a.a
    1. c.a.a.a.a(Hugo.java:39)
    1 frame
  9. org.cocos2dx.javascript
    AppActivity$AjcClosure1.run
    1. org.cocos2dx.javascript.AppActivity.setup(AppActivity.java:619)
    2. org.cocos2dx.javascript.AppActivity.onCreate_aroundBody0(AppActivity.java:178)
    3. org.cocos2dx.javascript.AppActivity$AjcClosure1.run(AppActivity.java:1)
    3 frames
  10. org.a.b
    c.c
    1. org.a.b.b.c.c(JoinPointImpl.java:149)
    1 frame
  11. c.a.a
    a.a
    1. c.a.a.a.a(Hugo.java:39)
    1 frame
  12. org.cocos2dx.javascript
    AppActivity.onCreate
    1. org.cocos2dx.javascript.AppActivity.onCreate(AppActivity.java:146)
    1 frame
  13. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6245)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)
    4 frames