Skip to content Skip to sidebar Skip to footer

Android Studio FATAL EXPECTION : Main | I Cant Find Solution

In this forum that's three question about that I know, but none solved my problem. They didnt help me. I'm trying learn android, I coded something but it doesnt work on my phone an

Solution 1:

This is your issue

android:padding="@string/pad"

padding and textsize need to get a dimension like 10dp, not a string


Solution 2:

In your xml you have set

android:textSize="@string/size"
android:padding="@string/pad"

instead of set @string/size you have to use @dimen/size check here


Post a Comment for "Android Studio FATAL EXPECTION : Main | I Cant Find Solution"