Capacitor: Move `windowsAndroidStudioPath` to a gitignored file?

Created on 1 Mar 2018  路  7Comments  路  Source: ionic-team/capacitor

windowsAndroidStudioPath is by definition dependent on the machine you are using. Committing this configuration to git so doesn't really make sense, as you probably would have to change it on every machine you are checking out the project.

A better idea might be to have another configuration file for machine dependent settings that is ignored via .gitignore.

low

Most helpful comment

Now if the default or configured path doesn't exist, it will autodetect the path from windows registry. So there is no need to set the windowsAndroidStudioPath anymore. Closing.

Auto detect does not work when Android Studio is installed through JetBrains Toolbox (for me at least).

All 7 comments

Hmm, good idea. Yea I hate that that's a thing.

I think a .capacitorrc in your home folder could work

What does the rc at the end stand for?

Now if the default or configured path doesn't exist, it will autodetect the path from windows registry. So there is no need to set the windowsAndroidStudioPath anymore. Closing.

Now if the default or configured path doesn't exist, it will autodetect the path from windows registry. So there is no need to set the windowsAndroidStudioPath anymore. Closing.

Auto detect does not work when Android Studio is installed through JetBrains Toolbox (for me at least).

The change is not released yet

same issue here , based on my attempts and this comment (https://github.com/desktop/desktop/issues/7195#issuecomment-479964589) Jetbrain does not have a fixed path for its tools. 馃槄

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicobytes picture nicobytes  路  3Comments

peterpeterparker picture peterpeterparker  路  3Comments

natevw picture natevw  路  3Comments

moberwasserlechner picture moberwasserlechner  路  3Comments

TayKara picture TayKara  路  3Comments