Skip to content Skip to sidebar Skip to footer

Runtimeexception When Clicking On Edittext

I have a release Android App that goes smooth on a Nexus 5X running Android 6.0.1. and on a Samsung 5 running Android 5.0. However, on other devices weird exceptions rise when doub

Solution 1:

I have same problem with editText the problem in my case was in my style

<stylename="AppTheme"parent="Theme.AppCompat.Light.NoActionBar"><!-- Customize your theme here. --><itemname="colorPrimary">@color/colorPrimary</item><itemname="android:fontFamily"tools:targetApi="jelly_bean">sans-serif</item><itemname="colorPrimaryDark">@color/colorPrimaryDark</item><itemname="colorAccent">@color/colorAccent</item></style>

my problem solved by removing this line of code

<itemname="android:fontFamily"tools:targetApi="jelly_bean">sans-serif</item>

Post a Comment for "Runtimeexception When Clicking On Edittext"