Skip to content

Android

babak-ab edited this page Jun 10, 2017 · 3 revisions
  1. Android build platform: android--1 Error: Create Template and Select Android APi

  2. Downloading Gradle in Buile & Run: Pute gradle-bin.zip in YourProject/android/gradle/wrapper and Change file : gradle-wrapper.properties distributionUrl=gradle-3.4-bin.zip

  3. Setup Device in Linux

  • Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
  • Use the following format to add each vendor to the file: (Vendor ID: file:///home/babak/Desktop/Run%20Apps%20on%20a%20Hardware%20Device%20|%20Android%20Studio.html#VendorIds) LG : 1004 SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
  • Run the following command: chmod a+r /etc/udev/rules.d/51-android.rules
  • Restart ADB

Clone this wiki locally