java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.kenolyatuma.futolocate/com.kenolyatuma.futolocate.MapsActivity }: java.lang.InstantiationException: can't instantiate class com.kenolyatuma.futolocate.MapsActivity; no empty 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

Samebug tips

,
Expert tip

This happens when you try to instantiate a class that can't be instantiated, either because the class object is abstract, an interface, an array class, a primitive type, void, or because the class has no nullary constructor.

Solutions on the web

via Stack Overflow by kenoly
, 1 year ago
Unable to instantiate activity ComponentInfo{com.kenolyatuma.futolocate/com.kenolyatuma.futolocate.MapsActivity }: java.lang.InstantiationException: can't instantiate class com.kenolyatuma.futolocate.MapsActivity; no empty constructor
via Stack Overflow by tomatediabolik
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.applicationname/com.example.applicationname.FirstActi}: java.lang.InstantiationException: can't instantiate class com.example.arduinodivecompanion.SecondActi; no empty constructor
via Stack Overflow by tomatediabolik
, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.arduinodivecompanion/com.example.arduinodivecompanion.DiveDetailActi}: java.lang.InstantiationException: can't instantiate class com.example.arduinodivecompanion.DiveDetailActi; no empty constructor
via Stack Overflow by user3827788
, 2 years ago
Unable to instantiate activity ComponentInfo{com.dooba.beta/com.dooba.beta.EventSingleItemActivity}: java.lang.InstantiationException: can't instantiate class com.dooba.beta.EventSingleItemActivity; no empty constructor
via Stack Overflow by Unknown author, 2 years ago
Unable to instantiate activity ComponentInfo{example.myapplication/example.myapplication.MainActivity}: java.lang.InstantiationException: can't instantiate class example.myapplication.MainActivity; no empty constructor
via codeplats.com by Unknown author, 2 years ago
Unable to instantiate activity ComponentInfo{com.example.arduinodivecompanion/com.example.arduinodivecompanion.DiveDetailActi}: java.lang.InstantiationException: can't instantiate class com.example.arduinodivecompanion.DiveDetailActi; no empty constructor
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.kenolyatuma.futolocate/com.kenolyatuma.futolocate.MapsActivity }: java.lang.InstantiationException: can't instantiate class com.kenolyatuma.futolocate.MapsActivity; no empty constructor
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1208)
at android.app.Instrumentation.newActivity(Instrumentation.java:1073)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2215)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5421)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:979)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
3 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
39 more bugmates

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