File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Cannot select ‘Test Target’ in a new Android Test Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Cannot select ‘Test Target’ in a new Android Test Project" Watch "Cannot select ‘Test Target’ in a new Android Test Project" New topic
Author

Cannot select ‘Test Target’ in a new Android Test Project

Nidhi Sar
Ranch Hand

Joined: Oct 19, 2009
Posts: 252

I am trying to build a new Android Test project, following along with Hello Testing Tutorial on the android dev site. http://developer.android.com/resources/tutorials/testing/helloandroid_test.html

The problem is that when I do File--> New--> Project-->Android Test Project, the screen that comes up does not let me select a test target.

There is a block that says the following:-


--------------------------------------------------------------------------------
Test Target:
Select the project to test:

--------------------------------------------------------------------------------

But there are no listed projects so there is no way I can select a target project.

I know that while creating a new Android project I can create a test project for it too. But how do I create a test project for an existing application?

Anyone run across this problem or know how to solve it?

"A problem well stated is a problem half solved.” - Charles F. Kettering
SCJP 6, OCPJWCD
Shawn Franks
Greenhorn

Joined: May 18, 2010
Posts: 23
Nidhi Sar wrote:I am trying to build a new Android Test project, following along with Hello Testing Tutorial on the android dev site. http://developer.android.com/resources/tutorials/testing/helloandroid_test.html

The problem is that when I do File--> New--> Project-->Android Test Project, the screen that comes up does not let me select a test target.

There is a block that says the following:-


--------------------------------------------------------------------------------
Test Target:
Select the project to test:

--------------------------------------------------------------------------------

But there are no listed projects so there is no way I can select a target project.

I know that while creating a new Android project I can create a test project for it too. But how do I want to create a test project for an existing project?

Anyone run across this problem or know how to solve it?



You should be able to just go to create File > New> Android Project > Create Project From Existing Source, and then browse to the test files in the SDK directory
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot select ‘Test Target’ in a new Android Test Project
 
Similar Threads
Android Begginer
For j2me polish Urgent Help
How to create a package within a package in MyEclipse
157 Question Help and Resourses
Answers to IBM 486 sample test