今天集成jar包发现编译不过。
Had 356 soft failure(s) verifying all classes, and was asked to abort in such situations. Please check the log.
从错误得知
ERROR: Dex2oat failed to compile a boot image. It is likely that the boot classpath is inconsistent. Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS=--runtime-arg -verbose:verifier to see verification errors.
编译加上命令
make -j128 ART_BOOT_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verier" -j64
查看日志得:
Soft verification failures in java.util.xxx.xx.xx.x(java.lang.String, java.lang.String, java.lang.String[])
'Unresolved Reference: xxx.xxx.xxx.xxx'
包里面引用了一些可能没用到的类。但是预编译过不了。因此。找包发布人员进行裁剪后重新发布。