MTK6762 R平台, openjdk 8
ota 差分命令: ./build/tools/releasetools/ota_from_target_files -p out/host/linux-x86/ -i old_OTA.zip new_OTA.zip update.zip
error info:
ExternalError: Failed to run signapk.jar: return code 1:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/signapk/SignApk has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
总结: log分析 由于jdk 版本差异导致. 更新openjdk 11 后版本匹配,问题解决