要编译user版本来发布, source build/envsetup.sh lunch rk3288-user ------》这里选择user版本 make -j8
编译Android快到最后的时候,报下面的错误: hardware/rockchip/sensor/mpu/libsensors/MPLSensor.cpp:844: error: undefined reference to 'CompassSensor::getSensitivity()' collect2: error: ld returned 1 exit status make: *** [out/target/product/rk3288/obj/SHARED_LIBRARIES/libinvensense_hal_intermediates/LINKED/libinvensense_hal.so] 错误1 make: *** 正在等待未完成的任务....
解决方法:
更新如下补丁,https://bitbucket.org/TinkerBoard_Android/rk-hardware-rk29-sensor/commits/11e11940d1de110cc5dd722cee3f36adbfb3c5d6
|