mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2050] Android Studio Invalid Config Path #1384
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1384
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Jul 21, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2050
Invalid Config Path: Config path '/home/user/.AndroidStudio3.1/config' is invalid.
If you have modified the 'idea.config.path' property please make sure it is correct,
otherwise please re-install the IDE.
Has anyone had this issue in Android Studio with firejail? It's googlable for regular Android Studio installs, but my regular Android Studio starts up fine, and the solutions that mention altering the idea.properties do not work in ending this error.
Could it have to do with the command to launch android studio being a path to studio.sh instead of the more common /usr/bin file? Or, I don't know what.. I'm new to all this.
Thanks.
@Fred-Barclay commented on GitHub (Jul 22, 2018):
@laserswift what version of firejail are you running? (You can check with
firejail --version).Also, can you see if it works with
firejail --noprofile /path/to/AndriodStudio?Thanks!
Fred
@ghost commented on GitHub (Jul 22, 2018):
I'm on firejail version 0.9.54.
Wow, am I blind? It mentions to try --noprofile in the damn output. Thanks.
I'm going to close this and just mess around until I get a more restrictive profile than --noprofile, until it works. Thanks again.
Edit: I'm going to leave this open since it's not working with the default profile.
@Fred-Barclay commented on GitHub (Jul 22, 2018):
Just a thought -- can you post how you're calling android studio, and the full terminal output when running it in firejail?
@ghost commented on GitHub (Jul 22, 2018):
Yea, I really am dumb. I have to explicitly point to the android.studio.profile like so:
"$ firejail --profile=/etc/firejail/android-studio.profile /home/user/Android/android-studio/bin/studio.sh"
Otherwise it uses the default.profile which probably doesn't give access to the .AndroidStudio(versionnumber) folder.
I guess I just thought it would automatically use the android.studio profile.
However, um, it says that line 35 here is invalid, so I just deleted that line for now.
Thanks.
@chiraag-nataraj commented on GitHub (Jul 22, 2018):
@laserswift That's because you're using firejail 0.9.54.
private-cachewas added in the current git version, so it's not in the a stable release yet.@Fred-Barclay commented on GitHub (Jul 22, 2018):
@laserswift I've added in a profile redirect so calling
firejail /home/user/Android/android-studio/bin/studio.shshould start it with the correct android studio profile, instead of the default, generic profile. Can you copya83fb9bdf0to /etc/firejail/studio.sh.profile and let me know if the above command works?@ghost commented on GitHub (Jul 23, 2018):
Yep, it works. Thank you.