IdleSun's Weblog

June 18, 2010

Getting Android source in Ubuntu 10.04

Filed under: Android,Ubuntu — idlesun @ 8:38 pm

While I was following the Android instruction I ran into a couple of difficulties. So here is the list of them with how I resolved.

Forcing WUBI to install 32bit version.

I used Ubuntu Windows Installer (WUBI). It really simplified Windows-Ubuntu dual-boot setup. However, on my desktop it automatically choose 64bit Ubuntu without asking me. According to Android instruction 32-bit Ubuntu is preferred. So, I had to use command line option to install 32-bit Ubuntu using WUBI. From Windows command prompt, run

> wubi.exe --32bit

For more on WUBI: Wubi Guide.

Couldn’t find package git-core

Right after Ubuntu installation, if you follow Android instruction to install required packages then this error may occur. Then run this:

> sudo apt-get update

Couldn’t find package sun-java5-jdk

This will occur because Ubutu 10 comes with jdk 6. I followed the instruction on http://zebardast.ir/en/installing-sun-jdk-5-on-ubuntu-9-10-and-10-04/.

Making sure PATH includes ~/bin

Once ~/bin is created, at home run:

> source .profile
> echo $PATH

Now, following Android instruction was good enough to finish the task.

Advertisements

1 Comment »

  1. It’s very effortless to find out any matter on net as compared to textbooks,
    as I found this paragraph at this site.

    Comment by web page — October 28, 2014 @ 2:45 pm | Reply


RSS feed for comments on this post. TrackBack URI

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

Create a free website or blog at WordPress.com.

%d bloggers like this: