I installed dev-util/android-studio-2.2.0.12.145.3276617 an my amd64 system, but android-studio refuses to start withe the message: which: no zenity in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/games/bin) Installing gnome-extra/zenity resolves the issue. So gnome-extra/zenity needs to be a dependency for dev-util/android-studio
Fixed in commit 0f2942f6da243334aac2ad1725b5376b0cba5c99 dev-util/android-studio-2.2.2.0.145.3360264 Thanks!
I see version 2.2.2.0.145.3360264 has been added to the tree with unconditional dependency on gnome-extra/zenity and I suppose it's because of this bug report. However, I don't believe this is accurate, as android-studio starts on my system without having zenity installed, and indeed it supports several alternatives to it: # grep -rB3 -A10 zenity `qlist android-studio` grep: /opt/android-studio/jre: No such file or directory /opt/android-studio/bin/studio.sh-message() /opt/android-studio/bin/studio.sh-{ /opt/android-studio/bin/studio.sh- TITLE="Cannot start Android Studio" /opt/android-studio/bin/studio.sh: if [ -n "`which zenity`" ]; then /opt/android-studio/bin/studio.sh: zenity --error --title="$TITLE" --text="$1" /opt/android-studio/bin/studio.sh- elif [ -n "`which kdialog`" ]; then /opt/android-studio/bin/studio.sh- kdialog --error --title "$TITLE" "$1" /opt/android-studio/bin/studio.sh- elif [ -n "`which xmessage`" ]; then /opt/android-studio/bin/studio.sh- xmessage -center "ERROR: $TITLE: $1" /opt/android-studio/bin/studio.sh- elif [ -n "`which notify-send`" ]; then /opt/android-studio/bin/studio.sh- notify-send "ERROR: $TITLE: $1" /opt/android-studio/bin/studio.sh- else /opt/android-studio/bin/studio.sh- echo "ERROR: $TITLE\n$1" /opt/android-studio/bin/studio.sh- fi /opt/android-studio/bin/studio.sh-} It looks like the only place using zenity is the startup script, only for displaying error messages, and there are alternatives to it. So the dependency should be changed to || (gnome-extra/zenity kde-apps/kdialog x11-apps/xmessage x11-libs/libnotify) and the cause of android-studio not starting on some systems without zenity be further investigated.
Created attachment 452051 [details] emerge --info result of: emerge --info android-studio zenity kdialog xmessage libnotify