How to fix: “You need to use a Theme.AppCompat theme (or descendant) with this activity”

后端 未结 4 1113
傲寒
傲寒 2020-11-28 09:36

I am having trouble running my Android app in a fullscreen mode per instructions of a video. When it tries to run, the app crashes with the error.

\"You need t

4条回答
  •  不知归路
    2020-11-28 10:09

    If you add the android:theme="@style/Theme.AppCompat.Light" to in AndroidManifest.xml file, problem is solving.

提交回复
热议问题