jetbrains-alfred-workflow icon indicating copy to clipboard operation
jetbrains-alfred-workflow copied to clipboard

Can't find application path for '/usr/local/bin/studio'

Open azlekov opened this issue 6 years ago • 10 comments

Q A
Workflow version 2.0.0
OSX Version 10.11.05
Alfred Version 3.6.2
JetBrains Product/Version Androuid Studio / 3.1.4
Installation type Caskroom

Description

Installed the workflow, first worked but suddenly the workflow stop working after several usages $ which studio returns /usr/local/bin/studio

Step to reproduce

When activate Alfred and write studio it gives me error icon with text "Can't find application path for '/usr/local/bin/studio'"

debug_20180913.log

azlekov avatar Sep 13 '18 09:09 azlekov

Hi @L3K0V,

Did you update Android Studio? If yes, you need to update your bin (see doc)

bchatard avatar Sep 16 '18 11:09 bchatard

Strange but this actually fix it. By there was no update of the Studio after I install the workflow.

azlekov avatar Sep 17 '18 06:09 azlekov

weird...

I close the issue, please re-open it if the bug is still present

bchatard avatar Sep 17 '18 17:09 bchatard

@bchatard I find something interesting, maybe related with Gradle or something:

When update my bin, the projects looks not configured and broken, they are Kotlin. When configure it looks broke the workflow (bin) somehow. I will investigate a little and write again if any.

azlekov avatar Sep 17 '18 20:09 azlekov

ok, when the problem occurred again, please attach studio bin file

bchatard avatar Sep 18 '18 05:09 bchatard

@bchatard so the situation is like this: when the workflow stop working when I override the bin command line tool from the Android Studio and the workflow start work again. When exit and open again the Studio workflow stop working.

A have attached working and not working studio bin file

bins.zip

Here is the diff

12c12
< RUN_PATH = u'/private/var/folders/hr/wd5jz0g95zz8v16k_lxsl9xc0000gn/T/AppTranslocation/1B1E342B-123D-4B71-BBE2-78637AC7E6B7/d/Android Studio.app'
---
> RUN_PATH = u'/private/var/folders/hr/wd5jz0g95zz8v16k_lxsl9xc0000gn/T/AppTranslocation/DAC1E66F-E323-41C9-B382-53CC1215A80B/d/Android Studio.app'

Let me know if you need more information.

azlekov avatar Sep 18 '18 14:09 azlekov

😵 ok thanks for the feedback, I will try to install Android Studio via Caskroom asap for debugging

bchatard avatar Sep 18 '18 16:09 bchatard

Hi @L3K0V ,

Sorry for the delay I try to install Android Studio via Caskroom but I can't reproduce the problem. The RUN_PATH is u'/Applications/Android Studio.app' and no change occur...

Did you have some special configuration for Caskroom?

bchatard avatar Nov 25 '18 12:11 bchatard

@bchatard no,

I used it with multiple projects opened at once. Maybe something related with project configuration causing the issue

azlekov avatar Nov 25 '18 19:11 azlekov

is it possible to get your project, to reproduce your environment on my side? or maybe tell me how create empty projects closes to your's (I'm not an Android dev)?

bchatard avatar Dec 25 '18 09:12 bchatard