There is a bug in latest sdk 28 ,
Change the compileSdkVersion 27
targetSdkVersion 27
and
implementation 'com.android.support:appcompat-v7:27.1.1'
Update:
This is said to fix problem but I did not test it yet
In styles.xml change the parent theme for your app to Base.Theme.AppCompat
instead of Theme.AppCompat
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…