Sunday, June 5, 2016

Installing NetBeans and Android SDK on Ubuntu

I had many issues in developing Google Map application using Fatdog64+NetBeans+AndroidSDK, so I try another option: Ubuntu64+NetBeans+AndroidSDK following instructions at

(1) Run sudo apt-get install libgl1-mesa-dev:i386 to install 32 bit compatible library.
(3)Download Android SDK for linux (android-sdk_r24.4.1-linux.tgz and run tar xvzf android-sdk_r24.4.1-linux.tgz to install the package.
(4) Add PATH DEFAULT=${PATH}:android-sdk-folder/tools and PATH DEFAULT=${PATH}:android-sdk-folder/platform-tools and export ANDROID_HOME=android-sdk-folder and export ANDROID_SDK_HOME=android-sdk-folder in the ~/.pam_environment file.
(5) Download and install the JDK NetBeans bundle from at Run the installed NetBeans at  /usr/local/netbeans-8.1/bin, use menu Tools|Plugins|Settings (select the Setting tab) and add a new update center with the Add button: for NetBeans 8.1+ 
 (7) Add PATH DEFAULT=${PATH}:/usr/local/jdk1.8.0_91/bin to ~/.pam_environement file, reboot and run android to install Android SDK packages