简体   繁体   中英

how to run android project on phone?

How do we run out android project on a phone? If we use Eclipse, we will set emulator to run it, but how about if we want to test it in real so we can see the output? Thanks.

If you don't see your phone when you run adb you are probably on windows!

In that case you need to download drivers so that you can test on your phone.

all you need to know and more: http://developer.android.com/sdk/oem-usb.html

如果您以调试模式通过USB连接设备,并且在运行adb设备时可以看到设备在那里,那么从Eclipse运行应用程序应该默认为连接的(物理)设备。

Eclipse installs it to your device when you run it; you can also install it manually. Once installed, you'll find it in your app icon drawer; you'll have one icon for each activity you configure to be user launchable.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM