sangmingming / robotium

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

Test classes importing android packages are not found #168

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.build test classes using ant from commandline
2.
3.

What is the expected output? What do you see instead?
No errors but a release apk. I see for example:
 [javac] C:\MyTest.java:6: package android.app does not exist
 [javac] import android.app.Activity;

What version of the product are you using? On what operating system?
Google API level 8, Windows 7

Please provide any additional information below.
Android home is set, java home is set, android.jar is in android home etc but 
still all test classes that use robotium and import android librraies are 
failing to compile via ant

Original issue reported on code.google.com by priya.ko...@gmail.com on 29 Sep 2011 at 4:59

GoogleCodeExporter commented 9 years ago
Unfortunately I am not able to help you with this as this is an ant issue. 

Original comment by renasr...@gmail.com on 29 Sep 2011 at 12:18