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

从源码中查看当前android版本_第1张图片

 

 

更多相关文章

  1. android播放音乐文件代码
  2. Android 系统(84)---查看分区的大小
  3. 分享一段Android基于https协议POST数据的代码
  4. jni 获得 android 系统属性
  5. Android调用系统分享功能以及createChooser的使用
  6. 编写android拨打电话apk应用实例代码
  7. android 应用异常可以引起android系统崩溃重启
  8. android 用代码编写linearlayout布局
  9. Android 系统自带的发送短信的界面源码

随机推荐

  1. Android小游戏开发流程有感
  2. android 基本组件
  3. Android例子源码集成安卓主流优秀第三方
  4. solution for Failed to create the SD c
  5. Android(安卓)textview 不使用ScrollView
  6. Android之ksoap2-android详解与调用天气
  7. Android应用自动更新功能的实现!!!软件更新,
  8. Android插件-Android Holo Colors Genera
  9. android文件上传示例分享(android图片上
  10. 替换Android自带apk (adb模式和串口模式)