There is other useful plugins for Android Studio.
You can test your application via emulator or phone. You can see all the activities.
Wait for activity ‘activity name’
Click on button
Click on image view
Press menu back key
Search for Robotium Recorder in Plugins and restart android Studio !