0

I'm installing android studio for the first time on ubuntu machine

OS: Ubuntu Studio 20.04.2

CPU: 4 cores, G3, core i5, 1500

RAM: 8GB

BOIS: HP v2.90 PC

and when I try to start the emulator I find this

The emulator process for AVD Nexus_7_2012_API_19 has terminated.

screenshot


adb.log

--- adb starting (pid 3676) --- adb I 08-12 09:43:44  3676  3676 main.cpp:63] Android Debug Bridge version 1.0.41 adb I 08-12 09:43:44 
3676  3676 main.cpp:63] Version 31.0.3-7562133 adb I 08-12 09:43:44 
3676  3676 main.cpp:63] Installed as
/home/dark/Android/Sdk/platform-tools/adb adb I 08-12 09:43:44  3676 
3676 main.cpp:63]  adb I 08-12 09:43:44  3676  3676 auth.cpp:417]
adb_auth_init... adb I 08-12 09:43:44  3676  3676 auth.cpp:152] loaded
new key from '/home/dark/.android/adbkey' with fingerprint
85035B085F7989AE48877D66995C7B2E9BCECC5CAAB100B1B871A95B049A56C4 adb I
08-12 09:43:44  3676  3676 auth.cpp:392] adb_auth_inotify_init...
--- adb starting (pid 4554) --- adb I 08-12 09:50:44  4554  4554 main.cpp:63] Android Debug Bridge version 1.0.41 adb I 08-12 09:50:44 
4554  4554 main.cpp:63] Version 31.0.3-7562133 adb I 08-12 09:50:44 
4554  4554 main.cpp:63] Installed as
/home/dark/Android/Sdk/platform-tools/adb adb I 08-12 09:50:44  4554 
4554 main.cpp:63]  adb I 08-12 09:50:44  4554  4554 auth.cpp:417]
adb_auth_init... adb I 08-12 09:50:44  4554  4554 auth.cpp:152] loaded
new key from '/home/dark/.android/adbkey' with fingerprint
85035B085F7989AE48877D66995C7B2E9BCECC5CAAB100B1B871A95B049A56C4 adb I
08-12 09:50:44  4554  4554 auth.cpp:392] adb_auth_inotify_init... adb
server killed by remote request
--- adb starting (pid 4636) ---

these questions and answers didn't help me


How to fix this error ?

  • 1
    Can you edit your question to include the specific version of Ubuntu you’re running and, if possible, the CPU and amount of RAM installed on your system? This will make it easier to offer actionable advice – matigo Aug 12 '21 at 10:17
  • OS: Ubuntu Studio 20.04.2

    CPU: 4 cores, G3, core i5, 1500

    RAM: 8GB

    BOIS: HP v2.90 PC

    – Abd-Elaziz Sharaf Aug 17 '21 at 13:03
  • Also can you show either dmesg or journalctl output for the same time as your last log to adb in the question. Also, how did you install? – Nate T Aug 17 '21 at 13:05
  • Not now, but I installed it via snap and reinstalled via apt repo and same issue – Abd-Elaziz Sharaf Aug 17 '21 at 13:22
  • Try running via cmd line w/ sudo. if it works, you need a group. – Nate T Aug 17 '21 at 13:26
  • did you install adb tools as well? May have been a depend. check w/ apt search adb tools. If it doesn't say "installed" then you need it – Nate T Aug 17 '21 at 13:32
  • android-tools-adb/focal,focal,now 1:8.1.0+r23-5ubuntu2 all [installed] – Abd-Elaziz Sharaf Aug 17 '21 at 23:18

0 Answers0