O'Reilly logo

Cocos2d Cross-Platform Game Development Cookbook - Second Edition by Siddharth Shekar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enabling USB debugging on a device

To develop on an Android device, you first have to enable the developer mode on it.

I have a Nexus 5, but the process is the same for whichever device you have.

How to do it…

First, we will go into the Settings of the phone and select About phone.

How to do it…

In About phone, we will scroll all the way down and stop on Build number. We will then tap on Build number seven times to enable developer mode.

Once we are done, we will get a notification saying that our device is enabled as a developer device.

If we tap on it again, it will show a message saying No need, you are already a developer.

Now, if we go back to the settings page, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required