如何使用Eclipse在Android设备上运行应用程序?

时间:2020-12-06 20:24:51

I am developing my first app for Android, for now I was using ADT for running app, now I want to run app on Android Device, how can I do so, help needed. Thanks in Advance

我正在为Android开发我的第一个应用程序,现在我使用ADT运行应用程序,现在我想在Android设备上运行应用程序,我该怎么做,需要帮助。提前致谢

3 个解决方案

#1


22  

Just Connect your Device , and Make Sure you have enabled USB debugging in your Device Settings and also installed the appropriate drivers in your Machine. you can download the device driver file from here http://developer.android.com/sdk/oem-usb.html and also have look here http://developer.android.com/guide/developing/device.html

只需连接您的设备,并确保您已在设备设置中启用USB调试,并在您的计算机中安装了相应的驱动程序。您可以从http://developer.android.com/sdk/oem-usb.html下载设备驱动程序文件,也可以在这里查看http://developer.android.com/guide/developing/device.html

#2


9  

  1. Install the ADT plugin for Eclipse
  2. 安装Eclipse的ADT插件

  3. Install phone drivers (if needed)
  4. 安装手机驱动程序(如果需要)

  5. Plug the phone into the computer
  6. 将手机插入电脑

  7. In Eclipse, "Run → Run as → Android application"
  8. 在Eclipse中,“运行→运行为→Android应用程序”

#3


3  

For those who are trying to find how to enable debugging on some of the newer devices running Jelly Bean 4.2 (e.g Google Nexus), you have to go to Settings > Apps > About tablet and tap the text "Build number" 7 times slowly. Go back to the now available Settings > Developer options and check USB debugging.

对于那些试图找到如何在运行Jelly Bean 4.2的某些较新设备(例如Google Nexus)上启用调试的用户,您必须转到设置>应用>关于平板电脑并慢慢点击文本“内部版本号”7次。返回现在可用的Settings> Developer选项并检查USB调试。

#1


22  

Just Connect your Device , and Make Sure you have enabled USB debugging in your Device Settings and also installed the appropriate drivers in your Machine. you can download the device driver file from here http://developer.android.com/sdk/oem-usb.html and also have look here http://developer.android.com/guide/developing/device.html

只需连接您的设备,并确保您已在设备设置中启用USB调试,并在您的计算机中安装了相应的驱动程序。您可以从http://developer.android.com/sdk/oem-usb.html下载设备驱动程序文件,也可以在这里查看http://developer.android.com/guide/developing/device.html

#2


9  

  1. Install the ADT plugin for Eclipse
  2. 安装Eclipse的ADT插件

  3. Install phone drivers (if needed)
  4. 安装手机驱动程序(如果需要)

  5. Plug the phone into the computer
  6. 将手机插入电脑

  7. In Eclipse, "Run → Run as → Android application"
  8. 在Eclipse中,“运行→运行为→Android应用程序”

#3


3  

For those who are trying to find how to enable debugging on some of the newer devices running Jelly Bean 4.2 (e.g Google Nexus), you have to go to Settings > Apps > About tablet and tap the text "Build number" 7 times slowly. Go back to the now available Settings > Developer options and check USB debugging.

对于那些试图找到如何在运行Jelly Bean 4.2的某些较新设备(例如Google Nexus)上启用调试的用户,您必须转到设置>应用>关于平板电脑并慢慢点击文本“内部版本号”7次。返回现在可用的Settings> Developer选项并检查USB调试。