Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.19 KB

authorize-android-device.md

File metadata and controls

31 lines (21 loc) · 1.19 KB

Authorize Android Device

Android devices can only be used for debugging apps if your computer is "authorized" to develop on.

Devices

If Expo CLI is running, stop it with ctrl+c -- this will stop ADB.

  1. Disconnect your Android device from the computer.
  2. Revoke USB Debugging on the device:
    • Open the Settings app on your device.
    • Navigate: Developer Options -> select Revoke USB debugging authorizations.
  3. Reconnect the device:
    • The device will prompt you to agree to connect the computer. You must confirm it.
  4. The computer is now authorized for debugging!

Genymotion

  1. Open Genymotion -> Settings -> ADB -> select Use custom Android SDK tools
  2. Point it to your Android SDK directory.

By default, Android Studio installs the SDK tools in the following folders:

  • Linux: /home/your_username/Android/Sdk
  • macOS: /Users/your_username/Library/Android/sdk
  • Windows: %AppData%\Local\Android\Sdk

For more help with Genymotion, refer to their docs.