Hi I have same problem i try run on my phone (huawei P8 lite android 6.0) 
app what i made and when I start it instaling on my phone and after this 
it´s crash. I have same error 'target device does not support the 'run-as' 
command'. I try your advice but not works. Can you someone please help me 
fix this ? Thanks 

Dňa sobota, 14. januára 2017 20:20:52 UTC+1 Jon Prichard napísal(-a):
>
> 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 [email protected].
To post to this group, send email to [email protected].
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/d6588e2d-49f9-46ba-ac8f-9bea47329104%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to