Debugging GDK with breakpoints

为君一笑 提交于 2020-01-24 21:49:12

问题


I'm experimenting few GDK samples and developed my own GDK app. But having trouble to debug it. Right now I'm left with only log.d option to monitor the logs while testing it with connected glass device. Is there any other way to debug GDK app in eclipse? like step by step..


回答1:


Debugging with GDK is the same way you would debug a normal android app. Start here http://developer.android.com/tools/debugging/debugging-projects.html




回答2:


Debugging is the same as in Android all you need to change is that in the manifest file there would be a Launcher Command in intent-filter commented

<category android:name="android.intent.category.LAUNCHER" />

Uncomment it for the activity and then you are good to go for Debugging



来源:https://stackoverflow.com/questions/20641397/debugging-gdk-with-breakpoints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!