How to install Android sdk on RHEL linux with platform and build tools
<p>I am fairly new to android and i need to setup env to build the packages (not develop from a rhel linux machine.</p>

<p>I need to install android sdk on a RHEL linux machine (not ubuntu) where i cant open sdk manager to download the platform tools and build tools. Please let me know if some body has done that. This is required for compilation and build process. The error i am getting while trying to update the platform is there are no available target.</p>

<p>My basic requirement is to set up environment to build and generate the apk package( The code is developed by the developers and my requirement is to just compile and build the packages)</p>

<pre><code>$ android list target  
Available Android targets:
</code></pre>

<hr>

<pre><code>$ android update sdk -u  
Refresh Sources:  
  Fetching https://dl.google.com/android/repository/addons_list-2.xml  
  Fetched Add-ons List successfully  
  Refresh Sources  
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml  
Refresh Sources:  
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml  
Refresh Sources:  
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml  
Refresh Sources:  
  Fetching URL: https://dl.google.com/android/repository/repository-11.xml  
There is nothing to install or update.
</code></pre>