theme1 java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 에러 메세지java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 에러 상황 기존 Activity를 AppCompatActivity로 바꾸는 중에 발생한 에러 해결방법 해결방법은 Theme가 맞지 않다는 건데 manifest로 갑니다. 위 네모 박스가 기존 Activity에서 사용하던 theme입니다. 하지만 위 theme는 AppCompatActivity에서는 지원이 안됩니다. 따라서 아래 네모박스처럼 바꿔주셔야 합니다. 1android:theme="@style/Base.Theme.AppCompat"cs 위와 같이 수정해 주세요^^ 2017. 9. 14. 이전 1 다음 인기글