jetbrains-alfred-workflow
jetbrains-alfred-workflow copied to clipboard
Can't find application path for '/usr/local/bin/studio'
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'"
Strange but this actually fix it. By there was no update of the Studio after I install the workflow.
weird...
I close the issue, please re-open it if the bug is still present
@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.
ok, when the problem occurred again, please attach studio
bin file
@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
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.
😵 ok thanks for the feedback, I will try to install Android Studio via Caskroom asap for debugging
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 no,
I used it with multiple projects opened at once. Maybe something related with project configuration causing the issue
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)?