Tuesday, June 12, 2012

[Solved]Package sun-java6-jdk is not available, but is referred to by another package.

Problem: Package sun-java6-jdk is not available, but is referred to by another package.

Reason: The sun-java6-jdk is no longer in ubuntu's main repository, or in canonical-archive repository, (which you are suggested on Android website.)

Solution: Use ppa

Command:

                   sudo add-apt-repository ppa:ferramroberto/java
                   sudo apt-get update
                   sudo apt-get install sun-java6-jdk

Switch between different versions of jdk
                   sudo update-alternatives --config java

Then choose the one you'd like.

Enjoy!

Xdin Android Blog: The Android boot process from power on

Xdin Android Blog: The Android boot process from power on: Since mobile platforms and embedded systems has some differences compared to Desktop systems in how they initially start up and boot this po...

Monday, June 11, 2012

[Solved]bash: ./adb: No such file or directory

Problem: bash: ./adb: No such file or directory

Solution: install ia32-libs
PS: If this does not help, install ia32-libs-multiarch as well.

Monday, June 4, 2012

[Solved]Android SDK installation failed

Problem:
Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: Connection to https://dl-ssl.google.com refused


Solution:
Open Android SDK Manager, Tools->Optioins->Force https to http.

Friday, June 1, 2012

[Solved]Failed to download package files error

Problem: In ubuntu 11.10,  I cannot update any software with the error message "failed to download package files". 


Solution:

Press ALT+F2 and type software-properties-gtk.
Change the download location to Main Server or another server close to the country you live in and try to sudo apt-get update again.
enter image description here




Sunday, January 8, 2012

Set LD_LIBRARY_PATH Permanently

1. Add a new file named yourlib.conf to the directory /etc/ld.so.conf/. In that file, add a simple line like this
/home/youraccount/libs/                   (directory in which your library is located)

2. run command "ldconfig -v" to make programs find all new linked libraries.

3. Done!