Reputation: 7060
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:
Upvotes: 8
Views: 7166
Reputation: 4617
compileSdkVersion 'android-P'
with
targetSdkVersion 28
Worked for me!
Upvotes: 0
Reputation: 152867
With the P preview:
compileSdkVersion 'android-P'
targetSdkVersion 'P'
See: https://developer.android.com/preview/setup-sdk.html
Upvotes: 12