java.lang.IllegalArgumentException: AppCompat does not support the current theme features

后端 未结 15 1125
你的背包
你的背包 2020-12-04 11:32

I tried to migrate a project from Eclipse to Android studio. Finally I am able to run it, but at a certain point I got this exception, and I found nothing in google about th

15条回答
  •  感情败类
    2020-12-04 12:20

    In my case, I look for @rewrihitesh answer, and I notice that I inverted elements order. Changing from

    setContentView(R.layout.activity_test);
    super.onCreate(savedInstanceState);
    

    to

    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_test);
    

    Fix my problem.

    Hope it helps !!

提交回复
热议问题