hi, i  got rid of the javac error, for that i needed to install the
jdk.1.5 and set its path in PATH. but i am getting some other error

Install: out/host/linux-x86/bin/atree
host C++: bb2sym <= development/emulator/qtools/bb2sym.cpp
host C++: bb2sym <= development/emulator/qtools/trace_reader.cpp
development/emulator/qtools/trace_reader.cpp: In function ‘char*
ExtractDexPathFromMmap(const char*)’:
development/emulator/qtools/trace_reader.cpp:1012: error: invalid
conversion from ‘const char*’ to ‘char*’
development/emulator/qtools/trace_reader.cpp:1015: error: invalid
conversion from ‘const char*’ to ‘char*’
make: *** [out/host/linux-x86/obj/EXECUTABLES/bb2sym_intermediates/
trace_reader.o] Error 1

any idea how to overcome this.

thanks
super

On Nov 3, 1:59 pm, Chih-Wei <cwhu...@linux.org.tw> wrote:
> Actually java 1.6 can be used to compile Android.
> You can use openjdk shipped with Fedora:
>
> yum install java-1.6.0-openjdk
>
> But you need to patch Android build system
> to enable compiling with java 1.6.
>
> On 11月3日, 下午3時02分, Chew Esmero <chew.esm...@gmail.com> wrote:
>
> > In order to properly build android sources, you need sun-java5-jdk
> > package. My machine is Ubuntu so I can download the package using $apt-
> > get install sun-java5-jdk. I'm not sure what's equivalent in Fedora.
> > Is it $yum install sun-java5-jdk? Or you can manually download from
> > sun website. Be sure its version 5.0, not 6.0. Hope this can help.
>
> > On Nov 2, 9:38 pm, superspirit <superspiri...@gmail.com> wrote:
>
> > > hi, i am trying to build donut android on my development machine
> > > (linux-feroa), but i could not able find proper java version. people
> > > any sugesstions.
>
> > > /prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin)
> > > build/core/find-jdk-tools-jar.sh: line 5: [: too many arguments
> > > ************************************************************
> > > You are attempting to build with the incorrect version
> > > of javac.
>
> > > Your version is: /bin/bash: javac: command not found.
> > > The correct version is: 1.5.

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to