hi,

I am a complete beginner and have just started using android studio. when I 
try to run the following code on my Samsung S7 edge I get the message 
'unfortunately, my first app has stopped' and android studio says 'target 
device does not support the 'run-as' command'. please can you help me fix 
this issue? the code is below, thanks.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="*https://schemas.android.com/apk/res/android* 
<https://schemas.android.com/apk/res/android>"
    xmlns:tools="*https://schemas.android.com/tools* 
<https://schemas.android.com/tools>"
    android:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
        <EditText android:id="@+id/edit_message"
            android:layout_weight="1"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:hint="@string/edit_message" />
        <Button
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/button_send" />
</LinearLayout>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/22313d66-f81b-4279-875c-6b9a20202357%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to