Value of compileSdkVersion for Android P Developer Preview

强颜欢笑 提交于 2019-12-06 23:11:39

问题


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://stackoverflow.com/questions/49183406/value-of-compilesdkversion-for-android-p-developer-preview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!