{"action":"created","issue":{"url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/413","repository_url":"https://api.github.com/repos/saki4510t/UVCCamera","labels_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/413/comments","events_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/413/events","html_url":"https://github.com/saki4510t/UVCCamera/issues/413","id":368011684,"node_id":"MDU6SXNzdWUzNjgwMTE2ODQ=","number":413,"title":"You need to use a Theme.AppCompat theme (or descendant) with this activity.","user":{"login":"751643992","id":9413175,"node_id":"MDQ6VXNlcjk0MTMxNzU=","avatar_url":"https://avatars0.githubusercontent.com/u/9413175?v=4","gravatar_id":"","url":"https://api.github.com/users/751643992","html_url":"https://github.com/751643992","followers_url":"https://api.github.com/users/751643992/followers","following_url":"https://api.github.com/users/751643992/following{/other_user}","gists_url":"https://api.github.com/users/751643992/gists{/gist_id}","starred_url":"https://api.github.com/users/751643992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/751643992/subscriptions","organizations_url":"https://api.github.com/users/751643992/orgs","repos_url":"https://api.github.com/users/751643992/repos","events_url":"https://api.github.com/users/751643992/events{/privacy}","received_events_url":"https://api.github.com/users/751643992/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-09T01:57:14Z","updated_at":"2018-10-11T01:15:08Z","closed_at":null,"author_association":"NONE","body":"  java.lang.RuntimeException: Unable to start activity ComponentInfo{com.serenegiant.usbcameratest/com.serenegiant.usbcameratest.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.\r\n        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2741)\r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2802)\r\n        at android.app.ActivityThread.-wrap12(ActivityThread.java)\r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1549)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:163)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6377)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)\r\n     Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.\r\n        at android.support.v7.app.AppCompatDelegateImplV9.createSubDecor(AppCompatDelegateImplV9.java:354)\r\n        at android.support.v7.app.AppCompatDelegateImplV9.ensureSubDecor(AppCompatDelegateImplV9.java:323)\r\n        at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)\r\n        at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)\r\n        at com.serenegiant.usbcameratest.MainActivity.onCreate(MainActivity.java:61)\r\n        at android.app.Activity.performCreate(Activity.java:6865)\r\n        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)\r\n        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2694)\r\n        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2802) \r\n        at android.app.ActivityThread.-wrap12(ActivityThread.java) \r\n        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1549) \r\n        at android.os.Handler.dispatchMessage(Handler.java:102) \r\n        at android.os.Looper.loop(Looper.java:163) \r\n        at android.app.ActivityThread.main(ActivityThread.java:6377) \r\n        at java.lang.reflect.Method.invoke(Native Method) \r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904) \r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794) "},"comment":{"url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/comments/428784380","html_url":"https://github.com/saki4510t/UVCCamera/issues/413#issuecomment-428784380","issue_url":"https://api.github.com/repos/saki4510t/UVCCamera/issues/413","id":428784380,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODc4NDM4MA==","user":{"login":"BernardJiang","id":15805060,"node_id":"MDQ6VXNlcjE1ODA1MDYw","avatar_url":"https://avatars0.githubusercontent.com/u/15805060?v=4","gravatar_id":"","url":"https://api.github.com/users/BernardJiang","html_url":"https://github.com/BernardJiang","followers_url":"https://api.github.com/users/BernardJiang/followers","following_url":"https://api.github.com/users/BernardJiang/following{/other_user}","gists_url":"https://api.github.com/users/BernardJiang/gists{/gist_id}","starred_url":"https://api.github.com/users/BernardJiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernardJiang/subscriptions","organizations_url":"https://api.github.com/users/BernardJiang/orgs","repos_url":"https://api.github.com/users/BernardJiang/repos","events_url":"https://api.github.com/users/BernardJiang/events{/privacy}","received_events_url":"https://api.github.com/users/BernardJiang/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T01:15:08Z","updated_at":"2018-10-11T01:15:08Z","author_association":"NONE","body":"For example, change the line in UVCCamera/usbCameraTest0/src/main/AndroidManifest.xml:\r\nfrom\r\n        android:theme=\"@style/AppTheme\" >\r\nto\r\n        android:theme=\"@style/Theme.AppCompat\" >\r\nIt solves this problem."}}
{"actor":{"display_login":"BernardJiang"}}