九鼎创展论坛

标题: android 编译不通过 [打印本页]

作者: guodongfu    时间: 2017-6-7 23:37
标题: android 编译不通过
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。
作者: lxz    时间: 2017-6-8 10:11
要确认是不是修改的问题,你回退到修改之前的,然后再编译看看包不报错就知道了




欢迎光临 九鼎创展论坛 (http://bbs.9tripod.com/) Powered by Discuz! X3.2