Thanks, may be Log cannot be used here, as you said.
I will let you know if i figure out how to solve this~

On Feb 16, 7:35 pm, Kostya Vasilyev <[email protected]> wrote:
> Yes, in a way it is:
>
> java.net package is "below" any android.* package in the layer hierarchy.
>
> Fixing it will probably require switching to some other logging facility, but 
> that's just a guess on my part (Android Java runtime just has to have a 
> logging facility that doesn't require importing packages "from above").
>
> But finding this out is again something that this list is not particularly 
> good for.
>
> -- Kostya
>
> 16.02.2011 14:29, ooowjc пишет:
>
>
>
>
>
>
>
>
>
> > yeah, but i think it may just be a fundamental java problem...
>
> > On Feb 16, 7:03 pm, Kostya Vasilyev<[email protected]>  wrote:
> >> Try asking here:
>
> >>http://groups.google.com/group/android-porting
>
> >> The people there actually build the platform and know something about it.
>
> >> -- Kostya
>
> >> 16.02.2011 13:49, ooowjc пишет:
>
> >>> Hi, developers~
> >>> I have a ubuntu containing the complete source code of android OS. I
> >>> would like to see whether the default Browser utilizes "android-x86/
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java"
> >>> so that I put "Log.v( )" and import "android.util.Log" in the
> >>> Inet6Address.java.
> >>> But when I compiled the Browser by using "make Browser", the errors
> >>> occurred:
> >>> =======================================================================
> >>> build/core/base_rules.mk:69: unusual tags systembuilder on badblocks
> >>> at external/e2fsprogs/misc
> >>> target Java: core (out/target/common/obj/JAVA_LIBRARIES/
> >>> core_intermediates/classes)
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:25:
> >>> package android.util does not exist
> >>> import android.util.Log;//wjc modified
> >>>                       ^
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:54:
> >>> cannot find symbol
> >>> symbol  : variable Log
> >>> location: class java.net.Inet6Address
> >>>       Inet6Address(byte address[]) {Log.v("WJC","Inet6Address 54");
> >>>                                     ^
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:60:
> >>> cannot find symbol
> >>> symbol  : variable Log
> >>> location: class java.net.Inet6Address
> >>>       Inet6Address(byte address[], String name)
> >>> {Log.v("WJC","Inet6Address 60");
> >>>                                                  ^
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:78:
> >>> cannot find symbol
> >>> symbol  : variable Log
> >>> location: class java.net.Inet6Address
> >>>       Inet6Address(byte address[], String name, int scope_id)
> >>> {Log.v("WJC","Inet6Address 78");
> >>>                                                                ^
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:103:
> >>> cannot find symbol
> >>> symbol  : variable Log
> >>> location: class java.net.Inet6Address
> >>>               int scope_id) throws UnknownHostException
> >>> {Log.v("WJC","Inet6Address 103");
> >>>                                                          ^
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:133:
> >>> cannot find symbol
> >>> symbol  : variable Log
> >>> location: class java.net.Inet6Address
> >>>               NetworkInterface nif) throws UnknownHostException
> >>> {Log.v("WJC","Inet6Address 133");
> >>>                                                                  ^
> >>> dalvik/libcore/luni/src/main/java/java/net/Inet6Address.java:200:
> >>> cannot find symbol
> >>> symbol  : variable Log
> >>> location: class java.net.Inet6Address
> >>>       Inet6Address(byte address[], int scope_id)
> >>> {Log.v("WJC","Inet6Address 200");
> >>>                                                   ^
> >>> Note: Some input files use or override a deprecated API.
> >>> Note: Recompile with -Xlint:deprecation for details.
> >>> Note: Some input files use unchecked or unsafe operations.
> >>> Note: Recompile with -Xlint:unchecked for details.
> >>> 7 errors
> >>> make: *** [out/target/common/obj/JAVA_LIBRARIES/core_intermediates/
> >>> classes-full-debug.jar] Error 41
> >>> =======================================================================
> >>> Any one could provide me a hint how to solve this problem? Thanks in
> >>> advanced! ; )
> >> --
> >> Kostya Vasilyev --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to