Logo Questions Linux Laravel Mysql Ubuntu Git Menu

Cannot start new project with Android Studio

I just started using Linux Ubuntu, and downloaded and maybe set up Android Studio.

When I launch it, it does successfully, though it took hours to come here. But it gives me now :

Your Android SDK is missing, out of date, or is missing templates. Please ensure you are using SDK version 22 or later. You can configure your SDK via Configure | Project Defaults | Project Structure | SDKs

I tried to do so and at SDKs I added Android SDK. But when I clicked "ok", the prompt was dismissed but nothing happened, that is, not added. I tried "Android SDK" two items below SDKs, because Android SDK was empty. But this time, Apply button and OK button doesn't respond. When I look at command line at the moment this error was being displayed.

[ 550663]  ERROR - llij.ide.plugins.PluginManager - Android Studio (Preview) 0.4.6  Build #AI-133.1028713 
[ 550663]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_05 
[ 550663]  ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) 64-Bit Server VM
[ 550664]  ERROR - llij.ide.plugins.PluginManager - Vendor: Oracle Corporation
[ 550670]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 

It looks like there isn't relavant answer to this. All the questions tend to end with concluding "That's easy. Go Config, project default, project structure, and add Android SDK and Voila! You're good to go." Unfortunately no voila to me, so I here post this.

If anyone has an idea.

like image 772
user3591620 Avatar asked Mar 20 '23 17:03


1 Answers

I have fix this ishue on Ubuntu 14.04, Android Studio 0.8 ::

sudo chmod 775 -R {your path}/android-studio/

In my case Studio were placed in /usr/local/android-studio ::

like image 75
Biosonic Avatar answered Mar 22 '23 05:03