Cannot start a new project with Android Studio

I just started using Linux Ubuntu and downloaded and maybe configured Android Studio.

When I run it, it does it successfully, although it took several hours. But this 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 this and in the SDK I added the Android SDK. But when I clicked "OK", the invitation was rejected, but nothing happened, that is, it was not added. I tried the “Android SDK” two elements below the SDK because the Android SDK was empty. But this time, the Apply button and OK button do not respond. When I look at the command line, this error is currently 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 

There seems to be no answer. All questions, as a rule, end with the completion of "It's easy:" Configure the project, the default project, project structure and add the Android SDK and Voila! "You will go well." Unfortunately, there is no presto for me, so I post this here.

If anyone has an idea.

+4
source share
3 answers

I am using Android Studio 5.7 and jdk 7 on Ubuntu 14.04 without problems.

I am not an expert, but I thought you were using the old version for Android and the new version of jdk.

I was looking for:

You are using Android version 0.4.6 based on IntelliJ 13.0 http://tools.android.com/recent/androidstudio050released

IntelliJ JDK 8 13.1

http://blog.jetbrains.com/idea/2014/03/intellij-idea-13-1-released/

, Android Studio 5.0 ( 13.1) JDK 7, , , .

+1

ishue Ubuntu 14.04, Android Studio 0.8::

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

Studio /usr/local/android -studio::

/usr/local/android-studio/android-studio/
+6

, Ubuntu 14.04 Android Studio 0.5.7, Oracle Java 8, Gradle 1.12 Android ADT Bundle 20140321. , Android SDK , .

, ( , Ubuntu..)

export GRADLE_HOME=/opt/DEV/gradle
export JAVA_HOME=/opt/DEV/jdk
export ANDROID_HOME=/opt/DEV/adt-bundle-linux-x86_64-20140321/sdk
export PATH=$PATH:$GRADLE_HOME/bin:$JAVA_HOME/bin:$ANDROID_HOME/tools

  • ( Android Studio, ) Android-, " → ". , Android Studio Android.

  • Android Studio.

  • Java JDK Configure → Project Defaults → → : SDK

  • , Configure → Plugins Android-.

  • Android Studio.

  • Android SDK JDK → → . , , Apply.

  • Android Studio

  • SDK ​​ "", Android.

Android- Android Studio Gradle 1.10. , Gradle, Android Studio .

0

Source: https://habr.com/ru/post/1538816/


All Articles