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

  1. ,

    Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by Daniel N.
, 1 year ago
Unable to instantiate activity ComponentInfo{com.example.daniel.digit/com.example.daniel.digit.Results}: java.lang.InstantiationException: java.lang.Class<com.example.daniel.digit.Results> cannot be instantiated
via Stack Overflow by blasto
, 1 year ago
Unable to instantiate activity ComponentInfo{ms_br.appriuso/ms_br.appriuso.MapsActivity}: java.lang.InstantiationException: java.lang.Class<ms_br.appriuso.MapsActivity> cannot be instantiated
via Stack Overflow by Jal Panchal
, 9 months ago
Unable to instantiate activity ComponentInfo{com.example.jal.jp/com.example.jal.jp.VR_Video}: java.lang.InstantiationException: java.lang.Class<com.example.jal.jp.VR_Video> cannot be instantiated
via Stack Overflow by Pin Phreek
, 1 year ago
Unable to instantiate activity ComponentInfo{pinphreek.de.ggnauenquizseki/pinphreek.de.ggnauenquizseki.Screen}: java.lang.InstantiationException: java.lang.Class cannot be instantiated
via Stack Overflow by 박정현
, 1 year ago
Unable to instantiate activity ComponentInfo{team2.beepbeep/team2.beepbeep.MainActivity}: java.lang.InstantiationException: java.lang.Class<team2.beepbeep.MainActivity> cannot be instantiated
via Stack Overflow by priyanka
, 1 year ago
Unable to instantiate activity ComponentInfo{com.ex.nishkarsh.nishkarsh/com.ex.nishkarsh.nishkarsh.MainActivity}: java.lang.InstantiationException: java.lang.Class<com.ex.nishkarsh.nishkarsh.MainActivity> has no zero argument constructor
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.daniel.digit/com.example.daniel.digit.Results}: java.lang.InstantiationException: java.lang.Class<com.example.daniel.digit.Results> cannot be instantiated	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)