首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Android应用程序不会从eclipse/adb推送到手机

Android应用程序不会从eclipse/adb推送到手机
EN

Stack Overflow用户
提问于 2011-09-30 01:04:11
回答 1查看 429关注 0票数 0

我有一个扎根的三星Galaxy S(史诗)与辛迪加ROM Frozen 1.2ROM。

我正在开发应用程序。

当ROM厨师制作ROM时,我认为他们遗漏了一些重要的东西。我首先必须通过将shell添加到顶部来修复"am“。现在,当我尝试从Eclipse/adb直接在我的设备上运行应用程序时,它们不会运行。

ROM的最新版本(1.1)运行得很好。所以我想当厨师做1.2的时候一定是搞砸了什么。

为什么ROM没有安装,你有什么想法吗?我可以检查什么?我该如何解决这个问题呢?

代码语言:javascript
复制
[2011-09-29 12:39:55 - Drag Racing Workbench] Automatic Target Mode: using device 'D7005af7xxxx'
[2011-09-29 12:39:55 - Drag Racing Workbench] Uploading Drag Racing Workbench.apk onto device 'D7005af7xxxx'
[2011-09-29 12:39:56 - Drag Racing Workbench] Installing Drag Racing Workbench.apk...
[2011-09-29 12:39:56 - Drag Racing Workbench] Success!
[2011-09-29 12:39:56 - Drag Racing Workbench] Starting activity com.motorcitysoftware.dragracingworkbench.startPage on device D7005af7xxxx
[2011-09-29 12:39:56 - Drag Racing Workbench] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2011-09-29 12:39:59 - Drag Racing Workbench] Starting activity com.motorcitysoftware.dragracingworkbench.startPage on device D7005af7xxxx
[2011-09-29 12:40:00 - Drag Racing Workbench] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2011-09-29 12:40:03 - Drag Racing Workbench] Starting activity com.motorcitysoftware.dragracingworkbench.startPage on device D7005af7xxxx
[2011-09-29 12:40:03 - Drag Racing Workbench] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2011-09-29 12:40:06 - Drag Racing Workbench] Starting activity com.motorcitysoftware.dragracingworkbench.startPage on device D7005af7xxxx
[2011-09-29 12:40:07 - Drag Racing Workbench] New package not yet registered with the system. Waiting 3 seconds before next attempt.
[2011-09-29 12:40:10 - Drag Racing Workbench] Starting activity com.motorcitysoftware.dragracingworkbench.startPage on device D7005af7xxxx
[2011-09-29 12:40:10 - Drag Racing Workbench] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.motorcitysoftware.dragracingworkbench/.startPage }
[2011-09-29 12:40:10 - Drag Racing Workbench] ActivityManager: Error type 3
[2011-09-29 12:40:10 - Drag Racing Workbench] ActivityManager: Error: Activity class {com.motorcitysoftware.dragracingworkbench/com.motorcitysoftware.dragracingworkbench.startPage} does not exist.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-09-30 01:32:08

/system/bin/pm和/system/bin/am被破坏。它们都需要#!/system/bin/sh

要手动添加,请从已连接的PC

运行:adb shell现在你已经被shell到设备上了。

运行busybox vi /system/bin/pm并插入行。对am执行相同的操作

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7600820

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档