sangmingming / robotium

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

can robotium test the project whose target is google apis???? #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create an project whose target is google apis
2.Create an test project for 1
3.run test project

What is the expected output? What do you see instead?
i can not see my app runs,the following error occurs.

[java.lang.NoClassDefFoundError: com.jayway.android.robotium.solo.Solo
at com.fidelity.android.test.FirstTest.setUp(FirstTest.java:46)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
at 
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:52
9)
at 
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
]

FirstTest.java:46 is 
solo = new Solo(getInstrumentation(), getActivity());.

What version of the product are you using? On what operating system?
robotium3.1 android 2.3 whose target is google apis

Please provide any additional information below.
i can run the test by android2.3 whose target is android2.3.3.

So can robotium test the project whose target is google apis????????

Original issue reported on code.google.com by Jing....@fmr.com on 28 Mar 2012 at 9:28

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
robotium3.1 
android 2.3 whose target is google apis
sdk17

Original comment by Jing....@fmr.com on 28 Mar 2012 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 28 Mar 2012 at 9:58

GoogleCodeExporter commented 9 years ago
works fine now,many thanks!

Original comment by Jing....@fmr.com on 29 Mar 2012 at 12:41

GoogleCodeExporter commented 9 years ago
How did you fix it? I am facing same issue.

Original comment by netwal...@gmail.com on 9 Apr 2012 at 1:34

GoogleCodeExporter commented 9 years ago
Please see:

issue: 237

Original comment by renasr...@gmail.com on 9 Apr 2012 at 1:36

GoogleCodeExporter commented 9 years ago
Could you give the full instructions of fixing this problem ?

Original comment by tatajaja...@gmail.com on 17 Apr 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Please see the links on this page:

http://code.google.com/p/robotium/issues/detail?id=237&colspec=ID%20Type%20Stars
%20Status%20Priority%20Milestone%20Owner%20Summary

Original comment by renasr...@gmail.com on 17 Apr 2012 at 12:48