Ask Your Question
0

Trying to run Android Studio on Fedora 23 - Couldn't find existing SDK

asked 2016-04-04 09:26:39 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

:~/android-studio/bin$ sudo sh studio.sh [sudo] password for aurelien: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0 [ 13741] WARN - dea.updater.SdkComponentSource - Couldn't find existing SDK

same without sudo

same with: JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-1.b03.fc23.x86_64/ sh studio.sh

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-04-05 01:44:16 -0500

cialu gravatar image

Android Studio installation on Fedora not ever went fine. At any install, I got different issues.

To save me time, I wrote some steps to perform a right installation on Fedora system. If you need, you can find it on my GitHub at Android-Studio-Fedora.

edit flag offensive delete link more
0

answered 2016-04-04 10:53:29 -0500

genodeftest gravatar image
  1. Android studio is a GUI application, right? You should never start GUI applications with sudo or as root, this is very dangerous to your system because it is easy to get elevated privileges with that. And you could accidentally override your personal data with data owned by root in your home directory.

  2. Your version of android studio is broken and using technology that was removed from Java 8: the "MaxPermSize" switch. Try updating android studio. If that still doesn't help, file a bug at android SDK. You could try finding a file with ending ".ini" and open it with an editor. It should contain a line "MaxPermSize=350m", you can safely remove this line.

  3. The error message is because your installation is broken. Can you try reinstall android SDK?

edit flag offensive delete link more

Comments

This is the last version from google. Thanks for the sudo information I have also get the last jdk from oracle but same :-/

aurelien gravatar imageaurelien ( 2016-04-04 11:03:53 -0500 )edit

no file contain that line. -- mode: grep; default-directory: "~/android-studio/" -- Grep started at Mon Apr 4 18:23:35

find . -type f -exec grep --color -nH -e Max-PermSize {} +

Grep finished with no matches found at Mon Apr 4 18:24:07

aurelien gravatar imageaurelien ( 2016-04-04 11:24:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-04-04 09:26:39 -0500

Seen: 1,022 times

Last updated: Apr 05 '16