如何使用 Eclipse 将 .apk 文件传输到设备 [英] How do I transfer .apk files to device using Eclipse

查看:37
本文介绍了如何使用 Eclipse 将 .apk 文件传输到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有问题.我的雇主不允许任何人访问我们计算机上的运行/行命令工具.没有这种控制,就无法运行 ADB(Android 调试桥).我正在使用 Windows,无法访问注册表,无法手动添加 cmd.exe,我已经尝试过..)不过,请教员工确实是降低 IT 成本的一种方法,叹气.

Gotta problem. My employer won't allow anybody access to run / line command tools on our computers. No way to run ADB (Android Debug Bridge) without that control. I'm using windows, no way to access the registry, no way to manually add cmd.exe, i've tried..) Screwing the staff is a sure way to reduce IT costs though, sigh.

我注意到有时在使用通过 USB 插入的真实设备通过 Eclipse 进行测试时,该应用程序显示在我的 android 设备上......而其他时候则没有.

I notice that sometimes when testing thru Eclipse with a real device plugged in via USB, that the application shows up on my android device.. and other times not.

有什么方法可以使用带有 Android 插件的 Eclipse 工具来安装"我在真实物理设备上编写的应用程序?只要我插入 USB,它们就可以正常测试.但在我断开连接后不会保持.

Is there any way to use the Eclipse tools with Android plug in to 'install' the applications that I'm writing onto my real, physical device? They test fine as long as I'm USB plugged in. but don't remain after I disconnect.

我知道,找一个新雇主可能是最好的答案,但现在还没有考虑.好的建议:)

I know, getting a new employer is probably the best answer here, but that's not in the cards right now. Good suggestion though : )

有人知道将程序安装到硬件的解决方法吗?

Anyone know of a work around for program installation to hardware?

非常感谢,邮编

推荐答案

你真的不需要做任何特别的事情.当您从 Eclipse 运行应用程序时,无论您是在模拟器还是设备上运行它,它都只使用 adb 来安装它.如果您当时与计算机断开连接,它将保留.它已安装.没有特殊的应用正在运行但未安装"状态.

You really shouldn't need to do anything special. When you run an app from Eclipse, whether you are running it on the emulator or a device, it just uses adb to install it. If you disconnect from your computer at that point, it will remain. It is installed. There isn't a special "app running but not installed" state.

我真的很想知道您在什么情况下发现自己的卸载了.

I'd be really curious to know in what situations you are finding your up uninstalled.

这篇关于如何使用 Eclipse 将 .apk 文件传输到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆