Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Logcat
- AWS
- 안드로이드 라이브러리
- OTTO
- Mac
- ButterKnife
- 안드로이드
- 아마존웹서비스
- Picasso
- 라이브러리
- 안드로이드 스튜디오
- 커스텀뷰
- 이미지로딩 라이브러리
- Glide
- VMware
Archives
- Today
- Total
박상권의 삽질블로그
[Android ERROR&SOLVE]AppCompat does not support the current theme features 본문
IT/Android-ERROR&SOLVE
[Android ERROR&SOLVE]AppCompat does not support the current theme features
박상권 2015. 7. 9. 17:42
안드로이드 개발자들이 모여있는 오픈채팅방에 참여해보세요 .
Q&A 및 팁을 공유하는 방입니다..
오픈채팅방 참여
블로그를 Medium으로 옮겨서 운영하고 있습니다.
앞으로 새로운 글은 모두 미디엄 블로그를 통해서 올릴 예정입니다.
미디엄에서 다양하고 유익한 포스팅을 살펴보세요
미디엄 블로그 보기
AppCompat을 사용하는경우 style테마를 사용하는데에 더 엄격해졌습니다.
사용하는 style에 아래 설정을 추가해주면 해결됩니다.
If you use AppCompat style theme, you have to add this line.
<style.xml> in your app Theme
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
예시 에러 로그
07-09 17:34:58.110 9914-9914/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{kr.co.selphone.persistentsearch/kr.co.selphone.persistentsearch.RevealActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4946)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1036)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:803)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:363)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:246)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106)
at kr.co.selphone.persistentsearch.RevealActivity.onCreate(RevealActivity.java:27)
at android.app.Activity.performCreate(Activity.java:5206)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4946)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1036)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:803)
at dalvik.system.NativeStart.main(Native Method)
'IT > Android-ERROR&SOLVE' 카테고리의 다른 글
Event bus [Bus "default"] accessed from non-main thread Looper (1) | 2015.11.16 |
---|---|
[Android ERROR&SOLVE]GC overhead limit exceeded (0) | 2015.11.06 |
[Android ERROR&SOLVE]org.apache.http does not exist (0) | 2015.11.05 |
[Android ERROR&SOLVE]Default Activity Not Found (0) | 2015.10.22 |
[Android ERROR&SOLVE]threadid=1: thread exiting with uncaught exception (0) | 2015.07.24 |
Comments