Skip to content
This repository has been archived by the owner on Oct 25, 2019. It is now read-only.

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

Open
azlekov opened this issue Sep 13, 2018 · 10 comments
Open

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

azlekov opened this issue Sep 13, 2018 · 10 comments
Assignees
Labels

Comments

@azlekov
Copy link

azlekov commented Sep 13, 2018

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

@bchatard
Copy link
Owner

Hi @L3K0V,

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

@bchatard bchatard self-assigned this Sep 16, 2018
@azlekov
Copy link
Author

azlekov commented Sep 17, 2018

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

@bchatard
Copy link
Owner

weird...

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

@azlekov
Copy link
Author

azlekov commented Sep 17, 2018

@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.

@bchatard
Copy link
Owner

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

@bchatard bchatard reopened this Sep 18, 2018
@bchatard bchatard added the bug label Sep 18, 2018
@azlekov
Copy link
Author

azlekov commented Sep 18, 2018

@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.

@bchatard
Copy link
Owner

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

@bchatard
Copy link
Owner

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?

@azlekov
Copy link
Author

azlekov commented Nov 25, 2018

@bchatard no,

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

@bchatard
Copy link
Owner

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)?

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

No branches or pull requests

2 participants