Unable to instantiate activity ComponentInfo can't instantiate class

后端 未结 3 1231
囚心锁ツ
囚心锁ツ 2020-12-11 17:47

Thank you in advance to everyone who takes a look at this question, especially to those who try to answer! This website has been of great help to me!

I am currently

3条回答
  •  臣服心动
    2020-12-11 18:26

    Abstract classes are by definition not instantiable.

    change

    public abstract class HomeScreen extends ListActivity 
    

    to

    public class HomeScreen extends ListActivity 
    

提交回复
热议问题