I'd like to use the new Material Components introduced in the 28.0.0-alpha1
version of the design support library.
I found that this version of the design library won't compile without setting compileSdkVersion
to android-P
, because it references attributes only found on API level 28 (for example, android:attr/dialogCornerRadius
).
On the other hand, the Google Play Console won't let me upload an app targeting android-P
, it's giving me the error "You cannot upload a test-only APK". This seems intentional, as these docs state:
Google Play prevents publishing of apps targeting the P Developer Preview. When the Android P final SDK is available, you’ll be able to target the official Android P API level and publish your app to Google Play via the alpha, beta, and production release channels.
Does this really mean that the new components can't be used for production apps yet?