qq_34245549 2018-05-27 05:32 采纳率: 0%
浏览 20924
已结题

真机调试Android时项目闪退

05-27 13:31:06.763 666-2896/? E/ANDR-PERF-OPTSHANDLER: Warning: Core control support not present for lock_min_cores on cluster 0 for this target
05-27 13:31:06.763 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
05-27 13:31:06.764 666-2896/? E/ANDR-PERF-OPTSHANDLER: Warning: Core control support not present for lock_max_cores on cluster 0 for this target
05-27 13:31:06.764 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 1]
05-27 13:31:06.765 666-2896/? E/ANDR-PERF-OPTSHANDLER: Warning: Core control support not present for lock_min_cores on cluster 0 for this target
05-27 13:31:06.765 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
05-27 13:31:06.766 802-1226/? E/msm8974_platform: platform_check_backends_match: Invalid snd_device =
05-27 13:31:06.767 1447-8893/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity/1
05-27 13:31:06.769 1447-8893/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity/1
05-27 13:31:06.774 1447-2342/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity/1

                                              [ 05-27 13:31:06.775   771:  771 I/         ]
                                              pid is 1447, sp is 799

05-27 13:31:06.816 1447-2550/? E/ActivityThread: Failed to find provider info for cn.nubia.launcher.fancyIcon
05-27 13:31:06.829 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10229 -j REJECT
05-27 13:31:06.846 17658-17658/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.bjut.zx.seetv, PID: 17658
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.bjut.zx.seetv/com.bjut.zx.seetv.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2953)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3014)
at android.app.ActivityThread.-wrap13(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1647)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:177)
at android.app.ActivityThread.main(ActivityThread.java:6651)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.support.v7.app.AppCompatDelegateImplV9.createSubDecor(AppCompatDelegateImplV9.java:354)
at android.support.v7.app.AppCompatDelegateImplV9.ensureSubDecor(AppCompatDelegateImplV9.java:323)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.bjut.zx.seetv.MainActivity.onCreate(MainActivity.java:13)
at android.app.Activity.performCreate(Activity.java:6748)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1132)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2906)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3014) 
at android.app.ActivityThread.-wrap13(ActivityThread.java) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1647) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:177) 
at android.app.ActivityThread.main(ActivityThread.java:6651) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802) 
05-27 13:31:06.846 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10229 -j REJECT
05-27 13:31:06.861 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10229 -j REJECT
05-27 13:31:06.867 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10229 -j REJECT
05-27 13:31:06.874 1447-3027/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcn.nubia.launcher/com.android.launcher3.Launcher/26
05-27 13:31:06.882 1447-2550/? E/ActivityThread: Failed to find provider info for cn.nubia.launcher.fancyIcon
05-27 13:31:07.019 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10082 -j REJECT
05-27 13:31:07.025 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o rmnet+ -m owner --uid-owner 10082 -j REJECT
05-27 13:31:07.033 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10082 -j REJECT
05-27 13:31:07.039 819-1676/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -W 10000 -w -D OUTPUT -o wlan0 -m owner --uid-owner 10082 -j REJECT
05-27 13:31:07.775 666-2896/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/scsi_host/host0/../../../clkscale_enable with 1
return value 2
05-27 13:31:11.776 666-2896/? E/ANDR-PERF-RESOURCEQS: Failed to reset optimization [3, 0]

  • 写回答

6条回答 默认 最新

  • qq_40850200 2018-05-27 05:52
    关注

    在apptheme定义一下

    评论

报告相同问题?

悬赏问题

  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?