Android应用程序无法运行

时间:2012-08-08 11:49:29

标签: android eclipse apk facebook-android-sdk

我的问题是我永远无法在模拟器或真实设备中运行我的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.

What to put in the mentioned box

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

现在,当我运行应用程序时,我面临两个问题 1)有时它表示项目中存在错误并要求解决该问题 2)如果它运行,则显示模拟器,并且没有关于正在运行的应用程序。

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

2 个答案:

答案 0 :(得分:2)

是的,我遇到了同样的问题。我和其他人说过只是检查更新,但没有找到任何内容。然后我使用https://dl-ssl.google.com/android/eclipse/,and重新安装ADT插件ADT版本从v20.0.0更新到v20.0.1.All问题解决了。

答案 1 :(得分:0)

  1. 在分层的父级别中提供您想要的名称
  2. 转到AndroidManifest.xml需要“android.intent.action.MAIN”才能启动。
  3. 添加

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