1: 系统没有编译,从代码中查看当前版本

 vim build/core/version_defaults.mk
# Default versions for each TARGET_PLATFORM_VERSION# TODO: PLATFORM_VERSION, PLATFORM_SDK_VERSION, etc. should be conditional# on this# This is the canonical definition of the platform version,# which is the version that we reveal to the end user.# Update this value when the platform version changes (rather# than overriding it somewhere else).  Can be an arbitrary string.# When you add a new PLATFORM_VERSION which will result in a new# PLATFORM_SDK_VERSION please ensure you add a corresponding isAtLeast*# method in the following java file:# frameworks/support/compat/gingerbread/android/support/v4/os/BuildCompat.java# When you change PLATFORM_VERSION for a given PLATFORM_SDK_VERSION# please add that PLATFORM_VERSION as well as clean up obsolete PLATFORM_VERSION's# in the following text file:# cts/tests/tests/os/assets/platform_versions.txtPLATFORM_VERSION.OPM1 := 8.1.0

 当前代码系统版本为 8.1.0

2 :   执行 配置选项,可以通过PLATFORM_VERSION查看到当前PLATFORM_VERSION版本号;

source build/envsetup.shlunch msm8953_64-userdebug

 

 

更多相关文章

  1. android播放音乐文件代码
  2. Android闪光灯开关
  3. Android下修改SeekBar样式
  4. android view相对于根布局的坐标获取
  5. Android腾讯微博客户端开发四:微博发送篇(QQ表情,@搜索)
  6. android典型代码系列(十)------获取一个应用程序的权限信息(反射
  7. ANDROID图片压缩代码
  8. 分享一段Android基于https协议POST数据的代码
  9. Android文件拷贝

随机推荐

  1. 《商君书》白话翻译与解读——20章 弱民
  2. 入群领取华为HCIE学习资料包,抢4天直播训
  3. CentOS 7安装netatlak来实现Mac电脑Time
  4. 在具有内置文本扩展功能的苹果Mac上如何
  5. MySQL GUI工具,助力数据库管理
  6. 币乎注册链接
  7. 学Python需要多久?应用领域有哪些?
  8. 02-K8s部署安装配置 Kuboard v2
  9. 9.6 C++指向结构体变量的指针
  10. Rust Meetup 登陆深圳,满满的都是干货!