开发者

HelloTabWidget must be force closed unexpectedly on emulator

I created the HelloTabWidget tutorial app for android and cannot seem to make it work. I get a warning saying the application was closed or stopped unexpectedly. The console only logs that the activity is being initiated but it stays there. The app is successfully installed on the emulator but nothing else.

Ive uploaded my code here:

www.santiapps.com/HelloTabWidget.zip

I would appreciate if you could look over the code and point out 开发者_JAVA百科if you see anything that might be the problem. Im running it on an eclipse helios, on an avd min7, target12 and max12. Ive run helloworld on the same avd and it runs fine.

What can I do to figure out where the problem is?


Use of match_parent requires at least Android 8. Use fill_parent to support pre-8.

Further, the manifest says android:minSdkVersion="11".

Since the "drawable" resource directory is empty, this will not work on Android 3.

Since only the "drawable-hdpi" resource directory has all of the necessary resources, this will not work on MDPI or LDPI devices.

Does that help point you in the right direction?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜