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:
With the P preview:
compileSdkVersion 'android-P'
targetSdkVersion 'P'
compileSdkVersion 'android-P'
and
targetSdkVersion 'P'
compileSdkVersion 'android-P'
with
targetSdkVersion 28
Worked for me!
来源:https://stackoverflow.com/questions/49183406/value-of-compilesdkversion-for-android-p-developer-preview