Problem installing Android Studio on 32-bit lubuntu

0

I installed the light version of ubuntu of 32 bits, lubuntu in an old notebook. I'm trying to install Android Studio and I get the error:

"Unable to run mksdcard SDK tool. One common reason for this failure is missing Please fix the underlying issue and retry. "

In the documentation of the installation, he mentions that if you use a 64-bit version you need certain libraries. However, I have 32-bit lubuntu. I do the check with the command uname -a that returns:

Linux user-Dell 4.13.0-37-generic # 42-Ubuntu SMP Wed Mar 7 14:12:29 UTC 2018 i686 i686 i686 GNU / Linux

I try however to install the libraries:

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

And it returns, also when adding: i386 to the packages:

E: The lib32z1 package could not be located E: The lib32ncurses5 package could not be located E: The lib32bz2-1.0 package could not be located E: Could not find any package using «*» with «lib32bz2-1.0» E: Could not find any package with the regular expression "lib32bz2-1.0" E: The lib32stdc ++ 6 package could not be located E: Could not find any package with the regular expression "lib32stdc ++ 6"

What could be the problem?

    
asked by Universal_learner 21.03.2018 в 16:05
source

1 answer

0

I solved it in the following way:

I cancel the error and the program opens.

Give error with the path of the jdk.

I thought that was not the solution, but as in other similar questions I'm going to Project Settings.

I locate my jdk with the command

sudo update-alternatives --config java

There are 2 options for the alternative java (which provides / usr / bin / java).

0 / usr / lib / jvm / java-8-oracle / jre / bin / java 1081
  1 / usr / lib / jvm / java-8-openjdk-i386 / jre / bin / java 1081
* 2 / usr / lib / jvm / java-8-oracle / jre / bin / java 1081

and in project settings the default path of the jdk is replaced by:

/ usr / lib / jvm / java-8-oracle

This way the graddle synchronization works and it works, so I think the problem is solved.

    
answered by 21.03.2018 в 16:53