Hi
On Monday, July 11, 2011 1:51:35 PM UTC+2, David wrote: > > Hi, > > I am working on a customized android system based on 2.3.3. I want > to add a new class in java framework. > So I create a folder called foo under /framework/base and add this > folder name in /build/core/pathmap.mk. > > I follow the structure /framework/core and arrange my own module > like > > /framework/foo/ > -> java/ > -> com/test/foo/TestApi.java > -> jni/ > -> Android.mk > TestApi.cpp > > do you have a top level Makefile? Does it include the Android.mk in jni? Try making a single example that allow posting error messages to this list Greetings > And I modified /frameworl/core/jni/AndroidRuntime.cpp to register > my JNI class in TestApi.cpp. > But TestApi.cpp seems never be built and I get undefind symbol > error when linking libandroid_rumtime.so > > > My question is: how can I make my lib built? Anything I am missing? > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting