What is the android version?

Hi,

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.
example:
$ cd sdk
$ git describe --tags
android-8.0.0_r34-5-g526656cc2

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:
https://source.android.com/source/faqs#how-is-the-android-software-developed

Thanks guys for the reply.