질문 | Android Bluetooth 채팅 질문이요
페이지 정보
작성자 코쿤팟 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일17-02-23 09:48 조회1,253회 댓글1건본문
http://www.hardcopyworld.com/ngine/android/index.php/archives/154사이트에서 보고 진행했는데요
코드 그대로 가져다가 썻는데
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.kaist.bluetooth, PID: 3157
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kaist.bluetooth/com.example.kaist.bluetooth.BluetoothChat}: android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: android.util.AndroidRuntimeException: You cannot combine custom titles with other title features
at com.android.internal.policy.PhoneWindow.requestFeature(PhoneWindow.java:346)
at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:2372)
at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:2686)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:404)
at android.app.Activity.setContentView(Activity.java:2414)
at com.example.kaist.bluetooth.BluetoothChat.onCreate(BluetoothChat.java:90)
at android.app.Activity.performCreate(Activity.java:6662)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
이런 에러가 발생합니다.. 도와주세요 ㅠㅠ
댓글목록
최고관리자님의 댓글

아래 링크의 방법대로 수정을 좀 해줘야 할듯 합니다. 꽤 오래전에 작성한 앱이라 상위 안드로이드 버전에서 문제가 생기는거 같습니다.
http://egloos.zum.com/yowonsm/v/796798