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: 回答1: With the P preview: compileSdkVersion 'android-P' targetSdkVersion 'P' See: https://developer.android.com/preview/setup-sdk.html 回答2: compileSdkVersion 'android-P' and targetSdkVersion 'P' 回答3: compileSdkVersion 'android-P' with targetSdkVersion 28 Worked for me! 来源: https:/