Problem running android HelloTabWidget example - NullPointerException on addTab()

后端 未结 12 1104
陌清茗
陌清茗 2021-01-13 17:17

I\'ve tried the Tab Layout example, and I\'ve also fixed the few typos in the example (and added all the activities to the manifest). However, when I run it on the emulator

12条回答
  •  不思量自难忘°
    2021-01-13 17:40

    I had the same wired error.

    Try This:

    If you are using eclipse delete the error, change some code(so the app will recompile) and then it should work fine.

提交回复
热议问题