Closed AlexeyKorshun closed 2 years ago
Hi,
Project's list is cached. Did you try to flush cache?
how can I do this?
I did it, but new projects didn't appears
Did you completely close Studio app?
otherwise check the content of this file: ~/Library/Application\ Support/JetBrains/GoLand2021.3/options/recentProjects.xml
(adapt path to Studio product).
and if possible provide it, so I can check what's happen
I found an error, script try to use old version path
Error: Can't find 'options' XML in /Users/alekseikorshun/Library/Application Support/Google/AndroidStudio4.2
at getProjectPaths (file:///usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/project/paths.js:132:9)
at getItems (file:///usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/project.js:44:19)
at file:///usr/local/lib/node_modules/@bchatard/alfred-jetbrains/src/index.js:21:15
at async Promise.all (index 0)
but current is ~/Library/Application Support/Google/AndroidStudio2021.1/options
invalidate projects and product cache didn't help
I just install latest Studio app, create a dummy app, close Studio, try to open via worklfow
it was maybe a problem via updates. try to fix it by self
can you try to delete this folder: /Users/alekseikorshun/Library/Application Support/Google/AndroidStudio4.2
(backup it just in case)
I thinks I see the problem here. The workflow found both path AndroidStudio4.2 & AndroidStudio2021.1, then when use the "first" one (natural sort), which is the old for this case
I deleted it already, because I have an error %)
ok so let's check the bin because there is no reason to try this path
cat $(which studio)
thanks, so don't understand why the workflow try a path that doesn't exists...
It is a cache problem for product I think
I dropped alfy cache by myself, and it started work. Update cache variables in argv doesn't have an effect on cache, because maxAge was set.
Studio list of projects doesn't updates in workflow. I removed 7 of 8 projects, but it still appears in workflow list. This projects doesn't shown in recent projects in AS too.