Skip to content

run.sh missing #1

Description

@lukeweber

Curious if you wanted to share how you get callapp running on the device for testing purposes. I noticed there's an update.sh, but I'm missing the run.sh that would go with it.

I was just messing around and creating a run.sh that calls the executable and get the following link error:
link_image[1962]: 20565 could not load needed library 'libjingle.so' for '/data/data/com.google.libjingle.example/bin/callapp' (load_library[1104]: Library 'libjingle.so' not found)CANNOT LINK EXECUTABLE

As well to compile I had to make the following changes:

diff --git a/jni/Android.mk b/jni/Android.mk
index ba301eb..896f6e2 100755
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -11,6 +11,7 @@ endif

 ifeq ($(BUILD_SRTP), 1)
 SRTP_C_INCLUDE= \
+       $(libjingle-root-dir)/submodules/externals/build/srtp \
        $(libjingle-root-dir)/submodules/externals/srtp \
        $(libjingle-root-dir)/submodules/externals/srtp/include \
        $(libjingle-root-dir)/submodules/externals/srtp/crypto/include--- 

--- a/submodules/externals/build/srtp/Android.mk
+++ b/submodules/externals/build/srtp/Android.mk
@@ -47,7 +47,8 @@ endif

 LOCAL_C_INCLUDES += \
        $(LOCAL_PATH)/include \
-       $(LOCAL_PATH)/crypto/include 
+       $(LOCAL_PATH)/crypto/include \
+       $(LOCAL_PATH)/../build/srtp 

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions