jefflinwood / twilio_client_phonegap

Phonegap plugins for the Twilio Client iOS and Android SDKs
MIT License
59 stars 53 forks source link

android twilio native error #5

Closed jignesh261991 closed 9 years ago

jignesh261991 commented 10 years ago

05-02 02:14:09.123: E/AndroidRuntime(1135): FATAL EXCEPTION: main 05-02 02:14:09.123: E/AndroidRuntime(1135): Process: com.phonegap.helloworld, PID: 1135 05-02 02:14:09.123: E/AndroidRuntime(1135): java.lang.UnsatisfiedLinkError: Couldn't load twilio-native from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.phonegap.helloworld-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.phonegap.helloworld-2, /system/lib]]]: findLibrary returned null 05-02 02:14:09.123: E/AndroidRuntime(1135): at java.lang.Runtime.loadLibrary(Runtime.java:358) 05-02 02:14:09.123: E/AndroidRuntime(1135): at java.lang.System.loadLibrary(System.java:526) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.twilio.client.impl.useragent.UserAgent.(UserAgent.java:16) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.twilio.client.impl.CallControlManager.initialize(CallControlManager.java:179) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.twilio.client.impl.CallControlManager.getInstance(CallControlManager.java:117) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.twilio.client.impl.TwilioClientServiceImpl.initialize(TwilioClientServiceImpl.java:168) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.twilio.client.TwilioClientService.onCreate(TwilioClientService.java:47) 05-02 02:14:09.123: E/AndroidRuntime(1135): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2572) 05-02 02:14:09.123: E/AndroidRuntime(1135): at android.app.ActivityThread.access$1800(ActivityThread.java:135) 05-02 02:14:09.123: E/AndroidRuntime(1135): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) 05-02 02:14:09.123: E/AndroidRuntime(1135): at android.os.Handler.dispatchMessage(Handler.java:102) 05-02 02:14:09.123: E/AndroidRuntime(1135): at android.os.Looper.loop(Looper.java:136) 05-02 02:14:09.123: E/AndroidRuntime(1135): at android.app.ActivityThread.main(ActivityThread.java:5017) 05-02 02:14:09.123: E/AndroidRuntime(1135): at java.lang.reflect.Method.invokeNative(Native Method) 05-02 02:14:09.123: E/AndroidRuntime(1135): at java.lang.reflect.Method.invoke(Method.java:515) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) 05-02 02:14:09.123: E/AndroidRuntime(1135): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) 05-02 02:14:09.123: E/AndroidRuntime(1135): at dalvik.system.NativeStart.main(Native Method)

jefflinwood commented 10 years ago

Hi,

It looks like you don't have the Twilio Android library installed correctly in your project, as it's missing the native libraries used by the Java libraries.

jignesh261991 commented 10 years ago

ohh thank you i solved that problem. by system load native library.