How to install Android platforms on Ubuntu 14.04 64 bit? Android Studio

I am trying to install Android Studio on a 64-bit version of Ubuntu 14.04. However, my installation stops at this point:

enter image description here

How can this be solved? Any suggestions or the decision itself will be rated most highly. Thank you very much for your time.

Edit: Am I on the right track when I assume this has something to do with the lack of 32-bit binaries in the 64-bit version of Ubuntu? I tried to log in as root repeated the installation process, however the problem still persists. What am I doing wrong? Is there an alternative way to install platforms? Also, this is what my terminal says:

[ 26263] ERROR - tRunWizard$SetupProgressStep$1 - platform-tools, tools and 7 more SDK components were not installed com.android.tools.idea.welcome.WizardException: platform-tools, tools and 7 more SDK components were not installed at com.android.tools.idea.welcome.InstallOperation.promptToRetry(InstallOperation.java:109) at com.android.tools.idea.welcome.InstallComponentsOperation.perform(InstallComponentsOperation.java:80) at com.android.tools.idea.welcome.InstallComponentsOperation.perform(InstallComponentsOperation.java:38) at com.android.tools.idea.welcome.InstallOperation$1.compute(InstallOperation.java:80) at com.android.tools.idea.welcome.InstallContext$Wrapper.run(InstallContext.java:127) at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212) at com.android.tools.idea.welcome.ProgressStep.run(ProgressStep.java:167) at com.android.tools.idea.welcome.InstallContext.run(InstallContext.java:77) at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:72) at com.android.tools.idea.welcome.InstallOperation$OperationChain.perform(InstallOperation.java:151) at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:68) at com.android.tools.idea.welcome.InstallOperation$OperationChain.perform(InstallOperation.java:149) at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:68) at com.android.tools.idea.welcome.InstallOperation$OperationChain.perform(InstallOperation.java:149) at com.android.tools.idea.welcome.InstallOperation.execute(InstallOperation.java:68) at com.android.tools.idea.welcome.InstallComponentsPath.runLongOperation(InstallComponentsPath.java:301) at com.android.tools.idea.welcome.FirstRunWizard.doLongRunningOperation(FirstRunWizard.java:126) at com.android.tools.idea.welcome.FirstRunWizard.access$000(FirstRunWizard.java:41) at com.android.tools.idea.welcome.FirstRunWizard$SetupProgressStep$1.run(FirstRunWizard.java:160) at com.android.tools.idea.welcome.FirstRunWizardHost$LongRunningOperationWrapper.run(FirstRunWizardHost.java:432) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:471) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:178) at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:209) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:212) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171) at com.intellij.openapi.progress.impl.ProgressManagerImpl$8.run(ProgressManagerImpl.java:380) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:419) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149) [ 26271] ERROR - tRunWizard$SetupProgressStep$1 - Android Studio 1.1.0 Build #AI-135.1740770 [ 26277] ERROR - tRunWizard$SetupProgressStep$1 - JDK: 1.7.0_75 [ 26277] ERROR - tRunWizard$SetupProgressStep$1 - VM: Java HotSpot(TM) 64-Bit Server VM [ 26277] ERROR - tRunWizard$SetupProgressStep$1 - Vendor: Oracle Corporation [ 26277] ERROR - tRunWizard$SetupProgressStep$1 - OS: Linux [ 26277] ERROR - tRunWizard$SetupProgressStep$1 - Last Action: [ 31892] WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0 
+8
android-studio 64bit
source share
4 answers

Ok, answering my question. I still don’t know why the Android Studio installer does not complete the installation for me, but one way is to manually download all the components you need (or, rather, the components that Android Studio cannot install) by clicking on the link:

 /home/<your-system-name>/Android/Sdk/tools 

and then run the android script shell file.

Use

 sh Android 

and download all the components you need from the SDK manager. Once you're done, run the studio.sh script file:

 /home/<your-system-name>/Documents/android-studio/bin/ 

or from where you extracted Android Studio.

Note that Android Studio can still tell you that some other components cannot be installed, and all you have to do is repeat the process to manually download the components that Android Studio requires and then run studio.sh.

Also, make sure you have the 64-bit version of Oracle Java and the necessary 32-bit executables (as @Archer Riley points out) to complete the installation.

+8
source share

This is because Android Studio needs 32-bit libraries, and your 64-bit version of Linux does not. You can install the 32-bit versions of libs by entering the following command:

 sudo apt-get install libc6-i386 libncurses5:i386 libstdc++6:i386 

and then repeat what you do.

+13
source share

For recent versions of Ubuntu, official documentation recommends this library:

$ sudo apt-get install libc6: i386 libncurses5: i386 libstdc ++ 6: i386 lib32z1

(In older versions of Ubuntu, the command to run was sudo apt-get install ia32-libs).

Source: http://tools.android.com/tech-docs/linux-32-bit-libraries

+2
source share

Before starting. /studio.sh I had to install several 32-bit libraries:

 sudo apt-get install lib32z1 sudo apt-get install lib32ncurses5 sudo apt-get install lib32bz2-1.0 sudo apt-get install lib32stdc++6 

Once they are installed, I was able to complete the installation without an mksdcard error.

+1
source share

All Articles