Add libstagefright in Android NDK app

I made some changes to the code AOSPand compiled it. Now I want to add the created one libstagefright.soto my Applicaton.

In Android.mkI add as a LOCAL_SRC_FILEScompiled library libstagefright.sowith an outline.

Here it is

   LOCAL_PATH := $(call my-dir)

   include $(CLEAR_VARS)
   LOCAL_MODULE := libstagefright  
   LOCAL_SRC_FILES := ./Source/out/target/product/generic/system/lib/libstagefright.so
   include $(PREBUILT_SHARED_LIBRARY)

   include $(CLEAR_VARS)

   LOCAL_MODULE    := example
   LOCAL_SRC_FILES := example.cpp
   LOCAL_LDLIBS := -llog-landroid 
   LOCAL_SHARED_LIBRARIES := libstagefright 
   include $(BUILD_SHARED_LIBRARY)

When I create and run the program, I do not see any changes in the library. What is the problem that I do not see any changes?

Thanks in advance.

+3
source share
1 answer

libstagefright.so AOSP- libmybetterstagefrght.so stagefright. libs , . root.

, , , - OMX /system/lib, . , AOSP, . , Android - Nexus.

0

All Articles