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 http://askubuntu.com/questions/318246/complete-installation-guide-for-android-sdk-adt-bundle-on-ubuntu

(1) Run sudo apt-get install libgl1-mesa-dev:i386 to install 32 bit compatible library.
(2) 
(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 Oracle.com at http://www.oracle.com/technetwork/articles/javase/jdk-netbeans-jsp-142931.html(6) 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: http://nbandroid.org/release81/updates/updates.xml 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

No comments:

Post a Comment