sassernetsky / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Getting Error while running robotium application #583

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an application using robotium
2. Run the project via "Run as > Android JUnit Test" 
3. 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 reported on code.google.com by Tlakh...@gmail.com on 27 Feb 2014 at 12:28

GoogleCodeExporter commented 9 years ago
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

Original comment by renasr...@gmail.com on 27 Feb 2014 at 7:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks Rena. It works fine.

Original comment by Tlakh...@gmail.com on 28 Feb 2014 at 10:26