无法在Android设备上运行应用

时间:2014-12-24 20:06:48

标签: android eclipse testing

我刚刚开始在我的华硕TF103c上运行我的应用时出现问题。我试过从Eclipse中启动它。

[2014-12-24 14:29:58 - QuikFormCalcLite] Android Launch!
[2014-12-24 14:29:58 - QuikFormCalcLite] adb is running normally.
[2014-12-24 14:29:58 - QuikFormCalcLite] No Launcher activity found!
[2014-12-24 14:29:58 - QuikFormCalcLite] The launch will only sync the application package on the device!
[2014-12-24 14:29:58 - QuikFormCalcLite] Performing sync
[2014-12-24 14:29:59 - QuikFormCalcLite] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
[2014-12-24 14:30:05 - QuikFormCalcLite] Uploading QuikFormCalcLite.apk onto device 'E7OKCY053292'
[2014-12-24 14:30:05 - QuikFormCalcLite] Installing QuikFormCalcLite.apk...
[2014-12-24 14:30:09 - QuikFormCalcLite] Success!
[2014-12-24 14:30:09 - QuikFormCalcLite] \QuikFormCalcLite\bin\QuikFormCalcLite.apk installed on device
[2014-12-24 14:30:09 - QuikFormCalcLite] Done!

我在设置中检查了平板电脑的应用程序子菜单,我在那里看到了,但是在主屏幕上访问的普通应用程序菜单中没有。它也不会发布。

2 个答案:

答案 0 :(得分:0)

尝试重启android adb和eclipse,尝试重新连接设备的USB线缆。如果您有最新版本的apk。上传到设备上,它不会自动启动(只需点击平板电脑上的图标)。

答案 1 :(得分:0)

我发现问题在于我没有在清单中定义一个启动活动 - 对于启动活动:

<intent-filter>
<action android:name ="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>