[英]ADT Plug-in for Eclipse, cannot create Android Test Project
I have installed (also uninstalled and re-installed) the most recent versions of Eclipse and the Android plug-in, but to no avail. 我已经安装(也已卸载并重新安装)了最新版本的Eclipse和Android插件,但无济于事。 I cannot create a test project from an existing project... I am attempting to follow the "Activity Testing" tutorial from developer.android.com.
我无法从现有项目创建测试项目...我试图遵循developer.android.com上的“活动测试”教程。 Like the rest of the tutorials, the steps are basic and well documented, however I am stuck under "Creating the Test Case Class" :: "Adding the test case class file" between steps 3 & 4. For the sake of specifics:
像本教程的其余部分一样,这些步骤都是基本的并且有据可查,但是在第3步和第4步之间,我被困在“创建测试用例类” ::“添加测试用例类文件”下。
I select my active Android project, then click "New" -> "Project...". 我选择了活动的Android项目,然后单击“新建”->“项目...”。 In the wizard I select "Android" -> "Android Test Project" -> "Next".
在向导中,选择“ Android”->“ Android测试项目”->“下一步”。 I name it, choose "... existing source", define my local source directory, and click "Next".
我命名它,选择“ ...现有源”,定义我的本地源目录,然后单击“下一步”。 Here is where we reach my problem:
这是我们解决问题的地方:
This "Next" button does not respond. 此“下一步”按钮不响应。 You can see the button is active, regardless when clicked the wizard still will not proceed from this step.
您可以看到该按钮处于活动状态,无论何时单击该向导,仍然不会从此步骤继续进行。 Therefor I cannot create an Android Test Project from an existing project in Eclipse.
因此,我无法从Eclipse中的现有项目创建Android测试项目。 Any ideas?
有任何想法吗?
解决方案很简单,只需不单击从现有源创建,而是单击创建新项目,然后单击下一步,然后单击现有的android项目
I never learned why this wizard skipped a setup step and prevented me from building an Android Test Project from an existing project. 我从没学过为什么这个向导会跳过设置步骤并阻止我从现有项目中构建Android测试项目。 Since then, an IDE update was released and my build environment now behaves as expected.
从那时起,发布了IDE更新,并且我的构建环境现在表现出预期的效果。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.