[英]How can I test my app development directly on an Android phone?
I can't find an emulator that fits my mobile screen size, so I created a custom emulator, but unfortunately, even though it's actually according to the size of my mobile, the graphics are showing differently on the actual device. 我找不到适合我手机屏幕大小的仿真器,所以我创建了一个自定义仿真器,但是不幸的是,即使它实际上是根据手机的大小而定,但图形在实际设备上的显示方式却有所不同。
On the phone, go to Settings -> Applications. 在电话上,转到“设置”->“应用程序”。 Enable "Unknown sources".
启用“未知来源”。
Then select "Development" and enable "USB debugging" and "Stay Awake". 然后选择“开发”并启用“ USB调试”和“保持唤醒”。
Connect the phone to your PC via USB and it should appear in the list of available devices to use for debugging. 通过USB将手机连接到PC,它应该出现在可用设备列表中,用于调试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.