如何在真实设备上运行Android应用程序? [英] How to Run the android app on real device?

查看:261
本文介绍了如何在真实设备上运行Android应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am a newbie to android ..任何人都可以告诉我如何在设备上运行应用程序..我已经连接并启用了在设备上运行的USB调试。但它始终只启动模拟器。我如何运行在设备而不是模拟器?

解决方案

我认为你的模拟器是在自动。您可以将其更改为手动。



尝试此操作,



步骤1 / p>

转到运行配置





您可以看到三列Android,目标和常见。





Step2



选择目标



步骤3 / p>

选择始终提示选择设备。单击确定



步骤4



现在运行你的项目你应该看到模拟器和你的设备。选择您的设备,然后单击确定。



希望它有助于。


Iam a newbie to android.. Can anyone tell me How to run the app on device.. i have connected and enabled USB Debugging on device and running. But its always starting the emulator only. How can i run on device instead of emulator?

解决方案

I think your emulator is in Automatic. You can change that to Manual.

Try this,

Step 1

Go to Run Configuration

You can see three Columns Android,Target and Common.

Step2

Select the Target

Step 3

Choose Always prompt to pick device.Click Ok

Step 4

Now run your project you should see the emulator and your device. Select your device and click ok.

Hope it helps.

这篇关于如何在真实设备上运行Android应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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