In this article we provide an outline of the steps you need to follow to allow Apptim to connect to your Android device through USB.
Enable USB debugging on your device
Apptim uses Android SDK to handle multiple operations against each device. USB debugging is a useful way to debug while connecting your Android device to the SDK, so get this set up before moving on to the next step.
To enable USB debugging, you first need to enable Developer options. To do this, navigate to the “Build number” section in your device’s Settings. Finding it can be different depending on the device:
Samsung Galaxy S5: Settings > About device > Build number
LG G3: Settings > About phone > Software information > Build number
HTC One (M8): Settings > About > Software information > More > Build number
Navigate to the Build Number section using the instructions above and then tap on the build number two times. A small pop-up notification should appear with the message: “You are now X steps away from being a developer”. Just tap it again until the countdown ends. On the last tap, Developer options will be unlocked. Go to Settings > Developer options, and check the USB debugging checkbox to enable debug mode when the device is connected to a computer via USB.
On operating systems older than version 4.2 (Jelly Bean), go to Settings > Developer options, then enable USB debugging.
On Google Pixel 3, go to Settings > System > Advanced > Developer options.
Connect your Android device to your computer
When you plug your device (running Android 4.2.2 or higher) to your computer using a cable, the system shows a dialog asking whether or not you accept an RSA key that allows debugging through this computer. You should click OK and you can select the option ‘Always allow from this computer’, so the message won’t be promoted every time you connect the device to your computer.
This security mechanism protects user devices because it ensures that USB debugging and other adb commands cannot be executed unless you're able to unlock the device and acknowledge the dialog.