What does New AOSP PLATFORM_VERSION mean?

581 views
Skip to first unread message

Kerr

unread,
Jun 15, 2011, 10:02:47 AM6/15/11
to android-platform
I donwloaded the newest AOSP and make, display following:
============================================
PLATFORM_VERSION_CODENAME=AOSP
PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
... ...
============================================
Especially, what is the new PLATFORM_VERSION number mean, it is not
the same as before?

By the way, after build, the libwebcore.so can not be loaded
successful, what ever in SDK or other product such as crespo_full.
Because libwebcore.so can not be loaded, so the framework Linkfy will
crash wherever used such as Broswer, SMS, etc.

Could someone explain the principle reason for that?

Browser crash log as following:
===========================================
E/AndroidRuntime( 535): FATAL EXCEPTION: WebViewCoreThread
E/AndroidRuntime( 535): java.lang.UnsatisfiedLinkError:
nativeConstructor
E/AndroidRuntime( 535): at
android.webkit.JWebCoreJavaBridge.nativeConstructor(Native Method)
E/AndroidRuntime( 535): at
android.webkit.JWebCoreJavaBridge.<init>(JWebCoreJavaBridge.java:60)
E/AndroidRuntime( 535): at
android.webkit.BrowserFrame.<init>(BrowserFrame.java:192)
E/AndroidRuntime( 535): at
android.webkit.WebViewCore.initialize(WebViewCore.java:190)
E/AndroidRuntime( 535): at android.webkit.WebViewCore.access
$500(WebViewCore.java:53)
E/AndroidRuntime( 535): at android.webkit.WebViewCore$WebCoreThread
$1.handleMessage(WebViewCore.java:614)
E/AndroidRuntime( 535): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 535): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 535): at android.webkit.WebViewCore
$WebCoreThread.run(WebViewCore.java:633)
E/AndroidRuntime( 535): at java.lang.Thread.run(Thread.java:1019)




SMS crash log as following:
============================================
E/AndroidRuntime( 316): android.view.InflateException: Binary XML
file line #45: Error inflating class <unknown>
E/AndroidRuntime( 316): at
android.view.LayoutInflater.createView(LayoutInflater.java:518)
E/AndroidRuntime( 316): at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
56)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.inflate(LayoutInflater.java:408)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 316): at
com.android.mms.ui.MessageListAdapter.newView(MessageListAdapter.java:
255)
E/AndroidRuntime( 316): at
android.widget.CursorAdapter.getView(CursorAdapter.java:182)
E/AndroidRuntime( 316): at
android.widget.AbsListView.obtainView(AbsListView.java:1430)
E/AndroidRuntime( 316): at
android.widget.ListView.makeAndAddView(ListView.java:1745)
E/AndroidRuntime( 316): at
android.widget.ListView.fillSpecific(ListView.java:1290)
E/AndroidRuntime( 316): at
android.widget.ListView.layoutChildren(ListView.java:1588)
E/AndroidRuntime( 316): at
android.widget.AbsListView.onLayout(AbsListView.java:1260)
E/AndroidRuntime( 316): at android.view.View.layout(View.java:7176)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
E/AndroidRuntime( 316): at android.view.View.layout(View.java:7176)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
E/AndroidRuntime( 316): at android.view.View.layout(View.java:7176)
E/AndroidRuntime( 316): at
android.widget.FrameLayout.onLayout(FrameLayout.java:338)
E/AndroidRuntime( 316): at android.view.View.layout(View.java:7176)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.setChildFrame(LinearLayout.java:1254)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.layoutVertical(LinearLayout.java:1130)
E/AndroidRuntime( 316): at
android.widget.LinearLayout.onLayout(LinearLayout.java:1047)
E/AndroidRuntime( 316): at android.view.View.layout(View.java:7176)
E/AndroidRuntime( 316): at
android.widget.FrameLayout.onLayout(FrameLayout.java:338)
E/AndroidRuntime( 316): at android.view.View.layout(View.java:7176)
E/AndroidRuntime( 316): at
android.view.ViewRoot.performTraversals(ViewRoot.java:1145)
E/AndroidRuntime( 316): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1865)
E/AndroidRuntime( 316): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 316): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 316): at
android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 316): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 316): at
java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 316): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 316): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 316): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 316): Caused by:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 316): at
java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 316): at
java.lang.reflect.Constructor.newInstance(Constructor.java:415)
E/AndroidRuntime( 316): at
android.view.LayoutInflater.createView(LayoutInflater.java:505)
E/AndroidRuntime( 316): ... 41 more
E/AndroidRuntime( 316): Caused by: java.lang.UnsatisfiedLinkError:
nativeFindAddress
E/AndroidRuntime( 316): at
android.webkit.WebViewCore.nativeFindAddress(Native Method)
E/AndroidRuntime( 316): at
android.webkit.WebView.findAddress(WebView.java:2934)
E/AndroidRuntime( 316): at
android.webkit.WebView.findAddress(WebView.java:2908)
E/AndroidRuntime( 316): at
android.text.util.Linkify.gatherMapLinks(Linkify.java:451)
E/AndroidRuntime( 316): at
android.text.util.Linkify.addLinks(Linkify.java:230)
E/AndroidRuntime( 316): at
android.widget.TextView.setText(TextView.java:2681)
E/AndroidRuntime( 316): at
android.widget.TextView.setText(TextView.java:2614)
E/AndroidRuntime( 316): at
android.widget.TextView.<init>(TextView.java:923)
E/AndroidRuntime( 316): at
android.widget.TextView.<init>(TextView.java:343)


Kerr

unread,
Jun 15, 2011, 10:06:11 AM6/15/11
to android-platform
By the way, I build this on Mac 10.6 OS.

Jean-Baptiste Queru

unread,
Jun 15, 2011, 10:36:13 AM6/15/11
to android-...@googlegroups.com
The version is an arbitrary string. It was saying "AOSP" until
recently. However, since it's part of the browser user-agent and some
sites expect the version to be a dot-separated number, I gave it that
format, in a way that is still instantly recognizable as not being
"real".

I've started to see those browser crashes on Monday, but I don't know
how long they've been there. I need to investigate.

JBQ

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

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, 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.

Scott

unread,
Jun 15, 2011, 11:13:14 AM6/15/11
to android-...@googlegroups.com

That's a nice platform number.

Kerr Yuandan

unread,
Jun 15, 2011, 10:20:31 PM6/15/11
to android-...@googlegroups.com
For your reference, I use crespo_full on Nexus S, and when the system startup, the log display
"Unnable to load webcore library", due to this, any application which use WebView, Linkfy class will not work correctly, not only for Browser, but also MMS(When view message body).

Good luck!

Kerr Yuandan

unread,
Jun 15, 2011, 10:21:00 PM6/15/11
to android-...@googlegroups.com
Yes, Pie is good remember.

Jean-Baptiste Queru

unread,
Jun 16, 2011, 10:43:28 AM6/16/11
to android-...@googlegroups.com
I've investigated that issue yesterday, and I've identified the change
that caused this to break. I'm working with the original authors of
that change to get a fix quickly. Sorry about that. I'm amazed that it
seemed to go unnoticed for several weeks.

JBQ

주성 김

unread,
Jun 16, 2011, 7:51:28 PM6/16/11
to android-platform
I have same problem too.
If you fix it, please let me know how to fix.
thank you

On 6월16일, 오후11시43분, Jean-Baptiste Queru <j...@android.com> wrote:
> I've investigated that issue yesterday, and I've identified the change
> that caused this to break. I'm working with the original authors of
> that change to get a fix quickly. Sorry about that. I'm amazed that it
> seemed to go unnoticed for several weeks.
>
> JBQ
>
>
>
>
>
>
>
> On Wed, Jun 15, 2011 at 7:20 PM, Kerr Yuandan <yuanda...@gmail.com> wrote:
> > For your reference, I use crespo_full on Nexus S, and when the system
> > startup, the log display
> > "Unnable to load webcore library", due to this, any application which use
> > WebView, Linkfy class will not work correctly, not only for Browser, but
> > also MMS(When view message body).
> > Good luck!
> > On Wed, Jun 15, 2011 at 10:36 PM, Jean-Baptiste Queru <j...@android.com>
> > wrote:
>
> >> The version is an arbitrary string. It was saying "AOSP" until
> >> recently. However, since it's part of the browser user-agent and some
> >> sites expect the version to be a dot-separated number, I gave it that
> >> format, in a way that is still instantly recognizable as not being
> >> "real".
>
> >> I've started to see those browser crashes on Monday, but I don't know
> >> how long they've been there. I need to investigate.
>
> >> JBQ
>
> >> On Wed, Jun 15, 2011 at 7:06 AM, Kerr <yuanda...@gmail.com> wrote:
> >> > By the way, I build this on Mac 10.6 OS.
>
> >> > On Jun 15, 10:02 pm, Kerr <yuanda...@gmail.com> wrote:
> >> >> I donwloaded the newest AOSP and make, display following:
> >> >> ============================================
> >> >> PLATFORM_VERSION_CODENAME=AOSP
> >> >> PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
> >> >> ... ...
> >> >> ============================================
> >> >> Especially, what is the new PLATFORM_VERSION number mean, it is not
> >> >> the same as before?
>
> >> >> By the way, after build, thelibwebcore.socan not be loaded
> >> >> successful, what ever in SDK or other product such as crespo_full.
> >> >> Becauselibwebcore.socan not be loaded, so the framework Linkfy will
> ...
>
> 추가 정보 >>

Jean-Baptiste Queru

unread,
Jun 16, 2011, 8:43:27 PM6/16/11
to android-...@googlegroups.com
Here's a temporary workaround:

repo forall platform/bionic -c git checkout
dc3bc87b43d0d73d89cca59692b80de878e11a5d^ libc/private/__dso_handle.S

JBQ

2011/6/16 주성 김 <din...@gmail.com>:

주성 김

unread,
Jun 16, 2011, 9:26:32 PM6/16/11
to android-platform
Thank you for your reply
It works well :)

On 6월17일, 오전9시43분, Jean-Baptiste Queru <j...@android.com> wrote:
> Here's a temporary workaround:
>
> repo forall platform/bionic -c git checkout
> dc3bc87b43d0d73d89cca59692b80de878e11a5d^ libc/private/__dso_handle.S
>
> JBQ
>
> 2011/6/16 주성 김 <dinc...@gmail.com>:
> ...
>
> 추가 정보 >>

Yusuf

unread,
Jul 2, 2011, 11:05:08 AM7/2/11
to android-platform
Stupid question but how can i now tell what the version on the device
is? Also if i have the android source tree downloaded where would i
find the version information?

Thanks,

Yusuf

On Jun 15, 7:36 pm, Jean-Baptiste Queru <j...@android.com> wrote:
> The version is an arbitrary string. It was saying "AOSP" until
> recently. However, since it's part of the browser user-agent and some
> sites expect the version to be a dot-separated number, I gave it that
> format, in a way that is still instantly recognizable as not being
> "real".
>
> I've started to see those browser crashes on Monday, but I don't know
> how long they've been there. I need to investigate.
>
> JBQ
>
>
>
>
>
>
>
>
>
> On Wed, Jun 15, 2011 at 7:06 AM, Kerr <yuanda...@gmail.com> wrote:
> > By the way, I build this on Mac 10.6 OS.
>
> > On Jun 15, 10:02 pm, Kerr <yuanda...@gmail.com> wrote:
> >> I donwloaded the newest AOSP and make, display following:
> >> ============================================
> >> PLATFORM_VERSION_CODENAME=AOSP
> >>PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
> >> ... ...
> >> ============================================
> >> Especially, what is thenewPLATFORM_VERSIONnumber mean, it is not
> > For more options, visit this group athttp://groups.google.com/group/android-platform?hl=en.

Jean-Baptiste Queru

unread,
Jul 6, 2011, 10:39:30 AM7/6/11
to android-...@googlegroups.com
In the source tree:

build/core/build_id.mk
build/core/version_defaults.mk

JBQ

> For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.

Morpheus

unread,
Aug 3, 2011, 8:49:20 AM8/3/11
to android-platform
Hi,
I tried your suggestion and although the "repo forall platform/bionic -
c git checkout ...__dso_handle.S" worked fine - nothing was changed.
I compiled the tree again and nothing was changed.
Moreover -seems as the build had nothing changed to compile...

Am I missing something?
Thanks for your help!

On Jun 17, 3:43 am, Jean-Baptiste Queru <j...@android.com> wrote:
> Here's a temporary workaround:
>
> repo forall platform/bionic -c git checkout
> dc3bc87b43d0d73d89cca59692b80de878e11a5d^ libc/private/__dso_handle.S
>
> JBQ
>
> 2011/6/16 주성 김 <dinc...@gmail.com>:
> ...
>
> read more >>

Morpheus

unread,
Aug 3, 2011, 8:52:24 AM8/3/11
to android-platform
I tried the "repo forall platform/bionic -c git checkout
dc3bc87b43d0d73d89cca59692b80de878e11a5d^ libc/private/__dso_handle.S
" suggestion but it didn't help.
Calling make again didn't make any difference.
Am I missing something?

Thanks for you help!
> ...
>
> read more >>

Jean-Baptiste Queru

unread,
Aug 3, 2011, 11:16:32 AM8/3/11
to android-...@googlegroups.com
You need to make a clean build.

I ran the browser earlier this week without a problem, so I'm
confident that the issue was solved.

JBQ

2011/8/3 Morpheus <ami...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages