Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Value of compileSdkVersion for Android P Developer Preview

What should be the value of:

compileSdkVersion
targetSdkVersion

I have downloaded and installed Android P Developer Preview SDK, System image and build tools.

I have tried "28" but it is showing this error:

enter image description here

like image 276
Malwinder Singh Avatar asked Mar 08 '18 22:03

Malwinder Singh


2 Answers

With the P preview:

compileSdkVersion 'android-P'

targetSdkVersion 'P'

See: https://developer.android.com/preview/setup-sdk.html

like image 93
laalto Avatar answered Nov 11 '22 15:11

laalto


compileSdkVersion 'android-P'

and

targetSdkVersion 'P'
like image 39
Malwinder Singh Avatar answered Nov 11 '22 15:11

Malwinder Singh