Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Added a proper citation
Source Link
Machavity
  • 31.8k
  • 27
  • 97
  • 108

UPD: Fixed in 2021.1.1 patch 1, see release notes here

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

bash chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 
chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

UPD: Fixed in 2021.1.1 patch 1, see release notes here

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

UPD: Fixed in 2021.1.1 patch 1, see release notes here

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

bash chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

updated with link to Android Studio patch released today
Source Link

UPD: Fixed in 2021.1.1 patch 1, see release notes here

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

UPD: Fixed in 2021.1.1 patch 1, see release notes here

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

Updated with actual info
Source Link

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

In order to provide $PATH for apps launched from macOS UI (dock/launchpad icons) - use ~/.profile;

  1. Install CocoaPod (doesn't really matter be it brew/rvm/etc.).
  2. Find where CocoaPods is installed on your machine:
# find where your 'pod' binary is located: which pod # example output can be: # /Users/yourname/.gem/ruby-{xyz}/bin/pod # or /usr/local/bin/pod 
  1. In your ~/.profile add the following lines:

EDIT: It's a confirmed bug in Bumblebee release

Make sureThe workaround is to remove the /pod partadd missing flag:

... # you can also include all configs from .zshrc or .bashrc: #chmod source+x ~/.zshrc # source ~Applications/.bashrc exportAndroid\ PATH="$PATH:/Users/yourname/Studio.gemapp/ruby-{xyz}Contents/bin" ...bin/printenv 
  1. Log Out from macOS to apply changes

You have to do it only once

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

In order to provide $PATH for apps launched from macOS UI (dock/launchpad icons) - use ~/.profile;

  1. Install CocoaPod (doesn't really matter be it brew/rvm/etc.).
  2. Find where CocoaPods is installed on your machine:
# find where your 'pod' binary is located: which pod # example output can be: # /Users/yourname/.gem/ruby-{xyz}/bin/pod # or /usr/local/bin/pod 
  1. In your ~/.profile add the following lines:

Make sure to remove the /pod part

... # you can also include all configs from .zshrc or .bashrc: # source ~/.zshrc # source ~/.bashrc export PATH="$PATH:/Users/yourname/.gem/ruby-{xyz}/bin" ... 
  1. Log Out from macOS to apply changes

This might happen because AndroidStudio doesn't know anything about $PATH provided in ~/.*rc files (.bashrc,.zshrc, etc.)

You can ensure by launching it from terminal:

open /Applications/Android\ Studio.app 

EDIT: It's a confirmed bug in Bumblebee release

The workaround is to add missing flag:

chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv 

You have to do it only once

Highlighted that /pod should be stripped from path
Source Link
Loading
Source Link
Loading