Built but broken browser

20 views
Skip to first unread message

Sean Robert McGuffee

unread,
Jun 19, 2011, 2:33:38 PM6/19/11
to android-...@googlegroups.com
Hi,

I've recently built the android and emulator on snow leopard and all is going very well except the browser does not open. More specifically, it crashes immediately upon trying to launch with the error: "The application (process com.android.browser) has stopped unexpectedly. Please try again."

Googling for the error, I found a few things to try, but nothing has worked for me.
I've tried deleting the contents of the /data/data/com.android.
browser/ directory as was suggested by at least one web page about a solution for some people. However, that didn't help my situation.
I've tried
adb push out/target/product/generic/system/app/Browser.apk /system/app/Browser.apk
and that didn't work for me.

I've tried various lunch builds and they all have the same issue.

I've tried loading the emulator with an sdcard image and that didn't help.

Does anyone have any suggestions?

Also, an interesting tidbit is that from my adb shell I don't seem to have a cp (copy) command although I have rm and mv. I wonder if that has been removed or if I built something incorrectly because I have found posts where people use cp from the adb shell.

If anyone needs my most recent build info:

echo $MACHTYPE
x86_64-apple-darwin10.0

lunch full-eng
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv5te
HOST_ARCH=x86
HOST_OS=darwin
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================

Bruce Beare

unread,
Jun 20, 2011, 3:33:23 PM6/20/11
to Android Building
Plz try the following patch:

diff --git a/libc/private/__dso_handle.S b/libc/private/__dso_handle.S
index a6395dd..5e32813 100644
--- a/libc/private/__dso_handle.S
+++ b/libc/private/__dso_handle.S
@@ -32,7 +32,9 @@
#
.section .bss
.align 4
+#ifndef __arm__
.hidden __dso_handle
+#endif
.globl __dso_handle
__dso_handle:
.long 0


On Jun 19, 11:33 am, Sean Robert McGuffee <sean.mcguf...@gmail.com>
wrote:

Sean Robert McGuffee

unread,
Jun 21, 2011, 9:56:26 PM6/21/11
to android-...@googlegroups.com
Hi,

Thanks for the help.

I'm not sure if I follow those instructions exactly, but I took a
guess at the intention.
To clarify, I only recognized the "diff" part of the command and was
able to find some similar paths.
I wasn't sure if the first line was the full command and if the other
lines were results or if they were part of the command.
Not making anything simpler for me, "--git" does not appear to be an
option for the version of "diff" on my system:
example:
>$diff --git a/libc/private/__dso_handle.S b/libc/private/__dso_handle.S
diff: unrecognized option `--git'

However, I was inspired by the "--git" to imagine that this might have
been comparing a repository version of the __dso_handle.S file to the
version I downloaded.
Thus, I tried re-download everything to see if there were differences
in that file in my previous and new download. However, they were
identical:
example:
for f in $(find ./ -name __dso_handle.S);do echo $f;diff -s $f
../ANDROID_SRM2/$f ;done
.//bionic/libc/private/__dso_handle.S
Files OLD_VERSION/bionic/libc/private/__dso_handle.S and
NEW_VERSION/.//bionic/libc/private/__dso_handle.S are identical

Also, I'm now thinking that I might need a little bit more specific of
of an instruction because I don't follow the meaning of the term
"patch" (not being familiar with how patches work).
I'd be more than happy to learn something about patches though!

Thanks,
Sean

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

Reply all
Reply to author
Forward
0 new messages