[Android] arnabJ:
Setting up a perfect user friendly build environment

WORK ENVIRONMENT SETUP GUIDE
​

WINDOWS OS

​

1ST OF ALL MAKE SURE TO HAVE A LOT OF FREE SPACE IN LOCAL DISK C. [REASON : ALL YOUR TOOLS ARE GONNA STAY THERE FOR THE DEVELOPMENT PROCEDURE.]

SETUP 1: COMPLETE SETUP

IF YOU HAVE FOLLOWED ALL THESE STEPS CORRECTLY THEN U SHOULD HAVE SET UP A PERFECT COMPLETE WORKING ENVIRONMENT FOR YOURSELF. IF NOT THAN FOLLOW THE STEPS AGAIN IN THEIR ORDER. IF STILL U GOT STUCK SOMEWHERE FELL FREE TO POST ABOUT WHERE U GOT STUCK OR WAT U R NOT ABLE TO UNDERSTAND. JUST NOT POST CANT DO OR ITS TO HARD OR ANYTHING LIKE THAT.

SETUP 2: ROM COOKING SETUP

SETUP 3: APP MAKING SETUP

SETUP 4: APP MODDING/EDITING SETUP

==========================================================================================================================

LINUX DISTRO : UBUNTU

​

GUYS PLZ FOLLOW THESE STEPS TO SUCCESSFULLY ROOT YOUR UBUNTU:

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to create a root password.

Next, run the commands below to enable root login in Ubuntu 12.10:

THEN TYPE:

THEN FOLLOW THE ONSCREEN INSTRUTION.

NOW THE LOGIN PART.

TO SUCCESSFULLY BOOT INTO ROOT USER ACCOUNT RESTART YOUR PC/LAPTOP AND WAIT FOR THE PC TO SLEEP. NOW REACTIVATE IT. WHEN ASKED FOR PASSWORD SELECT DIFFERENT USER ACCOUNT N PUT root AS USERNAME n UR ROOT PASSWORD N LOGIN.

SEE ATTACHMENTS FOR PICS

HERE ARE THE VIDEO TUTORIALS TO SET UP WORKING ENVIRONMENT ON UBUNTU:

VIDEO-1 | VIDEO-2 | VIDEO-3

SETUP ANDROID SDK:

Download the SDK.

Right-click and select Extract Here.

Move the contents of the android-sdk-linux_x86-1.5_r3 directory to your desired location.

Close directory window.

Using your favorite text editor, open the .mycshrc file in your home directory.

Add the following text to the end of the file:

set path=($path <android_sdk_dir>/tools)

set path=($path <android_sdk_dir>/platform-tools

Open up a terminal, navigate to your home directory and execute the following command:

source .mycshrc

INSTALL JAVA DEVELOPMENT KIT 6[JDK-6]

STEPS:

OPEN THE TERMINAL WINDOW

TYPE N HIT ENTER:

NOW TYPE N PRESS ENTER:

OPEN UP YOUR SYNAPTIC PACKAGE MANAGER AND DO A SEARCH FOR JRE OR ANY JAVA RELATED PACKAGES N IF YOU FOUND ANY THEN UNINSTALL THEM.

ONCE YOU MAKE SURE THAT YOUR SYSTEM IS CLEANED OF ANY JAVA PACKAGE, DOWNLOAD THE SCRIPT FROM HERE : DOWNLOAD SCRIPT

ONCE YOU HAVE DOWNLOADED THE SCRIPT FROM THE ABOVE GIVEN LINK, YOU WILL NEED TO ENABLE THE EXECUTING PERMISSION BIT. SO CHANGE YOUR DIRECTORY TO WHEREVER YOU HAVE DOWNLOADED THE SCRIPT N THEN IN TERMINAL WINDOW TYPE THE CODE BELOW N HIT ENTER:

NOTE:

AFTER "./" YOU WILL HAVE TO WRITE THE NAME OF THE DOWNLOADED SCRIPT.

THEN IN THE TERMINAL WINDOW RUN THE SCRIPT WITH THE FOLLOWING CODE:

NOTE:

AFTER "./" YOU HAVE TO PUT THE NAME OF THE SCRIPT.

ABOUT ALL THESE STEPS:

THESE STEPS HELP YOU BUILD PACKAGES FOR YOUR SYSTEM AND PLACE THEM IN LOCAL REPOSITORY FOR apt-get TO INSTALL THEM. THIS BYPASSES JAVA ANAL RETENTIVE LICENSING BULL SQUASH.

SO, NOW YOU NEED TO INSTALL IT WITH THE HELP OF FOLLOWING CODE:

WAIT FOR IT TO FINISH INSTALLING.

TO ENSURE YOUR VERSION IS CORRECT RUN THIS CODE:

YOU SHOULD GET AN OUTPUT SIMILAR TO:

THIS GUIDE ON JAVA INSTALLATION WORKS ON: Precise/Mint-Maya/Ubuntu.

INSTALL JAVA ON 64BIT UBUNTU.[GUIDE BY THE AWESOME dsixda- THE CREATOR OF REVOLUTIONARY ANDROID KITCHEN.][EDITED BY ME FOR NEW COMERS]

STEPS:

OPEN TERMINAL WINDOW BY PRESSING : CTRL + ALT + T

TYPE THE FOLLOWING CODE TO INSTALL 32BIT libs SO THAT YOU CAN INSTALL JAVA IN 64BIT.

OPEN UBUNTU SOFTWARE CENTER[UBUNTU MARKET].

CLICK ON THE SEARCH OPTION N SEARCH FOR JAVA

YOU WILL GET A HELL[SORRY IF U MIND THIS WORD] LOT OF SEARCH RESULTS.

IN THE LIST LOOK FOR "OpenJDK Java Runtime" N CLICK INSTALL.

AFTER THE INSTALLATION FINISHES, OPEN UP TERMINAL WINDOW AGAIN N RUN THE FOLLOWING CODE TO CONFIRM THAT JAVA HAS BEEN INSTALLED SUCCESSFULLY:

CREDITS

the1dynasty FOR THE UBUNTU ENVIRONMENT SETUP VIDEOS.

wddglr FOR THE GUIDE TO SETUP SDK On linux.

who_ohw FOR THE GUIDE TO INSTALL JDK IN A LINUX DISTRO.

dsixda FOR HIS GUIDE TO INSTALL JAVA IN A SYSTEM RUNNING 64BIT UBUNTU

LAST BUT NOT THE LEAST TO ME FOR THE GUIDE ITSELF.

Please press the thanxxx button if this post/thread helped you even a bit. Be generous n donate to help me n to praise my hard work.