Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
이 에러는 어떤걸 고쳐줘야하나요?
클래스는 현재
public class DBActivity extends AppCompatActivity
이러헥 되어있고
검색해보니 styles.xml에 옵션을 주라고 해서 이거저거 다해봤는데 계속 이러네요ㅠ
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
ㅇ
매니페스트에서는 해당액티비티에
android:theme="@style/AppTheme"
추가ㅐ놓았습니다.
어디가 문제인가요?