Questions tagged [android-studio]

Android Studio is an integrated development environment (IDE) for the Android platform. It is based on JetBrains' IntelliJ IDEA software and provides integrated Android developer tools for development and debugging.

Android Studio is an integrated development environment (IDE) for the Android platform. Android Studio provides integrated Android developer tools for development and debugging. If you are not comfortable using an Android Studio, you may instead download (or continue to use) the ADT Bundle (Eclipse with the ADT Plugin) or IntelliJ.

Several features are expected to be rolled out to the users as the software matures; currently, however the following features are provided for:

  • Live Layout: WYSIWYG Editor - Live Coding - Real-time App Rendering
  • Developer Console: optimization tips, assistance for translation, referral tracking, campaigning and promotions - Usage Metrics.
  • Provision for beta releases and staged rollout.
  • Gradle-based build support.
  • Android-specific refactoring and quick fixes.
  • Lint tools to catch performance, usability, version compatibility and other problems.
  • ProGuard and app-signing capabilities.
  • Template-based wizards to create common Android designs and components.
  • A rich layout editor that allows you to drag-and-drop UI components, option to preview layouts on multiple screen configurations.
361 questions
206
votes
7 answers

Switch between multiple java versions

While installing Android Studio on Ubuntu 14.04 I get the message that my Java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer Oracle version of Java: sudo apt-add-repository ppa:webupd8team/java sudo…
mcExchange
  • 3,398
193
votes
13 answers

How to install Android Studio on Ubuntu?

Please tell me the full process of installing Android Studio and its necessary dependencies.
aminul haque
  • 1,977
86
votes
14 answers

adb no permissions on Ubuntu 17.04

When I try: adb devices I get the result: List of devices attached ???????????? no permissions I tried that on an Ubuntu 16.04 machine and it worked perfectly. I also tried a 7.1.1 device and it also worked perfectly. What is the problem?
Nadav Tasher
  • 1,088
83
votes
6 answers

Read / Write permissions in /opt directory

I installed Android Studio in my /opt directory without a hitch and have been using it. Recently, though, Android Studio informed me of an update. It won't perform the update, however, because it says it doesn't have Read / Write permissions in the…
wayneeusa
  • 969
83
votes
7 answers

KVM is not installed on this machine (/dev/kvm is missing)

I'm using Ubuntu 14.04. I recently installed Android Studio, but whenever I try to run a Hello World app, I get this error: /home/praveen/Android/Sdk/tools/emulator -avd Nexus_6_API_21 -netspeed full -netdelay none emulator: ERROR: x86 emulation…
61
votes
9 answers

Uninstall Android Studio completely

I installed Android studio some time ago using the following suggested method: To set up Android Studio on Linux: Unpack the downloaded Tar file, android-studio-ide--linux.zip, into an appropriate location for your applications. To launch…
James
  • 737
59
votes
14 answers

Android Studio update issue with jre/bin/java

While updating Android Studio I got the following error. The patch was downloaded and extracted, but there was some conflict with jre/bin/java Access denied. The error message is shown in the below screenshot. (Click image to enlarge)
Utkarsh
  • 691
49
votes
4 answers

How to find path to java?

I needed to update my openJDK to 8 version... And I downloaded the new one this way: sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo update-alternatives --config java sudo update-alternatives…
Sirop4ik
  • 859
44
votes
3 answers

Where to unpack the android studio file?

I am new to Ubuntu, I have just installed dual boot Ubuntu 12.04. I want to install android studio, but I don't really know how. I have downloaded the android-studio-bundle.tgz file and in the it is written to unpack the file in the appropriate…
GreedyAi
  • 563
40
votes
7 answers

Run Android Studio after installation (and other programs)

I downloaded Android Studio from the official website, started the installer with the terminal (studio.sh) it installed completely, wrote some lines of code, closed Android Studio, now I don't know how I can open it again. the studio.sh just starts…
nintschger
  • 515
  • 1
  • 4
  • 5
40
votes
9 answers

Creating an application launcher icon for Android Studio

I currently launch android studio by going to /path-to-android-studio/bin and running ./studio.sh and it works fine. However, I want to create a launcher on the Dash and side menu for launching it easily. After going through some other questions…
jayant
  • 403
32
votes
5 answers

Ubuntu 14 Android Studio 3 xrdp /dev/kvm permission denied

I'm running an Ubuntu Server VPS with 4 dedicated cores and 4GB or ram lsb_release -a says I'm running Description: Ubuntu 14.04.5 LTS Codename: trusty I've installed Android Studio 3.0.1 I more or less followed this Tutorial just got the…
Jpsh
  • 421
  • 1
  • 4
  • 7
32
votes
7 answers

Android studio buggy after upgrade to 16.10

I recently upgraded from 16.04 LTS where my android studio was working fine to 16.10 but on trying to run my avd emulators, this is the error log i get back instead Cannot launch AVD in emulator. Output: libGL error: unable to load driver:…
31
votes
5 answers

AdbCommandRejectedException: insufficient permissions for device: user in plugdev group; are your udev rules wrong?

Five days ago I installed Android Studio on a fully updated Ubuntu 2018.04, used the wizard to create an example app, pressed the "Run" button and it ran perfectly on my Android device connected via USB. Today, on the same Ubuntu and with the same…
Nicolas Raoul
  • 11,921
25
votes
3 answers

How do I uninstall Java 11 to be able to install Java 8 for Android Studio?

I tried to install Android Studio but it gave me several problems. Among them is that they told me that it need Java 8 while on my PC Java 11 is installed. When I run java -version, the result is the following: java version "11.0.2" 2018-10-16 LTS…
1
2 3
24 25