[android-porting] Re: JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread kozak
Hi, Can you please post the logcat as well? Meanwhile, I have tried to document something that might be similar to what you are looking for http://mybbventures.blogspot.com/. BR Kozak On Feb 23, 11:35 am, Jerry Yang <1999bige...@gmail.com> wrote: > Hi, all > Now, I am trying to verify the JNI in

[android-porting] Re: JNI run time error even I use same code and lib as Android source code.

2009-02-24 Thread Jerry Yang
Hi,Kozak and all I checked the logcat, I find it cannot find the jni_Onload, Thanks for your information, I find I forget the function jni_Onload method, it is a new requirement after jni)1.2 Now my hello world working. Thanks With best wishes Jerry On Mon, Feb 23, 2009 at 12:51 AM, kozak wrote:

[android-porting] Re: JNI run time error even I use same code and lib as Android source code.

2009-02-24 Thread Jack stone
I have the same problem with you. You should compile you .c with android toolchain(Whether static link or dynamic link). If you must use the third party compiler, you must compile it with static link. On 2月24日, 下午4时44分, Jerry Yang <1999bige...@gmail.com> wrote: > Hi,Kozak and all > I checked the