查看安卓java版本_从源码中查看当前android版本

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.txt

PLATFORM_VERSION.OPM1 := 8.1.0

当前代码系统版本为 8.1.0

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

source build/envsetup.sh

lunch msm8953_64-userdebug

————————————————

版权声明:本文为CSDN博主「....行走江湖」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/zmk0810612124/article/details/82782183

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值