Issue with displaying TabHost Layout in new Intent

后端 未结 9 2154
悲哀的现实
悲哀的现实 2021-01-20 21:05

I am having an issue with using TabHost in a new Intent of type TabActivity which I hope you can point me in the right direction. Funnily it works fine when I try to view it

9条回答
  •  情书的邮戳
    2021-01-20 21:49

    I also had this error. For me it would appear after obfuscation(via ProGuard), pre obfuscation it was fine.

    In the end I renamed my layout file to something more complex and unique, and ProGuard didn't mess up the linking. Bit easer than going down the ProGuard configeration path.

    So my issue was similar to SapphireSun, though expressed via a different process(and post eclipse, just to make things that bit more difficult).

    This is perhaps one of the more obscure ways to get this error, but I thought it worth a mention.

提交回复
热议问题