Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
64 views

Would Dual Booting Ubuntu with Windows effect Android Studio Emulator?

My Development machine is dual boot Windows 10 and Ubuntu 18.10. I'm trying to use Flutter on Ubuntu 18.10 and everything seems to be working fine except for Android Studio AVD (Android Virtual ...
0
votes
0answers
31 views

Android Studio preview pane

enter image description hereAndroid Studio preview pane gets frozen at loading. It just gets struck at "waiting for build to finish".....That's it, i tried a couple of ways trying to get the shit ...
1
vote
1answer
283 views

Ubuntu 18.04 stuck at a black screen with lines that start with a green OK

I have a dual boot laptop with Windows 10 and Ubuntu 18.04. They have been working fine for some time now. Last night I had left the laptop on all night to download some big files. Now it is stuck at ...
0
votes
1answer
21 views

My system hangs very much even when multiple tabs are opened in browser. Android Studio and WebGL is not running on my system's browser

I am using Ubuntu since last 3 years and recently I bought a new Dell system. Then my life became difficult. Android Studio when installed didn't run. And a build error was shown and the graphics area ...
0
votes
0answers
24 views

Android studio still exists after uninstall

Steps I followed: 1) I installed Android studio from software centre 2) Used for some days 3) Uninstalled it from software center and restarted the system 4) Now, Android studio is in both ...
1
vote
1answer
446 views

Enable Intellij or Android Studio KDE Global Menu

I've been looking for this for a long time but still I can't get it work. I tried using Jayatana and activate it in idea.properties like this: -linux.native.menu=true -javaagent:/usr/share/java/...
0
votes
1answer
424 views

E/AndroidRuntime: FATAL EXCEPTION: main

Can anyone help me please? I'm beginner. LOGS : E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.ghaas.androideatit, PID: 5835 java.lang.RuntimeException: Unable to start activity ...
0
votes
0answers
88 views

Unable to launch AVD Emulator in Ubuntu 17.10

After downloaded and installed Android Studio 3.2, I executed ./studio.sh. Without doing anything, I test an hello world app on Andriod Emulator Nexus 5X API 27 for the first time, however the AVD ...
3
votes
1answer
366 views

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 ...
0
votes
0answers
64 views

How can I link my Android SDK in external hard drive to my Android studio

Can Android SDK's directory path in my external hard drive be linked to my main drive where Android Studio is installed? I have gone to Android Studio → Preferences → Appearances and Behavior → ...
4
votes
2answers
81 views

How do I get every program that connects to the internet to do so through my VPN?

I've been trying to install the Android Studio app for 5 days. But I have not succeeded so far. To install Android, you need to install Java. And when I want to install Java, this message shows: ...
1
vote
1answer
103 views

Reduce Java heap Memory

I wrongly increased the heap size of my android studio, and when i start android studio , i am getting this error Invalid maximum heap size: -Xmx4096m # <------ increase this to most of your RAM ...
0
votes
0answers
169 views

change JDK path for Android studio

I have Android studio 3.1 which was working with oracle java 10. I have deleted all Java packages and alternatives according to this answer. now starting Android Studio I face Fatal error java.lang....
1
vote
1answer
433 views

Not able to install Android studio IDE in Ubuntu 18.04.1

Not able to install Android studio IDE in Ubuntu 18.04.1 from ubuntu app store. After installation it take some time then aborted.
0
votes
0answers
282 views

Android SDK location in Ubuntu 18.04.1

I tried doing several answers for this question, but found out that the answers are not compatible for the latest Android Studio and Ubuntu 18.04.1. My doubt is that Which directory I have to select ...
1
vote
1answer
116 views

Why Ubuntu software center is not showing some existing applications? [duplicate]

I had a fresh install of Ubuntu 18.04.1 LTS. I did upgrade, update. I had an active internet connection. I searched for Android studio and got the following result. What is the issue of not showing ...
1
vote
0answers
156 views

Android Studio keyboard shortcuts not working

I am using Android Studio 3 on Ubuntu 16.14 with no problems in the build and functionality. The only thing is sometime weirdly the simple keys shortcuts like Ctrl+C, Ctrl+V, Ctrl+Z. When they stop I ...
0
votes
1answer
349 views

How to check if Android Studio is properly installed?

I just somehow installed Android Studio on my PC with Ubuntu 18.04 LTS using some 'here&there' guides on internet. But I am not sure if it will work correctly OR is it installed properly ? Is ...
0
votes
1answer
1k views

Android Studio not recognising KVM on Ubuntu 18.04

KVM is required to run this AVD. /dev/kvm device: permission denied. Grant current user access to /dev/kvm
2
votes
1answer
255 views

Android Studio hardware accelerated emulator will not launch in Ubuntu 16.04

I have a problem with my ASUS G53jw PC. Its chipset and CPU are rated to support virtualisation, which is enabled in the BIOS/Setup. To confirm, I ran egrep -c '(vmx|svm)' /proc/cpuinfo which returns ...
0
votes
1answer
456 views

What are android SDK and Gradle path?

I installed android sdk with terminal and it installed completely and now I need its path. There was no "android/sdk" folder in home. I searched and found sdk in /usr/lib/android-sdk. I also installed ...
0
votes
0answers
44 views

Why my pc is lagging on ubuntu?

Why my pc is lagging on ubuntu 16.04 as compared to windows 10 (dual boot) when I run android studio ? Is it due to lack of RAM ? System specs: Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz RAM 4GB ...
0
votes
1answer
43 views

How to load Android Studio on Ubuntu?

I have installed Android Studio on Ubuntu 16.04 and had started a project. I wanted to carry on with it but I can't find anywhere to load Android Studio from. Is there a command I can use on the ...
1
vote
3answers
5k views

KVM is required to run this AVD

I am on Ubuntu 18.04 LTS and I am trying to set up Android Studio for the first time. When I run my simple "Hello World" app, it gives me a pop-up that says KVM is required to run this AVD. ...
0
votes
0answers
29 views

Android Studio Welcome Project Screen will not properly display project list

enter image description here whenever I start Android studio in Ubuntu 18.4 It may not properly display project list.
0
votes
0answers
202 views

Could not find Java jdk in a directory that has been renamed

I am trying to built a React Native app using Ubuntu 16.04. When I try to run npm run android in the terminal I get this error ERROR: JAVA_HOME is set to an invalid directory: /home/duong/git/Java/...
1
vote
1answer
291 views

Can't install Android SDK platforms. Ubuntu 16.04

When installation ends (different Android API's) there message that installation finished with errors. I tried to use default location (.../Android/Sdk) and change it - no difference. Logs: It seems ...
0
votes
1answer
114 views

Shared libraries error when opening desktop head unit Android Auto (Android Studio)

I'm trying to open the desktop-head-unit executable on Ubuntu and i get this output when trying: $ ./desktop-head-unit ./desktop-head-unit: error while loading shared libraries: libSDL2_ttf-2.0.so.0:...
0
votes
0answers
13 views

Should I install all packages with android prefix to install android studio in 18.04? [duplicate]

$ sudo apt install android android-androresolvd android-libsparse android-framework-res android-libsparse-dev android-headers ...
0
votes
1answer
594 views

Connect Android device to Android studio in Ubuntu

My lsusb displays Bus 001 Device 006: ID 0cf3:0036 Atheros Communications, Inc. Bus 001 Device 003: ID 0bda:5756 Realtek Semiconductor Corp. Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 ...
0
votes
1answer
104 views

Right click in Android Studio

How to use "right click" for seeing lists(new,cut,copy,paste etc) in Ubuntu 18 in Android Studio?refer to the picture
13
votes
3answers
8k views

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 ...
1
vote
1answer
277 views

How to delete android-studio from home in ubuntu16.04

I'm new to Ubuntu and I have installed android-studio in /opt/ .today when I opened my android studio it notified for update but when I clicked upon update it said permission error .So i searched for ...
2
votes
4answers
3k views

How I can run Android Studio emulator without libGL errors?

I have installed the android-studio snap package from the Snap Store in Ubuntu 18.04. Android Studio Emulator fails with the following errors: 7:17 PM Executing tasks: [:app:assembleDebug] 7:17 PM ...
0
votes
0answers
53 views

If I follow the install guide for installing Android Studio, will I loose the 64 bit versions of libc6, libncurses5, libstdc++6, etc?

I am considering installing Android Studio on my Ubuntu 18.04 64-bit machine. The Install guide says: If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with ...
0
votes
0answers
204 views

Android Studio Gradle (Ubuntu)

I am using Android Studio on Ubuntu . Every time , after Gradle finish its work, the gradle process is not removing itself . As a consequently, laptop's memory (RAM) is being fulled with gradle ...
2
votes
0answers
25 views

Consequences of moving /usr to slower drive

Background I currently have my system all on a very fast nVME PCIe m.2 SSD drive. I want to reinstall everything and I was wondering what some reasonable consequences of moving /usr to a fast (but ...
1
vote
0answers
2k views

“Process finished with exit code 139 (interrupted by sinal11:SIGSEGV)” and “libGL error: failed to load driver: swrast”

I'm trying to run the android studio by ubuntu 18.04 I have a slight problem here when trying to open the emulator Emulator: Process finished with exit code 139 (interrupted by sinal11:SIGSEGV) ...
0
votes
0answers
102 views

Android studio gives me error

(this is on ask ubuntu due to it being installed on a ubuntu system, I think it would make a difference.) Ok. I just installed Android Studio, and I was excited to start testing it out, then, I ran ...
0
votes
1answer
2k views

avdmanager throws exception when trying to run it from bash

I have ubuntu 16.04 and is trying to run avdmanager as such: cd ~/Android/Sdk/tools/bin/ and then sudo ./avdmanager list avd I get the error: Exception in thread "main" java.lang....
0
votes
1answer
281 views

how to update android studio with jar file

My current installed AndroidStudio version on Ubuntu is 3.0.1. I downloaded a .jar update patch file from Google How can I use this patch file to update my IDE?
0
votes
0answers
4k views

Android SDK Build-Tools and SDK components were not installed

I was installing Android Studio on my Ubuntu 16.04.4 LTS. I successfully downloaded it and I can run with ./studio.sh from /opt/android-studio/bin. After executing this command, it starts downloading ...
2
votes
0answers
367 views

Android studio error on updating to 3.1

I'm trying to upgrade Android studio to v3.1 but at the end this error is showing. Error gettng This access denied error is showing.
4
votes
2answers
770 views

Start Android Studio from any directory

In the installation instructions for Android Studio they say: 3. [OPTIONAL] Add "{installation home}/bin" to your PATH environment variable so that you may start Android Studio from any directory. ...
3
votes
1answer
2k views

Where to download latest Android-SDK for Ubuntu other than Android.com

Based on similar questions i think this is not an off-topic question neither duplicate, i also have looked at Stackoverflow and Askubuntu for my problem but there was not any answer and most of them ...
3
votes
2answers
1k views

Do I need to upgrade RAM from 4GB to 8GB for Android development?

I'm an android developer and have laptop with 4GB RAM. When I compile my project the RAM is used at 100%. If I add more RAM will it solve the problem?
0
votes
0answers
357 views

Use Torify for Android Studio: Operation not permitted

I'm trying to cross Android Studio from Tor By using torify. I run Android Studio by: sudo torify ./studio.sh after launch Android Studio this message occurred: Operation not permitted (Socket ...
1
vote
0answers
28 views

What's my android studio's problem? [closed]

android-studio first see the picture above please, I can't read any articles and text and words while i install android studio ....i use ubuntu 32 bit
0
votes
0answers
116 views

Android Studio 3 download problem

Android Studio keeps repeating the same link at the rate of 10 lines/ second, and the download doesn't progress even after hours. I've tried switching from Linux to Windows, but the same problem ...
4
votes
3answers
3k views

QEMU frequency mismatch on Kubuntu

I have the following message on my Kubuntu 17.10 - I googled the message but unfortunately hits are way too technical for me to find a solution: Emulator: qemu-system-i386: warning: TSC frequency ...