- 博客(12)
- 资源 (5)
- 收藏
- 关注
原创 Android studio gradle编译问题:Cause: Dex cannot parse version 52 byte code. This is caused by library de
最近使用AS编译出现了下面的问题:Error:Error converting bytecode to dex:Cause: Dex cannot parse version 52 byte code.This is caused by library dependencies that have been compiled using Java 8 or above.If you
2017-12-25 18:56:26
3571
3
原创 解决 系统升级后Selinux的file_context指定的目录或者文件域变成unlabeled
最近遇到一个selinux相关问题,相关的denied打印如下:avc: denied { write } for name="/" dev="mmcblk0p10" ino=2 scontext=u:r:AAAA:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0avc: denied { create } for
2017-03-22 10:13:44
7892
原创 Android系统中打印堆栈的方法
方法1:Log.i("xxx", "native setActivityController----",new RuntimeException("here").fillInStackTrace());
2017-02-23 17:14:28
584
原创 selinux security level引起的denied u:r:untrusted_app:s0:c512,c768问题
最近selinux遇到问题:avc: denied { sigkill } for pid=12755 comm="sh" scontext=u:r:AAAA:s0 tcontext=u:r:untrusted_app:s0:c512,c768tclass=process permissive=0发现即使加了 allow AAAA untrusted_app:process sigkill
2017-02-22 11:28:21
9431
原创 解决win10运行Android AVD遇到Canot lunch AVD in emulator问题
最近在学习Android studio。遇到一个模拟器的问题整了很久才好。记录如下:辛辛苦苦敲了代码准备运行到模拟器上,结果看到下面错误:Canot lunch AVD in emulaterOutput:emulator:ERROR:X86 emulation currently requires hardware acceleration!Please ensure I
2017-02-22 11:01:23
5914
原创 解决CTS测试项testIsUserAMonkey
Android cts 测试中有一项测试testIsUserAMonkeyhost_log如下:02-16 09:57:53 I/00003c591ec7205b: android.app.cts.ActivityManagerTest#testIsUserAMonkey FAIL junit.framework.AssertionFailedErrorat junit.f
2017-02-16 11:11:09
1027
原创 Android 模拟器启动报错Failed to allocate memory: 8
第一次使用eclipse模拟器Failed to allocate memory: 8找资料发现是AVDM设置参数不对,把memory option RAM设置成512即可
2017-02-10 10:50:29
543
原创 win7或者win10安装Ubuntu16.04双系统方法
一,使用UltralSO制作U盘安装盘1.点击文件夹按钮选择下载好的ubuntu系统ios文件2.点击启动—>写入硬盘映像3. 选择需要制作启动盘的U盘最后选择写入,然后等6-10分钟启动U盘就可以做好了。二 将Ubuntu的启动U盘插在电脑上,重启电脑,开机时按F12,选择U盘启动三.安装Ubuntu:出现安装界面选择,语言
2017-01-17 14:29:48
1912
原创 解决 framework层media自己发广播 第三方应用Permission Denial 问题
今天遇到在android 6.0系统下打开Restricted Profile后即使allow第三方apk但是还是挂了的问题。关键log如下:java.lang.SecurityException: Permission Denial: broadcast asks to run as user 0 but is calling from user 10; this requires an
2016-11-04 11:27:06
4941
原创 CTS测试-com.android.cts.appsecurity.AdoptableHostTest -testPrimaryStorage
CTS测试 com.android.cts.appsecurity.AdoptableHostTest -testPrimaryStorage
2016-11-02 17:28:37
4571
原创 解决16G(或者8G)U盘格式化后变为15M的问题
最近U盘被格式话太多次后发现两种现象:1.原本16G的U盘在系统里只识别到15M。2.系统显示3G容量但是拷贝不进去文件,提示一个意外错误使你无法复制该文件。经过度娘发现以下解决办法:1.百度下载diskgenius工具。2.运行DiskGenius 3.选中U盘,右键,选择快速分区 。4.在快速分区中选择自定义1个分区, 卷
2016-11-02 12:17:55
15292
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人