Ubuntu 14.04 LTS 64bit setup

Since my laptop is old(early 2008 macbook), I had to find a decent development environment. My solution(?) is install ubuntu on SSD.

I bought Samsung SSD 840 evo 120 gb (90 000 wons – 65 euros). Since my mac supports SATA1, I cannot get the full benefit of using SSD but still I try. YOU NEED A “GUIDE” TO INSTALL THE SSD ON THE MAC.

https://i1.wp.com/img.danawa.com/images/descFiles/3/258/2257929_1_1352126352.JPGThis is a guide

Installing SSD and ubuntu is super easy.

Java and eclipse ADT installation

summary:


sudo add-apt-repository ppa:webupd8team/java

sudo apt-get install oracle-java7-installer

sudo apt-get install oracle-java7-set-default

java -version  <== This checks your installed java

about:plugins  <== Type this at the address bar in a browser

sudo apt-get install lib32stdc++6 lib32z1 lib32z1-dev  <== You need this to install 32 bit libraries for ADT  

Go here: http://developer.android.com/sdk/installing/index.html  and install Eclipse ADT. I’ve installed Eclipse and SDK separately and that tends to cause problems from time to time.

Move the extracted files to “~/AndroidTools” and from here read: http://askubuntu.com/questions/318246/complete-installation-guide-for-android-sdk-adt-bundle-on-ubuntu

summary:


cd ~/AndroidTools/adt-bundle-linux-x86_64-20140624/sdk/tools

./android  <== This will run Android SDK manage 

Now you have to edit “.bashrc” file


gedit ~/.bashrc

## Add the following two to the top of the text file.

export PATH=${PATH}:~/android-sdk-linux/tools

export PATH=${PATH}:~/android-sdk-linux/platform-tools

I don’t use AVD because it’s really slow, instead I use genymotion. It’s way faster than AVD. For installation read this.

summary:


chmod +x genymotion-2.0.0_x64.bin

./genymotion-2.0.0_x64.bin

mv genymotion ~/.genymotion

echo 'export PATH="/home/$USER/.genymotion:$PATH"' >> ~/.bashrc

Also download Eclipse Genymotion plugin.

If you’d like to optimize Eclipse, read this, or summary:

modify your entire ecliplse.ini(it’s in the eclipse directory) file as:

-Xverify:none 
-XX:+UseParallelGC
-XX:-UseConcMarkSweepGC
-XX:PermSize=64M
-XX:MaxPermSize=512M
-XX:MaxNewSize=512M
-XX:NewSize=128M
-Xms512m
-Xmx5122m

Korean Language Issue

read this or summary: Go to “system manager” -> “text entry” -> and then add Korea(Hangul).


sudo apt-get install dconf-editor

dconf-editor  ## This will run dconf-editor

On the left menu tree: org > gnome > desktop > wm > keybindings.

at “switch-input-source”, modify  [‘<Control>space’] as [‘Hangul’].

Now you can switch between English and Korea by <Control> + <Space>.

WARNING – dconf-editor only works on Ubuntu 14.04

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: