android.os.StrictMode$InstanceCountViolation: class com.elyeproj.edittextleak.SubActivity; instances=2; limit=1

Stack Overflow | Elye | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    EditText caused Activity to leak. No current stackoverflow answer helped

    Stack Overflow | 9 months ago | Elye
    android.os.StrictMode$InstanceCountViolation: class com.elyeproj.edittextleak.SubActivity; instances=2; limit=1
  2. 0

    StrictMode$InstanceCountViolation, instances=2; limit=1

    Stack Overflow | 3 years ago | JohnyTex
    android.os.StrictMode$InstanceCountViolation: class se.pilotfish.android.policymanager.application.HomeInterceptorActivity; instances=3; limit=2
  3. 0

    Error/StrictMode - two instances from activity

    Stack Overflow | 5 years ago | user949884
    android.os.StrictMode$InstanceCountViolation: class de.test.android.view.activity.SettingsShowBabyActivity; instances=2; limit=1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Updating a published LiveCard causes an InstanceCountViolation

    Stack Overflow | 3 years ago | Jacob K
    android.os.StrictMode$InstanceCountViolation: class com.google.glass.home.voice.TouchMainMenuActivity; instances=3; limit 1
  6. 0

    "No value for duration_millis" toast and errors on logcat

    GitHub | 2 years ago | mkody
    android.os.StrictMode$InstanceCountViolation: class org.mariotaku.twidere.activity.support.LinkHandlerActivity; instances=2; limit=1

  1. Adrien 45 times, last 3 months ago
  2. gamebusterz 1 times, last 3 months ago
  3. Alexandru Popa 1 times, last 6 months ago
  4. filpgame 3 times, last 5 months ago
  5. asvid 8 times, last 11 months ago
6 more registered users
2 unregistered visitors
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.os.StrictMode$InstanceCountViolation

    class com.elyeproj.edittextleak.SubActivity; instances=2; limit=1

    at android.os.StrictMode.setClassInstanceLimit()
  2. Android Platform
    StrictMode.setClassInstanceLimit
    1. android.os.StrictMode.setClassInstanceLimit(StrictMode.java:1)
    1 frame