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

2009-02-27 Thread yichu
Hi Jerry, Could you share how to fix this jni_onload problem? I got the same error but don't know how to solve it. Thanks :) Yichu On Feb 24, 12:45 am, Jerry Yang <1999bige...@gmail.com> wrote: > Hi, all > I checked the logcat, I find it cannot find the jni_Onload, > Thanks for your information

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

2009-02-24 Thread Jerry Yang
Hi, 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 11:38 PM, Jerry Yang <1999bige...

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

2009-02-23 Thread Jerry Yang
Hi, Marco and all Here is the log: D/AndroidRuntime( 1221): D/AndroidRuntime( 1221): >> AndroidRuntime START << D/AndroidRuntime( 1221): CheckJNI is OFF I/ActivityThread( 1223): Publishing provider com.android.vending.SuggestionsProv ider: com.android.vending.SuggestionsPr

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

2009-02-23 Thread Mark Murphy
Jerry Yang wrote: > I am really new in android develop ment, so where should I check the > system log? You can: -- Run adb logcat http://developer.android.com/guide/developing/tools/adb.html#logcat -- Use DDMS http://developer.android.com/guide/developing/tools/ddms.html -- Use Eclipse --

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

2009-02-23 Thread Jerry Yang
Hi, Marco I am really new in android develop ment, so where should I check the system log? Thanks with best wishes Jerry On Tue, Feb 24, 2009 at 1:36 AM, Marco Nelissen wrote: > > On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang <1999bige...@gmail.com> > wrote: > (...) > > 3. push the .apk to the ph

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

2009-02-23 Thread Marco Nelissen
On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang <1999bige...@gmail.com> wrote: (...) > 3. push the .apk to the phone and run from eclips > always a run time error like:"the application hello.android has stopped > unexpectedly, pla try again" What does it say in the system log? --~--~-~--~-