eclipse 设备调试中的 Galaxy Tab?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4179178/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Galaxy Tab on device debug?
提问by Hamid
Any body gotten on device debugging working wit hthe Galaxy Tab? I have a Stock Generic Galaxy Tab and Although Eclpise will let me "Run" my apps on the device, if I click "Debug" in eclpise instead it doesn't do anything nor does it try to connect to the debugger.
有没有人开始使用 Galaxy Tab 进行设备调试?我有一个 Stock Generic Galaxy Tab,虽然 Eclpise 会让我在设备上“运行”我的应用程序,但如果我在 eclpise 中单击“调试”,它不会做任何事情,也不会尝试连接到调试器。
Ideas?
想法?
UPDATE: Solution was to explicitly set my application to debuggable in the manifest. If the device (Galaxy Tab) is not set to default in it's boot image, it will not implicitly allow debugging.
更新:解决方案是在清单中将我的应用程序显式设置为可调试。如果设备 (Galaxy Tab) 在其启动映像中未设置为默认值,则它不会隐式允许调试。
采纳答案by Mark Whitaker
I had the same problem. As well as setting the Galaxy Tab into debug mode (as described by Computerish), you also need to download Samsung Kies from the Samsung website(browse to the Galaxy Tab page, then to Support). This gives you the required drivers to use the Tab in debug mode: without them, the Tab won't appear in the Eclipse Run or Debug dialogs.
我有同样的问题。除了将 Galaxy Tab 设置为调试模式(如 Computerish 所述),您还需要从三星网站下载 Samsung Kies (浏览 Galaxy Tab 页面,然后浏览支持)。这为您提供了在调试模式下使用选项卡所需的驱动程序:没有它们,选项卡将不会出现在 Eclipse 运行或调试对话框中。
回答by Computerish
Make sure that USB debugging is enabled. Go to Settings > Applications > Development and then make sure that the USB debugging checkbox is checked. A USB debugging notification should appear when you connect your Tab to the computer.
确保已启用 USB 调试。转到设置 > 应用程序 > 开发,然后确保选中 USB 调试复选框。当您将 Tab 连接到计算机时,应该会出现 USB 调试通知。
回答by GearHead
If you don't have Developer options on your device, read this post. It saved my bacon.
如果您的设备上没有开发人员选项,请阅读这篇文章。它救了我的培根。
http://gs4.wonderhowto.com/how-to/enable-hidden-developer-options-your-samsung-galaxy-s4-0146687/
http://gs4.wonderhowto.com/how-to/enable-hidden-developer-options-your-samsung-galaxy-s4-0146687/
回答by Jorgesys
Download SAMSUNG KIES(it contains the Drivers that you need) and you will be able to debug your Samsung Android Tablet.
下载SAMSUNG KIES(它包含您需要的驱动程序),您将能够调试您的三星 Android 平板电脑。
回答by J Webb
Here's an updated link that works for me.
这是一个对我有用的更新链接。
The KIES download link does not appear to be active.
KIES 下载链接似乎没有激活。
http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=1&cntsId=9480
http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=1&cntsId=9480