java.lang.RuntimeException: Unable to instantiate receiver com.mymusicplayer.manjunath.mymusicplayer.MainActivity$switchButtonListener: java.lang.InstantiationException: class com.mymusicplayer.manjunath.mymusicplayer.MainActivity$switchButtonListener has no zero argument constructor

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Manjunath Prabhakar
, 9 months ago
Unable to instantiate receiver com.mymusicplayer.manjunath.mymusicplayer.MainActivity$switchButtonListener: java.lang.InstantiationException: class com.mymusicplayer.manjunath.mymusicplayer.MainActivity$switchButtonListener has no zero argument constructor
via Stack Overflow by Meccican Yusei
, 1 year ago
Unable to instantiate receiver com.example.carlos.recordatorio01.MainActivity$Receiver: java.lang.InstantiationException: class com.example.carlos.recordatorio01.MainActivity$Receiver has no zero argument constructor
via GitHub by BarakChamo
, 2 years ago
Unable to instantiate receiver com.parse.GcmBroadcastReceiver: java.lang.ClassNotFoundException: Didn't find class "com.parse.GcmBroadcastReceiver" on path: DexPathList[[zip file "/data/app/co.yougoigo.app-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
via GitHub by jaelsonapolinario
, 8 months ago
Unable to instantiate receiver com.example.android.apprestrictionenforcer.EnforcerDeviceAdminReceiver: java.lang.ClassNotFoundException: Didn't find class "com.example.android.apprestrictionenforcer.EnforcerDeviceAdminReceiver" on path: DexPathList
via GitHub by horbith
, 1 year ago
Unable to instantiate receiver org.traccar.client.hidden.DialLaunchReceiver: java.lang.ClassNotFoundException: Didn't find class "org.traccar.client.hidden.DialLaunchReceiver" on path: DexPathList[[zip file "/data/app/org.traccar.client.hidden-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
via GitHub by bxute
, 10 months ago
Unable to instantiate receiver musicgenie.com.musicgenie.activity.ErrorSplashActivity$ConnectivityBroadcastReceiver: java.lang.ClassNotFoundException: Didn't find class "musicgenie.com.musicgenie.activity.ErrorSplashActivity
java.lang.RuntimeException: Unable to instantiate receiver com.mymusicplayer.manjunath.mymusicplayer.MainActivity$switchButtonListener: java.lang.InstantiationException: class com.mymusicplayer.manjunath.mymusicplayer.MainActivity$switchButtonListener has no zero argument constructor
at java.lang.Class.getConstructor(Class.java:531)
at java.lang.Class.getDeclaredConstructor(Class.java:510)
at java.lang.Class.newInstance(Class.java:1595)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2615)
at android.app.ActivityThread.access$1700(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1394)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)

Users with the same issue

12 times, 1 year ago
10 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 week ago
49 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.