This week's book giveaway is in the Spring forum.
We're giving away four copies of Java Persistence with Spring Data and Hibernate and have Cătălin Tudose on-line!
See this thread for details.
Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

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

 
Ranch Hand
Posts: 252
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 30
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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'm full of tinier men! And a tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic