lunedì 28 marzo 2011

Application install Failed due to INSTALL_FAILED_CONTAINER_ERROR

Recently discovered a new error when installing my application on my G1 (with Froyo 2.2.2)

The eclipse error was:

than I solve it with this steps:

1. Open adb with shell, type:
adb shell
(I get # sing)
NOTE If you get $ sign type:
and you'll become a super user (# sign).
2. Remove the nasty (temp) file
rm /mnt/secure/asec/smdl2tmp1.asec

that's all.

mercoledì 14 luglio 2010

Froyo Build - First Fastboot

Now I'm able to build froyo image, but I have an error flashing it.
The error is :

fastboot update -w
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
Bootloader Version...: 0.95.3000
Baseband Version.....:
Serial Number........: HT91RL(XXXXXX)
checking product... OKAY [ 0.006s]
checking serialno... OKAY [ 0.009s]
checking version-bootloader... OKAY [ 0.012s]
checking version-baseband... FAILED

Device version-baseband is ''.
Update requires ''.

finished. total time: 0.070s

The solution is:
Open the board-info.txt and replace
require version-baseband=
with this
require version-baseband=> 

Happy flashing


lunedì 12 luglio 2010

How to use VirtualBox USB passthrough (Windows host to Ubuntu guest)

I've had some problems with the ADB via VirtualBox USB passthrough. My configuration is: Windows 7 (host) to Ubuntu 10.04 64-bit (guest) and my VirtualBox version is 3.2.6.

This article[^] solve my problem.

Many thanks commandar


venerdì 9 luglio 2010

How to: Install VirtualBox Guest Additions into Ubuntu

If you try to install VirtualBox Guest Additions in Ubuntu 10.04 32-bit or 64-bit, you'll have some problems with administrator privileges.

The fast way is open it with the autorun prompt. The steps are 2.

  1. Install the VirtualBox Guest Additions from the VirtualBox menu. Now in the Ubuntu's Destop you will find the CD link, something like VBOXADDITIONS_XXXX

  2. Right click on the VBOXADDITIONS_XXXX icon on Desktop and select 'Open with Autorun Prompt'. Insert your password.

Wait the end of installation (about one minute) and restart your SO.

Have a nice day

Froyo Build - 64-bit SO is preferred

I found this post on google groups.

Build Error during Make

Where Jean-Baptiste M. "JBQ" Queru said:
Java6 is not available in 32-bit on all platforms. 
Given that all of Google's development and testing happens on builds
created on 64-bit machines, there's some level of risk in letting
device manufacturers use 32-bit environments as we don't know what
happens in those cases. Java6 allows us to standardize on 64-bit and
eliminate that risk.

And I found an Issue that is exactly mine (10 hours ago).
Android Build issue with Ubuntu 10.04

I can't wait the answer I switch to 64 environment.

giovedì 8 luglio 2010

Froyo Build - JDK 6 is the correct version

To build the files you need the java 6. The Android documents are out of date.
This is the error if you build with the java 5
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.5.0_19".
The correct version is: 1.6.

Jean-Baptiste Queru answer to my question: JDK 5 or 6?

So I install JDK 6.0 under Ubuntu 10.04 32 bit with these command-line:

sudo add-apt-repository "deb lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk

Froyo Build - Set bin directory is in your path on Ubuntu 10.04

If you haven't the bin directory is in your path, add it with these commands

  • Open the user .bashrc

    sudo gedit ~/.bashrc

  • Add at the end the bin file this line


  • Save and exit.