|
板凳
楼主 |
发表于 2023-4-21 14:55:41
|
只看该作者
在ubuntu18.04虚拟机上编译,出现如下错误:
Android Firmware Package Tool v2.0
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0xc5,userspace=0x1
Add file: ./parameter.txt
parameter,Add file: ./parameter.txt done,offset=0x1000,size=0x1c8,userspace=0x1
Add file: ./MiniLoaderAll.bin
bootloader,Add file: ./MiniLoaderAll.bin done,offset=0x1800,size=0x721c0,userspace=0xe5
Add file: ./uboot.img
uboot,Add file: ./uboot.img done,offset=0x74000,size=0x400000,userspace=0x800
Add file: ./misc.img
misc,Add file: ./misc.img done,offset=0x474000,size=0xc000,userspace=0x18
Add file: ./boot_linux.img
boot_linux,Add file: ./boot_linux.img done,offset=0x480000,size=0x4000000,userspace=0x8000
Add file: ./recovery.img
recovery,Add file: ./recovery.img done,offset=0x4480000,size=0x3f89000,userspace=0x7f12
Add file: ./resource.img
resource,Add file: ./resource.img done,offset=0x8409000,size=0x32e00,userspace=0x66
Add file: ./rootfs.img
Error:<AddFile> open file failed,err=2!
------ FAILED ------
[EDGE ERROR] afptool pack failed
什么原因呢 |
|