![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
二楼后座的香蕉园
我是一名热爱开源,喜欢技术分享的码农!
展开
-
Android requires compiler compliance level 5.0 or 6.0. Found '1.8' instead. 解决办法
右击项目->Properties.然后弹出如下视图: 接下勾上 Enable project specific settings。最后将complier Compliance level设置为1.6或者1.5。点击Apply,问题解决。原创 2016-03-11 16:37:31 · 2386 阅读 · 1 评论 -
利用power_profile.xml获取Android运行时的能耗
在Android手机中,手机每个组件,如CPU、显示屏、GPS、Audio、WiFi、Bluetooth等,运行时的能耗都保存在power_profile.xml文件中。所以我们可以通过读取power_profile.xml文件获取,获得各组件的能耗值。 我的手机中power_profile.xml的内容: - 0 100 70 1 1 160原创 2016-04-11 16:30:44 · 2701 阅读 · 1 评论