Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Cannot find AVD system path for Emulator in Android studio?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
pmam
Veteran
Veteran
Posts: 1145
Joined: Mon Dec 30, 2013 8:26 am

Cannot find AVD system path for Emulator in Android studio?

  • Quote

Post by pmam » Sun Dec 24, 2017 8:51 am

I am trying to run AVD emulator of Android studio and get this error:

Code: Select all

Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
I read this wiki: https://wiki.gentoo.org/wiki/Handbook:X ... ing/EnvVar
and found in this file: /etc/env.d/80android-sdk-update-manager

Code: Select all

PATH="/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools"
ANDROID_SWT="//usr/share/swt-3.7/lib"
ANDROID_HOME="/opt/android-sdk-update-manager"
I have Android in this PATH: /home/user/Android/Sdk
Please advise what need to do (maybe with export command) in order to fix it?
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Top
pmam
Veteran
Veteran
Posts: 1145
Joined: Mon Dec 30, 2013 8:26 am

  • Quote

Post by pmam » Fri Jan 12, 2018 12:08 pm

I also followed this wiki: https://wiki.gentoo.org/wiki/Android_studio ,
however still can not launch emulator and get same error while trying form console:

Code: Select all

~/Android/Sdk/tools $ ./emulator -avd Nexus_5X_API_19
PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT
It is true that emulator is slower and better to run app on device,
however sometimes need to run app on other devices...
Please advise!
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic