1

可能重复:
如何在 android 手机上安装 apk 文件?

我在 Eclipse 上完成了应用程序,并在 AVD 上对其进行了测试,现在我想将其导出到我的手机中,只是为了测试而不是为了市场,我该怎么做,非常感谢!

4

4 回答 4

2

Other suggestion:

Connect your phone to your computer. Run your project and eclipse will deploy it to your phone.

于 2012-05-21T18:37:16.990 回答
1

Look in the bin directory inside your project folders. You can move it to your phone via dropbox or other means. I do it all the time.

You don't need to do the export wizard to just test. As long as you have the "allow unknown" checked in settings. Once the project has been built and run in the emulator there should be an apk file.

I used dropbox as my source control so my entire project is on dropbox which makes it very easy to test on phone. As long as you have dropbox installed on your phone you just navigate to the bin directory on your phone and download the apk from there.

于 2012-05-21T18:36:40.320 回答
0
  1. connect your phone via USB
  2. open a shell and move to the platform-tools folder
  3. sudo ./adb kill-server
  4. sudo ./adb start-server
  5. run your application in Eclipse and go choose your device
于 2012-05-21T18:43:50.470 回答
0

There is an Export wizard, look in your AndroidManifest.xml file, from there you can create your apk, and then install it easily on your device.

Just place your APK file on your device.

于 2012-05-21T18:35:58.267 回答