Paste from clipboard failed. Data from clipboard does not resemble a valid workflow or snippet: 'android' is an undeclared prefix

Hi, when i try to copy an action form mobile device manager to my workflow i get this error and don’t know how to fix this. pls help me
Paste from clipboard failed. Data from clipboard does not resemble a
valid workflow or snippet: ‘android’ is an undeclared prefix. Line I,
position 6.

When i copy and paste an action to notepad it like this. i had install UiPath.MobileAutomation.Activities

<mbl android:className=‘android.widget.ScrollView’ />
<mbl android:className=‘android.view.ViewGroup’ idx=‘2’ />

I don’t think that copy-paste should work between MDM and Studio. In order to get the actions from MDM you have a menu option called Import Recorded Actions (see image below)

image

What you get in the copied data is the selector which might still be useful, but first you have to add the activity you want manually and then copy that data into the selector section of the activity.

1 Like

Thank you for your help. It’s my fault