Skip to content

Allow setting environment variable in launch.json #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hlee-gs1us opened this issue Sep 10, 2020 · 0 comments
Open

Allow setting environment variable in launch.json #277

hlee-gs1us opened this issue Sep 10, 2020 · 0 comments

Comments

@hlee-gs1us
Copy link

hlee-gs1us commented Sep 10, 2020

Is your feature request related to a problem? Please describe.

I'm trying to launch my app from debugger using one of the auto-generated configurations: "Launch on Android".

My Android SDK is in an unconventional location and my environment variable doesn't include ANDROID_HOME. As a result tns cannot find Android SDK and fails to launch my app.

Describe the solution you'd like

Introduce env property in launch configuration like many other extensions to allow environment variables where I can set ANDROID_HOME.

Describe alternatives you've considered

I could either install Android SDK in a standard location or set ANDROID_HOME in my .bashrc file. Android Studio doesn't require any of those, and I never had to do that while developing native Android apps. So, I wish I didn't have to do that because of this extension.

Additional context

I'm using a linux system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant