1

我的问题是我永远无法在模拟器或真实设备中运行我的 android 应用程序。

我有日食 Helios 作为

Eclipse IDE for Java Developers

Version: Helios Service Release 2
Build id: 20110301-1815
(c) Copyright Eclipse contributors and others 2000, 2011.  All rights reserved.
Visit http://eclipse.org/

This product includes software developed by the
Apache Software Foundation http://apache.org/

配置了最新的 SDK 和正确的 AVD。但问题是在创建应用程序时。我按照这些步骤

1) File > New > Android Application Project
 Here a diaglog box appears where I put application name etc, The finish button is disabled in this step.

2)On clicking next the "Configure Launcher Icon" dialog appears, here too the finish button is disabled

3) In the third step "Create activity" dialog appears, here also the "Finish" button is disabled. 
I select "blank activity" from the list box and click next

4) On the fourth step "New blank Activity" dialog box appears as shown in the figure.

在提到的盒子里放什么

在分层父字段中输入内容后,完成按钮被激活。单击完成后,将创建应用程序骨架。

现在,当我运行应用程序时,我面临两个问题 1) 有时它说项目中存在错误并要求修复它 2) 如果它运行,模拟器会出现,并且与正在运行的应用程序无关。

我下载了 apk 文件并安装在我的三星 Galaxy S2 中,但那里的打开/运行按钮被禁用。

4

2 回答 2

2

是的,我遇到了同样的问题。我像其他人所说的那样只是检查更新,但什么也没找到。然后我使用https://dl-ssl.google.com/android/eclipse/重新安装了 ADT 插件,并更新了 ADT 版本从 v20.0.0 到 v20.0.1。所有问题都解决了。

于 2012-08-10T03:30:55.197 回答
0
  1. 在分层父字段中给出您想要的名称
  2. 转到 AndroidManifest.xml 需要一个“android.intent.action.MAIN”才能启动。

添加

action android:name="android.intent.action.MAIN category android:name="android.intent.category.LAUNCHER

于 2012-10-16T12:17:15.010 回答