0
\$\begingroup\$

I am making a game for android and in it I am using sensors which are not available in the emulator. At the moment I am connecting my device and transferring the apk, then installing to test but that is a pain to do, and I have gotten to the stage where I need to start logging values for debugging. I have gone into the run configs of my app and set it to prompt me to pick a device, but my device is never in the list when it is connected to my PC and I try to run it. How am I supposed to set it up to work properly?

Thanks for the help.

\$\endgroup\$
  • \$\begingroup\$ Doesn't sound like this is specific to game development. General programming questions should be asked on stackoverflow.com. \$\endgroup\$ – MichaelHouse Oct 19 '13 at 4:06
  • \$\begingroup\$ EDIT: This works fine on it's own. It's only when I implement it into my game that it doesn't work. \$\endgroup\$ – Matthew Dockerty Oct 19 '13 at 11:14
0
\$\begingroup\$

This depends on what engine you are using. Are you using a custom engine? You could easily create a method when building your apk to upload it to your phone as well.

If you are using an already made engine then its dependent on that. Unity supports building to the phone, LibGDX does as well.

What are you creating this in?

EDIT: After reading your problem again. If your phone doesn't show up in ADT. You need to make sure you have the USB drivers for your phone installed. Make sure USP debugging is on. And if it's a Nexus device change the connected mode to camera and not media.

\$\endgroup\$
  • \$\begingroup\$ Thanks for the help. I had USB debugging on, but I had to download the OEM drivers from the Samsung website. Working well now :) \$\endgroup\$ – Matthew Dockerty Oct 21 '13 at 8:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.