rk3288 通过 OTA 升级时应用层检测升级包(rk3288 如何生成 OTA 包)的相关源码在:package/apps/RKUpdateService 中。当我们对源码进行更改后重新编译该包时突然报错:
make: Entering directory `/ghf/3288/rk3288_android'
target Java: RKUpdateService (out/target/common/obj/APPS/RKUpdateService_intermediates/classes)
packages/apps/RKUpdateService/src/android/rockchip/update/service/RecoverySystem.java:54:
error: package org.apache.harmony.security.provider.cert does not exist
import org.apache.harmony.security.provider.cert.X509CertImpl;
^
packages/apps/RKUpdateService/src/android/rockchip/update/service/RecoverySystem.java:217: error: cannot find symbol
cert = new X509CertImpl((org.apache.harmony.security.x509.Certificate)it.next());
^
symbol: class X509CertImpl
location: class RecoverySystem
Note: