eclipse - I new a Android Test Project and Select Test Target “This project”, but I dont get an empty src directory and instead get an unexpected package -
i want use robotium
test android apk.
i have full android ide (eclipse/adt/java sdk/android sdk
), can use file--new--other...--android test project
create test project myapktest
.
now page select test target
, have 2 choices:
- this project
- an existing android project.
because want test apk , don't have source code, chose this project
, chose build target.
and problem comes:
i supposed empty project. however, when step src
of myapktest
, see unexpected package com.calculator.test
. in fact have project naming com.calculator
, chose this project
instead of an existing android project
.
why have got package? although package empty itself.
this old eclipse issue. creates last used (created) package in android test project. if cannot find creates "com.example.android.apis.tests" package. anyway don't know it's stored.
Comments
Post a Comment