What is the android version?


I have downloaded and built the AOSP branch of hikey and able to successfully boot it. But I am not able to find out the android version.

Settings → about option is not available.

I tried to read it from build.prop file. but it says “P”.

So what is the exact android version?

Generally speaking, a release of the platform corresponds to the SDK version, since I assume you are on master branch, you are currently building android P 8.0.0 + a certain release candidate version.
$ cd sdk
$ git describe --tags

Yes… the P-ness of the AOSP branch is a little confusing (it essentially contains post-O community contributions… but not the secret stuff Google is working on). See:

Thanks guys for the reply.