java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{phone_finder.maxsoft.com.whereismyphone/PACKAGE.SpeechRecognizerResult}: java.lang.InstantiationException: can't instantiate class phone_finder.maxsoft.com.whereismyphone.SpeechRecognizerResult

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 Mina Dahesh
, 1 year ago
Unable to instantiate activity ComponentInfo{phone_finder.maxsoft.com.whereismyphone/PACKAGE.SpeechRecognizerResult}: java.lang.InstantiationException: can't instantiate class phone_finder.maxsoft.com.whereismyphone.SpeechRecognizerResult
via Stack Overflow by Akshay
, 2 years ago
Unable to instantiate activity ComponentInfo{org.opencv.samples.imagemanipulations/org.opencv.samples.imagemanipulations.ImageManipulationsActivity}: java.lang.InstantiationException: can't instantiate class org.opencv.samples.imagemanipulations.ImageManipulationsActivity
via Stack Overflow by zeeshan haider
, 2 years ago
Unable to instantiate activity ComponentInfo{com.haider.trymap/com.haider.trymap.ProximityActivity}: java.lang.InstantiationException: can't instantiate class com.haider.trymap.ProximityActivity
via GitHub by hellaesir
, 2 years ago
Unable to instantiate activity ComponentInfo{br.com.belaapp.cliente/com.costum.android.widget.LoadMoreListView}: java.lang.InstantiationException: can't instantiate class com.costum.android.widget.LoadMoreListView; no empty constructor
via Stack Overflow by Shani Goriwal
, 2 years ago
Unable to instantiate activity ComponentInfo{com.demo_keystore/com.demo_keystore.MainActivity}: java.lang.InstantiationException: can't instantiate class com.demo_keystore.MainActivity; no empty constructor
via Stack Overflow by Jai Sharma
, 2 years ago
Unable to instantiate activity ComponentInfo{com.jdev.truenorthcompass/com.jdev.truenorthcompass.MainActivity}: java.lang.InstantiationException: can't instantiate class com.jdev.truenorthcompass.MainActivity
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{phone_finder.maxsoft.com.whereismyphone/PACKAGE.SpeechRecognizerResult}: java.lang.InstantiationException: can't instantiate class phone_finder.maxsoft.com.whereismyphone.SpeechRecognizerResult
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2025)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)

Users with the same issue

3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 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, 1 year ago

Write tip

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