<div dir="ltr"><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">Hi all, <br>I need help building and packaging externals for android.</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">I am following [1]. So far, I have:</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">- added my external code "IIDgains.c" in the folder PdCore/jni.</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">- modified the <a href="http://android.mk">android.mk</a> in the same folder, and it looks like this:</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">include $(call all-subdir-makefiles)</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">LOCAL_PATH := $(call my-dir)</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">include $(CLEAR_VARS)</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">LOCAL_MODULE := IIDgains</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../PdCore/jni/libpd/pure-data/src</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">LOCAL_CFLAGS := -DPD</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">LOCAL_SRC_FILES := IIDgains.c</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">LOCAL_LDLIBS := -L$(LOCAL_PATH)/../../PdCore/libs/$(TARGET_ARCH_ABI) -lpd</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">include $(BUILD_SHARED_LIBRARY)</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">Doing that does not work, but I have not found any other information about it. What can I do to solve it?</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">I do not know what they mean in "The only additional step that's needed is to add the location of the binaries to Pd's search path, but if your project uses PdService, you already get that for free."</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">What do they mean with that? What should I add more to my app in order to make an external work in it?</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">Thank you</div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px"><br></div><div style="color:rgb(0,0,0);font-family:Tahoma;font-size:13.3333px">[1] <a href="https://github.com/libpd/pd-for-android/wiki/Building-and-packaging-externals-for-Android">https://github.com/libpd/pd-for-android/wiki/Building-and-packaging-externals-for-Android</a></div></div>