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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
25 views

Trouble findViewById using AndroidStudio [closed]

I am having some issues trying to make slight modifications to the tutorial from the android website. I had no issues following the tutorial but when trying to make some slight modifications to ...
0
votes
1answer
21 views

How to scratch Android studio / SDK / ADB etc from disk (for reinstallation)

I somehow messed up my android studio configuration. At least "adb" is not working anymore, which leads to the fact that I cannot see my connected phone for USB debugging. Adb gives a "...
0
votes
0answers
22 views

Android studio amulater [duplicate]

I have downloaded Nexus 5x in my ubuntu but this slow down my computer too much can you suggest me a good android emulator for android studio. my system configuration- i5 7th gen processor 8Gb RAM ...
0
votes
0answers
23 views

ADB / Android Studio not recognizing my physical device?

In Android Studio, the list of devices and emulators doesn't list my physical device when I plug it in (Google Pixel 2). I've tried adding the device ID found w/ lsusb to the ~/.android/adb_usb.ini as ...
0
votes
0answers
49 views

Enabling KVM for Android Emulator

I am using Android Studio 4.0 and Ubuntu 20.04 LTS Desktop I have installed KVM from here, but when i am using android Emulator, it lags. How can i enable KVM for Android studio. Processor: AMD ...
0
votes
0answers
26 views

Ubuntu 20.04 VM broken after running ln command

I was trying to fix an issue in android studio emulator that is shown in this question here: The Android Studio emulator doesnt sound. Ubuntu 19.10 distribution Ι Used the command in the upvoted ...
0
votes
0answers
24 views

Where to download Android Studio (Ubuntu Software Center or Official Website) [duplicate]

I am literally confused and have doubt, I want to install Android Studio on Ubuntu but from which source shall I download?? As I can see in the Ubuntu Software Center, the developers of Android Studio ...
0
votes
0answers
52 views

Flatpak Android Studio cannot access /usr/lib/jvm even after permission was given

I have installed Android Studio as a flatpak and I want to set OpenJDK 11 to run unit tests (because I am using robolectric which needs Java 9+). From what I understand, the /usr directory is ...
0
votes
0answers
15 views

Best place to install Android Studio jre and sdk on ubuntu

When installing Android Studio using snap: Where is the best place to install jre? Where is the best place to install sdk? I was about to install them in /home/snap/android-studio but I read snap ...
1
vote
1answer
41 views

Is there a way to switch from android studio snap to android studio deb?

I've installed Android Studio from the snap, but I want to upgrade my Android Studio beta version. But the snap package doesn't provide a beta package of android studio. Therefore I want to switch ...
0
votes
0answers
20 views

What is the safe way to Install Android Studio in Ubuntu

When I tried to install Android studio from Ubuntu Software Centre, it shows, This application is unconfined. It can access all personal files and system resources. Should I install from there? Or ...
6
votes
4answers
614 views

Ubuntu 20.04 android studio slow startup?

With the Ubuntu 20.04 released, I thought I'd switch from Windows for Android app development, So I did a fresh install on my SSD, then installed Android Studio from the snap store, but found that it ...
0
votes
1answer
46 views

Ubuntu 18.04 lags while using Android Stuido and IntelliJ Idea

I was using Ubuntu 19.10 and that was working perfectly, I decided to downgrade for some reasons to 18.04 LTS, It was also working fine in the starting but since a week before I am facing random lags ...
1
vote
0answers
196 views

Ubuntu Studio running slow after some months

I am a Ubuntu Studio user and general Linux novice. I installed the latest Ubuntu Studio on my Dell Vostro 400 Q6600 quad-core, and it ran perfectly for many months. Now it's unusable. When I boot up,...
0
votes
0answers
57 views

Android Studio Installation with jdk11

I run this command to install Android Studio but this error shows up during the installation error: cannot perform the following tasks: - Download snap "android-studio" (84) from channel "stable" (...
0
votes
0answers
24 views

enable the titlebar in Android Studio like on Windows10?

I have used Windows 10 earlier and I have seen a headless titlebar (which come from app) in Visual Studio 2019 and Android Studio (I am not sure it's stable or preview) I am on ubuntu 19.10 and I am ...
0
votes
0answers
64 views

How can I run an Android emulator on Ubuntu running on VmWare

I am trying to develop react-native apps on Ubuntu running on Vmware workstation on my windows machine because of issues coding on Windows. But I can't seem to set up Android studio emulator on the ...
1
vote
0answers
69 views

Budgie 19.10: Android Studio starts after 25 seconds delay but starts instantly when opened as super user

I was using Elementary OS before and android studio had no delay in startup but after a fresh install of Ubuntu Budgie 19.10, it starts after 20 seconds delay. I tried this but no luck.
0
votes
0answers
19 views

Application interface font style italic

In some applications, like Android Studio, the whole interface font (the one of the menus and so on) is entirely in italic. In IntelliJ on the hand, this is not the case. I did not change any ...
0
votes
0answers
39 views

install android studio in different location ubuntu

install android studio in different location ubuntu, Like I have another location /home/jay/dev/ It generally installs on default location
0
votes
0answers
143 views

Run a specific Android virtual device after installing Android Studio using snap

Previously I had installed full Android Studio uncompressing the .tar.gz bundle into my home, and it was easy to run a specific AVD from terminal: /home/myuser/Android/Sdk/tools/emulator -avd ...
0
votes
0answers
10 views

Gson Formatter plugin in Android studio ubuntu

I have installed Gson Formatter plugin in ubuntu. But After restarting and enabling plugin, it is not opening using shortcut Alt+S as well as it is not available in Generate - section in android ...
0
votes
0answers
93 views

Unable to access android-studio project through samba

I am trying to access the ANDROID-STUDIO project from samba present in my other Ubuntu 18.04 device. I am able to import the project but while building it ERROR: /run/user/1000/gvfs/smb-share:...
0
votes
1answer
203 views

Android Emulator output not forwarded thru SSH X11 forwarding

I have managed to setup Android Studio with AVD and KVM on a host computer myserver. From a client computer I now do ssh me@myserver -X and launch the andriod studio so that the UI is displayed on my ...
0
votes
0answers
85 views

Which java version am I using and how should I del with JAXBException?

I run java --version and get the following: openjdk 11.0.5-ea 2019-10-15 OpenJDK Runtime Environment (build 11.0.5-ea+10-post-Ubuntu-0ubuntu1) OpenJDK 64-Bit Server VM (build 11.0.5-ea+10-post-Ubuntu-...
0
votes
0answers
80 views

Running AVD causes the entire user interface to lag

My Laptop specs ASUS FX504: Kubuntu 19.10 Nvidia Driver: 435 CPU: i5-8300H GPU: GTX 1050 RAM: 8GB 2300 500 GB SSD Every time I launch AVD my user interface lags. Like windows snapping, courser ...
2
votes
1answer
583 views

How install watchman on Ubuntu 19.10 for react native [duplicate]

I was try to installing watchman on Ubuntu 19.10 but it throwing some issues. My commands: $ cd ~ $ git clone https://github.com/facebook/watchman.git $ cd watchman/ $ git checkout v4.9.0 $ ...
6
votes
0answers
336 views

Pulseaudio lags horribly only when Android Studio is running

I've got a very weird problem - my audio works perfectly, even under massive CPU load, but as soon as I start the Android Studio IDE, it becomes super laggy and distorted with glitches, cracks and ...
0
votes
1answer
50 views

Running GUI app from terminal

Recently I had a login loop issue in ubuntu. Based on some information, running gui apps from terminal can cause login loop problem in your machine. Is there any solution to prevent that issue not to ...
0
votes
1answer
111 views

Cannot upgrade Android Studio from 3.5.0 to 3.5.1

I am not able to upgrade. During the upgrade the following error is thrown: I am on Ubuntu 18.04.3. Android Studio originally installed via umake. This behavior can be systematically reproduced on ...
3
votes
1answer
253 views

How can I add the Android Emulator to Plank dock in 19.04?

I'm using the Plank dock (v.0.11.4) for my apps in Ubuntu 19.04. The Android Emulator (opened from Android Studio) does not appear next to the other open applications. Is it possible to show it in ...
0
votes
0answers
62 views

Android Studio - Error

I get the following log when I start the emulator : 17:27 Emulator: statvfs('/home/brunogustavo/.android/avd/test.avd/snapshots/default_boot/ram.img') failed: No such file or directory 17:27 ...
0
votes
1answer
946 views

Why adb and fastboot command not included in Android SDK?

In Windows, adb command is already included with Android SDK when install Android Studio. In Ubuntu, after I installed Android Studio, I cannot use adb command instead it said that i have to install ...
0
votes
0answers
191 views

Android Studio - Samsung galaxy J5

I'm in ubuntu. How can I connect a Samsung device in Android Studio? I want to connect Samsung Galaxy J5. I'm working with Flutter and Android Studio. flutter doctor Doctor summary (to see all ...
0
votes
0answers
101 views

Virtualization is enabled on my host but VirtualBox shows it greyed out

I am running a Windows 10 host and a Ubuntu 18.04 on a virtual machine using VirtualBox. I checked my Windows BIOS and it shows Intel Virtualization is Enabled. and so I get this in Android Studio ...
0
votes
1answer
1k views

JDK classes seem to be not on Studio classpath. please ensure you run the ide on jdk rather than jre ubuntu

After downloading android studio in ubuntu, when I run the ./studio.sh file in bin dir, it shows the above error.
0
votes
1answer
1k views

How to solve Uiautomatorviewer issues: GDK_NATIVE_WINDOWS environment variable is not supported in GTK3

I have typed $uiautomatorviewer and got the error as (java:642): Gdk-WARNING **: 00:33:28.349: The GDK_NATIVE_WINDOWS environment variable is not supported in GTK3. See the documentation for ...
1
vote
0answers
665 views

How to install Android Runtime On Linux

How can i Install ART (Android RunTime) On Linux(Ubuntu) And if i installed it can i run android apps natively on ubuntu Without using an emulator i hope you help me thanks
0
votes
0answers
118 views

Security concerns with snap or apt repositories?

So I've been developing Android apps for about 6 months now, after doing web dev and desktop Java in Windows for about 18 months. I've been using Ubuntu exlcusively for around 4-5 months now (...
1
vote
0answers
861 views

Cannot sync/save android studio project permission denied

I am a newbie in linux world and using ubuntu 19.04 and Android Studio 3.4.1 If I run android studio from terminal using ./studio.sh as root user, I cannot sign in to google account as it tells me to ...
0
votes
0answers
670 views

unable to resolve dependency for google play intel x86 atom system image

In android studio 3.4.1 on Ubuntu 16.04 LTS after installation I go on android SDK and install android Oreo 8.1. When I click on google play Intel x86 atom system image and google API Intel x86 atom ...
0
votes
1answer
3k views

Android Emulator Warnings (QStandardPaths, GLES1, FramebufferData)

When I start my App in the Android Studio Emulator (just plays a sound downloaded from the internet) I get following response in the Event log: 20:10 Emulator: Warning: QStandardPaths: ...
1
vote
3answers
3k views

Can't connect to emulator through ADB genymotion

I am trying to connect to an android vm running through genymotion. However, I keep getting the following error message when I try to connect via adb: adb server version (41) doesn't match this ...
5
votes
2answers
2k views

Is there a repository for Android Studio?

The download page for Android Studio does not list any repositories, it only offers direct download links. I noticed that there are many Android SDK and tools packages in the Ubuntu repos, but no ...
1
vote
0answers
532 views

Android Studio - Emulator: Warning:QStandardPaths:wrong ownership on runtime directory

I am trying to run emulator on android studio, then there are warning on event log : Emulator: Warning: QStandardPaths: wrong ownership on runtime directory /run/user/1000/snap.android-studio, 0 ...
5
votes
1answer
7k views

How to fix the following logcat error message in android studio running on linux

Whenever i try and run any of my applications via an emulator on android studio i get the following error message in the logcat. Emulator: Warning: QStandardPaths: XDG_RUNTIME_DIR points to non- ...
1
vote
0answers
493 views

Failed to install Android SDK Tools, and want to install KVM for Android Studio

i know my Question is probably divergent and maybe looks like other questions but i just can't figure it out on my own :( bear with me :D my computer: Ubuntu 18.04.2 LTS Android Studio version 3.4 ...
1
vote
2answers
406 views

How to install Android Studio in specified directory

I have very little free space on my partition for the OS but I want to install Android Studio on my Ubuntu (18.04.02 LTS). I saw that sudo snap install android-studio --classic should install it but ...
0
votes
0answers
571 views

How to create icon for android studio [duplicate]

I am not able to create an icon for the android studio I have created a .desktop file for android [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon=android_studio Exec=sh /home/...
2
votes
1answer
183 views

I want to DEEPLY LEARN UBUNTU, any resources ?? CS student here :) [closed]

I'm a junior CS student. have been working with java using Netbeans and started learning XML and took android path - working on Android Studio, so i think i will come around C-drive in ubuntu-i know ...

1
2 3 4 5
7