九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 7556|回复: 2
打印 上一主题 下一主题

android 编译不通过

[复制链接]
跳转到指定楼层
楼主
发表于 2017-6-7 23:37:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Install: out/target/product/drone2/recovery/root/sbin/mount.exfat
Install: out/target/product/drone2/system/priv-app/Keyguard.apk
Construct recovery from boot
mkdir -p out/target/product/drone2/obj/PACKAGING/recovery_patch_intermediates/
PATH=out/host/linux-x86/binPATH out/host/linux-x86/bin/imgdiff out/target/product/drone2/boot.img out/target/product/drone2/recovery.img out/target/product/drone2/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p
Symlink: out/target/product/drone2/recovery/root/sbin/fsck.exfat -> mount.exfat
Symlink: out/target/product/drone2/recovery/root/sbin/mkfs.exfat -> mount.exfat
build/tools/generate-notice-files.py  out/target/product/drone2/obj/NOTICE.txt  out/target/product/drone2/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" out/target/product/drone2/obj/NOTICE_FILES/src
failed to reconstruct target deflate chunk 1 [(null)]; treating as normal
chunk 0: type 0 start 0 len 4751370
chunk 1: type 2 start 4751370 len 602112
chunk 2: type 0 start 5078683 len 357
Construct patches for 3 chunks...
imgdiff: /tmp/imgdiff-patch-TDJvn6: Permission denied
make: *** [out/target/product/drone2/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p] Error 1
make: *** Waiting for unfinished jobs....
Combining NOTICE files into HTML
Combining NOTICE files into text



原来全部编译通过了,后面参照网上资料修改了一下去掉锁屏再编译就出问题了,应该不是修改的问题
./frameworks/base/packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
private boolean mExternallyEnabled = true
把mExternallyEnabled 改成false。
回复

使用道具 举报

沙发
发表于 2017-6-8 10:11:08 | 只看该作者
要确认是不是修改的问题,你回退到修改之前的,然后再编译看看包不报错就知道了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-4-20 05:19 , Processed in 0.017077 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表