记录一次编译错误:platform_version.mk:161: *** Must build against Android >= 5.1. Stop

复制代码
 make[1]: Entering directory `/home/liping/yandex_old/kernel/system/lib/develop/3d_graphic_android_1.7_RTM_4332920/rogue_km/build/linux/rtkge7800_android' 
 ../common/android/platform_version.mk:161: *** Must build against Android >= 5.1.  Stop. 
 make[1]: Leaving directory `/home/liping/yandex_old/kernel/system/lib/develop/3d_graphic_android_1.7_RTM_4332920/rogue_km/build/linux/rtkge7800_android' 
 android dir: nougat 
 arm 32 mode 
 TARGET_PRODUCT=RealtekATV 
 TARGET_DEVICE=RealtekATV 
 chain \n 
 toolchain path: 
 /bin/sh: line 0: test: -gt: unary operator expected 
 /bin/sh: line 0: test: -eq: unary operator expected 
 /bin/sh: line 0: test: -ge: unary operator expected 
 /bin/sh: line 0: test: -ge: unary operator expected 
 /bin/sh: line 0: test: -gt: unary operator expected 
 /bin/sh: line 0: test: -eq: unary operator expected 
 make[1]: Entering directory `/home/liping/yandex_old/kernel/system/lib/develop/3d_graphic_android_1.7_RTM_4332920/rogue_km/build/linux/rtkge7800_android' 
 ../common/android/platform_version.mk:161: *** Must build against Android >= 5.1.  Stop. 
 make[1]: Leaving directory `/home/liping/yandex_old/kernel/system/lib/develop/3d_graphic_android_1.7_RTM_4332920/rogue_km/build/linux/rtkge7800_android' 
 /bin/sh: line 0: cd: ../../../binary_rtkge7800_android_release/target_armv7-a: No such file or directory 
 make: *** [all] Error 1 
 make: Leaving directory `/home/liping/yandex_old/kernel/system'
复制代码
 找到文件build/tool/buildinfo.sh
 删除行“echo "ro.build.version.release=`svn info | grep Revision | awk '{print $2}'`"”
相关推荐
Yeats_Liao22 分钟前
Spring 定时任务:@Scheduled 注解四大参数解析
android·java·spring
雾里看山2 小时前
【MySQL】 库的操作
android·数据库·笔记·mysql
水瓶丫头站住11 小时前
安卓APP如何适配不同的手机分辨率
android·智能手机
xvch11 小时前
Kotlin 2.1.0 入门教程(五)
android·kotlin
xvch15 小时前
Kotlin 2.1.0 入门教程(七)
android·kotlin
望风的懒蜗牛15 小时前
编译Android平台使用的FFmpeg库
android
浩宇软件开发16 小时前
Android开发,待办事项提醒App的设计与实现(个人中心页)
android·android studio·android开发
ac-er888816 小时前
Yii框架中的多语言支持:如何实现国际化
android·开发语言·php
苏金标17 小时前
The maximum compatible Gradle JVM version is 17.
android
zhangphil17 小时前
Android BitmapShader简洁实现马赛克,Kotlin(一)
android·kotlin