Difference between revisions of "Android studio setup"
(Created page with "Category:Menu The following instructions are just the summary of the [https://developer.android.com/studio/index.html#Requirements Google Android Studio official document...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Menu]] | [[Category:Menu]] | ||
− | The following instructions are just the summary of the [https://developer.android.com/studio/ | + | The following instructions are just the summary of the [https://developer.android.com/studio/install.html Google Android Studio official documentation] on ''Ubuntu 14.10 x64'' |
+ | |||
+ | |||
+ | =Setup Android Studio= | ||
+ | |||
+ | # Download application | ||
+ | # Unzip application | ||
+ | # Install required libraries | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32bz2-1.0 | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | |||
+ | =Setup ADB= | ||
+ | |||
+ | Official Google documentation: https://developer.android.com/studio/command-line/index.html | ||
+ | |||
+ | <syntaxhighlight lang="bash"> | ||
+ | # Go to the path of android-sdk | ||
+ | sudo ln -s /mnt/temp/Dev/android-sdk ~/android-sdk | ||
+ | sudo ln -s /mnt/temp/Dev/android-sdk/platform-tools/adb /usr/bin/adb | ||
+ | |||
+ | # Test | ||
+ | adb version | ||
+ | </syntaxhighlight> | ||
Line 29: | Line 54: | ||
sudo chmod a+r /etc/udev/rules.d/51-android.rules | sudo chmod a+r /etc/udev/rules.d/51-android.rules | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | |||
+ | reboot computer | ||
+ | |||
+ | |||
+ | (i) If you have issues you can follow that excellent post: http://askubuntu.com/questions/461729/ubuntu-is-not-detecting-my-android-device | ||
+ | |||
+ | |||
+ | |||
+ | =Android first app= | ||
+ | |||
+ | Link to Google's tutorial: https://developer.android.com/training/basics/firstapp/index.html | ||
+ | |||
Latest revision as of 20:41, 6 November 2016
The following instructions are just the summary of the Google Android Studio official documentation on Ubuntu 14.10 x64
Contents
Setup Android Studio
- Download application
- Unzip application
- Install required libraries
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32bz2-1.0
Setup ADB
Official Google documentation: https://developer.android.com/studio/command-line/index.html
# Go to the path of android-sdk
sudo ln -s /mnt/temp/Dev/android-sdk ~/android-sdk
sudo ln -s /mnt/temp/Dev/android-sdk/platform-tools/adb /usr/bin/adb
# Test
adb version
Android device (USB)
Official documentation: https://developer.android.com/studio/run/device.html#setting-up
Create configuration file
sudo vim /etc/udev/rules.d/51-android.rules
Add the following line
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
- The MODE assignment specifies read/write permissions
- And GROUP defines which Unix group owns the device node.
sudo chmod a+r /etc/udev/rules.d/51-android.rules
reboot computer
(i) If you have issues you can follow that excellent post: http://askubuntu.com/questions/461729/ubuntu-is-not-detecting-my-android-device
Android first app
Link to Google's tutorial: https://developer.android.com/training/basics/firstapp/index.html