I am stuck with an Issue with New Android SDK for 'Android P'.
Before release of new SDK my project was working fine and I was able to build and release fine. Immediately after it's release, I started getting Build Error as below.
No resource found that matches the given name (at 'dialogCornerRadius' with value '?android:attr/dialogCornerRadius')
After having research I was able to find the solution given in this post
I applied the solution and added compileSdkVersion 'android-P
' in gradle
and project started building up without errors. I also was able to run the app on my device fine after building and loading from Android Studio.
However when I build/ generate the apk
for distribution this apk
while installing on the device gives error App not Installed
. For which I came to know that since this Android P
SDK is a Preview development platform so we cannot distribute.
So I am stuck in this situation as I cannot revert back to the old version where I get build errors and while working with Android P SDK
I am unable to distribute.
Any suggestions or help/ guidance on the matter will be much appreciated.
Thanks, Saleem