Re: [android-building] Browser built from android-2.3.7_r1 crashes on device.

41 views
Skip to first unread message

Jean-Baptiste Queru

unread,
Aug 22, 2012, 10:42:05 AM8/22/12
to android-...@googlegroups.com
The Browser uses a lot of private APIs, and as a result it only runs
on the exact platform that it was built with. You have to flash the
entire system, you can't build the browser alone and hope that it'll
run.

JBQ

On Tue, Aug 21, 2012 at 11:38 PM, Mayuresh Chitale <mchi...@gmail.com> wrote:
> Hi,
>
> I have checked out AOSP (branch : android-2.3.7_r1) and built the Android
> browser. I have added the minSDKversion parameter in
> pacakges/apps/Browser/AndroidManifest.xml and set it to 9 to be able to run
> it on my device. The build went fine except for two warnings. The apk gets
> installed on my device but the browser crashes as soon as I launch it.
>
> I wonder if any one has faced a similar problem. Does the browser have
> dependency on something which needs to be updated too?
>
> I am building on ubuntu12.04.
>
> Thanks,
> Mayuresh.
>
> --
> 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



--
Jean-Baptiste M. "JBQ" Queru
Technical Lead, Android Open Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Jean-Baptiste Queru

unread,
Aug 23, 2012, 10:28:30 AM8/23/12
to android-...@googlegroups.com
Not all of them.

Many of the apps are built purely with SDK APIs. Those apps' makefiles
specify which version of the API they use with LOCAL_SDK_VERSION.

A few of the apps don't do that as they need private APIs. Most
notable are Browser (which could potentially get cleaned up) and
Settings (which has little chance of getting cleaned up).

JBQ

On Thu, Aug 23, 2012 at 3:40 AM, Mayuresh Chitale <mchi...@gmail.com> wrote:
> Hi JBQ,
>
> Thanks for your input. Does this apply to all the apps under packages/apps ?
>
> --Mayuresh.
Reply all
Reply to author
Forward
0 new messages