【发布时间】:2011-07-19 23:52:04
【问题描述】:
当我在模拟器/平板电脑中直接从 Eclipse 调试时,我的应用程序运行良好。但是当我尝试签名并在将其放在那里后从 android market 下载它时,它似乎不起作用并抛出
Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment com.prakashkut.HackerNews.NewsListFragment: make sure class name exists, is public, and has an empty constructor that is public
at android.app.Fragment.instantiate(Fragment.java:500)
at android.app.Fragment.instantiate(Fragment.java:468)
at android.app.Activity.onCreateView(Activity.java:4132)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:664)
我也试过放一个空的构造函数。
我错过了一些非常简单的东西吗?
【问题讨论】:
标签: android eclipse android-emulator android-3.0-honeycomb