I updated my android studio and now I have a problem in my main.xml, it displays the following error: element LinearLayout must be declared
this is my code:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="fill_parent" android:layout_width="fill_parent" android:gravity="center_vertical|center_horizontal" > <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/monBouton" android:text="Cliquez ici !" > </Button> </LinearLayout>
this error message: Error: execution completed for task ': app: compileDebugJava'.
Compilation error; see compiler error output for details.
error: cannot find character variable action_settings
How can I solve it?
android-studio android-linearlayout
abdoBim
source share