title: Android Studio Installation -Unable to run mksdcard SDK tool. on 32 bit Ubuntu 12.10
body: <p>So, I am trying to install Android Studio in </p>
  
  <blockquote>
    <p><strong>OS : UBUNTU 12.10, 32 bit</strong>.</p>
  </blockquote>
  
  <p>And I tried installing it for 3-4 times each time it got stuck due to slow internet connection and showing <strong>Connection Lost</strong> in the terminal.</p>
  
  <p>Now , this time when I again did </p>
  
  <blockquote>
    <p><strong>./studio.sh</strong></p>
  </blockquote>
  
  <p>it shows </p>
  
  <blockquote>
    <p><strong>Unable to run mksdcard SDK tool.
    One common reason for this failure is missing required libraries
    Please fix the underlying issue and retry.</strong></p>
  </blockquote>
  
  <p>I saw various posts which shows this occurs in 64 bit OS and installing libraries using </p>
  
  <blockquote>
    <p><strong>sudo apt-get install ia32-libs</strong></p>
  </blockquote>
  
  <p>or</p>
  
  <blockquote>
    <p>sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6</p>
  </blockquote>
  
  <p>will install required 32 bit libraries , but I am already on a 32 bit OS .</p>
  
  <p>and when I try above command , I get </p>
  
  <blockquote>
    <p>E: Package 'ia32-libs' has no installation candidate.</p>
  </blockquote>
  
  <p>Software center also shows negative result:
  <img src="https://i.stack.imgur.com/77yYX.png" alt="enter image description here"></p>
  
  <p>So, the point is has anyone came across this in a 32 bit UBUNTU 12.10 OS .
  Any workaround will be greatly appreciated .</p>
  
  <p><strong>Edit 1</strong>
  Output when I try to install mentioned libraries for Ubuntu.</p>
  
  <blockquote>
    <p>yogeshwardancharan@ubuntu:~/Android/Sdk/tools$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
    Reading package lists... Done
    Building dependency tree<br>
    Reading state information... Done
    Package lib32bz2-1.0 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source</p>
    
    <p>Package lib32ncurses5 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source</p>
    
    <p>Package lib32stdc++6 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source</p>
    
    <p>Package lib32z1 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source</p>
    
    <p>E: Package 'lib32z1' has no installation candidate
    E: Package 'lib32ncurses5' has no installation candidate
    E: Package 'lib32bz2-1.0' has no installation candidate
    E: Package 'lib32stdc++6' has no installation candidate</p>
  </blockquote>
  
  <p>In above output it is mentioned that package may be available from another source ...can someone please help , what that source may be ?</p>
  
  <p>Is it possible to compile these libraries from source . If so , how can I do it ?</p>
  
  <p>Thanks.</p>