RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

Getting Error while running robotium application #662

Closed renas closed 9 years ago

renas commented 9 years ago

From Tlakh...@gmail.com on February 27, 2014 04:28:00

What steps will reproduce the problem? 1. Create an application using robotium

  1. Run the project via "Run as > Android JUnit Test"
  2. Eclipse shows "Not Responding" frequently and at the end getting error.

What do you see instead? Getting error while running the application [2014-02-27 17:29:36 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/jayway/android/robotium/solo/ActivityUtils$1;

[2014-02-27 17:29:36 - TestApp] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/jayway/android/robotium/solo/ActivityUtils$1;

On what operating system? Win7/64 bit

Please let us know how to deal with this.

Original issue: http://code.google.com/p/robotium/issues/detail?id=583

renas commented 9 years ago

From renasr...@gmail.com on February 27, 2014 11:11:15

This issue comes when there is two (or one, attached twice) robotium jars included in the project. Please download the exampletestproject and use the exact same setup as in that project. https://code.google.com/p/robotium/wiki/ExampleTestProjects

Status: Invalid
Owner: renasr...@gmail.com

renas commented 9 years ago

From Tlakh...@gmail.com on February 28, 2014 02:26:09

Thanks Rena. It works fine.