New quickblox with maven compile dependencies. giving error on startCall












0















Im using the quickblox in one of my applications.
its dependencies have been added using



app build.gradle =>



// start quickblox, online dependencies, from remote repository, aar files
compile "com.quickblox:quickblox-android-sdk-core:${rootProject.qbSdkVersion}@aar"
compile("com.quickblox:quickblox-android-sdk-chat:${rootProject.qbSdkVersion}@aar") {
transitive = true
}
compile "com.quickblox:quickblox-android-sdk-content:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-messages:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-customobjects:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-location:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-videochat-webrtc:${rootProject.qbSdkVersion}@aar"


note qbSdkVersion=2.5



prject build.gradle =>



allprojects {
repositories {
jcenter()
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
mavenCentral()
}}


It all works the build dependencies are fetched, infact session and login also works.



The application crashes on startCall() due to following error..



    02-23 21:18:31.671 30766-2911/com.prontoitlabs.pocquickblox E/AndroidRuntime: FATAL EXCEPTION: Thread-212
Process: com.prontoitlabs.pocquickblox, PID: 30766
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.prontoitlabs.pocquickblox-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libjingle_peerconnection_so.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at org.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:39)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initializeFactoryFieldTrials(PeerFactoryManager.java:109)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initPeerConnectionFactory(PeerFactoryManager.java:83)
at com.quickblox.videochat.webrtc.PeerFactoryManager.access$100(PeerFactoryManager.java:11)
at com.quickblox.videochat.webrtc.PeerFactoryManager$1.run(PeerFactoryManager.java:59)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at com.quickblox.videochat.webrtc.LooperExecutor.run(LooperExecutor.java:73)


I do not understand this nativelibs error, i mean i've not included the dependences using libs/*.jar etc ive used gradle dependences.



i use the following gradle classpath 'com.android.tools.build:gradle:1.5.0'



Help!...










share|improve this question

























  • and yes i know its because its not able to find the damn jingle.so but it should have come along with the gradle deps as you do get it when you add the same files as libs/*.jar dependencies.

    – yUdoDis
    Feb 23 '16 at 16:09
















0















Im using the quickblox in one of my applications.
its dependencies have been added using



app build.gradle =>



// start quickblox, online dependencies, from remote repository, aar files
compile "com.quickblox:quickblox-android-sdk-core:${rootProject.qbSdkVersion}@aar"
compile("com.quickblox:quickblox-android-sdk-chat:${rootProject.qbSdkVersion}@aar") {
transitive = true
}
compile "com.quickblox:quickblox-android-sdk-content:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-messages:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-customobjects:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-location:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-videochat-webrtc:${rootProject.qbSdkVersion}@aar"


note qbSdkVersion=2.5



prject build.gradle =>



allprojects {
repositories {
jcenter()
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
mavenCentral()
}}


It all works the build dependencies are fetched, infact session and login also works.



The application crashes on startCall() due to following error..



    02-23 21:18:31.671 30766-2911/com.prontoitlabs.pocquickblox E/AndroidRuntime: FATAL EXCEPTION: Thread-212
Process: com.prontoitlabs.pocquickblox, PID: 30766
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.prontoitlabs.pocquickblox-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libjingle_peerconnection_so.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at org.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:39)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initializeFactoryFieldTrials(PeerFactoryManager.java:109)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initPeerConnectionFactory(PeerFactoryManager.java:83)
at com.quickblox.videochat.webrtc.PeerFactoryManager.access$100(PeerFactoryManager.java:11)
at com.quickblox.videochat.webrtc.PeerFactoryManager$1.run(PeerFactoryManager.java:59)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at com.quickblox.videochat.webrtc.LooperExecutor.run(LooperExecutor.java:73)


I do not understand this nativelibs error, i mean i've not included the dependences using libs/*.jar etc ive used gradle dependences.



i use the following gradle classpath 'com.android.tools.build:gradle:1.5.0'



Help!...










share|improve this question

























  • and yes i know its because its not able to find the damn jingle.so but it should have come along with the gradle deps as you do get it when you add the same files as libs/*.jar dependencies.

    – yUdoDis
    Feb 23 '16 at 16:09














0












0








0








Im using the quickblox in one of my applications.
its dependencies have been added using



app build.gradle =>



// start quickblox, online dependencies, from remote repository, aar files
compile "com.quickblox:quickblox-android-sdk-core:${rootProject.qbSdkVersion}@aar"
compile("com.quickblox:quickblox-android-sdk-chat:${rootProject.qbSdkVersion}@aar") {
transitive = true
}
compile "com.quickblox:quickblox-android-sdk-content:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-messages:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-customobjects:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-location:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-videochat-webrtc:${rootProject.qbSdkVersion}@aar"


note qbSdkVersion=2.5



prject build.gradle =>



allprojects {
repositories {
jcenter()
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
mavenCentral()
}}


It all works the build dependencies are fetched, infact session and login also works.



The application crashes on startCall() due to following error..



    02-23 21:18:31.671 30766-2911/com.prontoitlabs.pocquickblox E/AndroidRuntime: FATAL EXCEPTION: Thread-212
Process: com.prontoitlabs.pocquickblox, PID: 30766
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.prontoitlabs.pocquickblox-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libjingle_peerconnection_so.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at org.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:39)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initializeFactoryFieldTrials(PeerFactoryManager.java:109)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initPeerConnectionFactory(PeerFactoryManager.java:83)
at com.quickblox.videochat.webrtc.PeerFactoryManager.access$100(PeerFactoryManager.java:11)
at com.quickblox.videochat.webrtc.PeerFactoryManager$1.run(PeerFactoryManager.java:59)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at com.quickblox.videochat.webrtc.LooperExecutor.run(LooperExecutor.java:73)


I do not understand this nativelibs error, i mean i've not included the dependences using libs/*.jar etc ive used gradle dependences.



i use the following gradle classpath 'com.android.tools.build:gradle:1.5.0'



Help!...










share|improve this question
















Im using the quickblox in one of my applications.
its dependencies have been added using



app build.gradle =>



// start quickblox, online dependencies, from remote repository, aar files
compile "com.quickblox:quickblox-android-sdk-core:${rootProject.qbSdkVersion}@aar"
compile("com.quickblox:quickblox-android-sdk-chat:${rootProject.qbSdkVersion}@aar") {
transitive = true
}
compile "com.quickblox:quickblox-android-sdk-content:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-messages:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-customobjects:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-location:${rootProject.qbSdkVersion}@aar"
compile "com.quickblox:quickblox-android-sdk-videochat-webrtc:${rootProject.qbSdkVersion}@aar"


note qbSdkVersion=2.5



prject build.gradle =>



allprojects {
repositories {
jcenter()
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
mavenCentral()
}}


It all works the build dependencies are fetched, infact session and login also works.



The application crashes on startCall() due to following error..



    02-23 21:18:31.671 30766-2911/com.prontoitlabs.pocquickblox E/AndroidRuntime: FATAL EXCEPTION: Thread-212
Process: com.prontoitlabs.pocquickblox, PID: 30766
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.prontoitlabs.pocquickblox-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libjingle_peerconnection_so.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:988)
at org.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:39)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initializeFactoryFieldTrials(PeerFactoryManager.java:109)
at com.quickblox.videochat.webrtc.PeerFactoryManager.initPeerConnectionFactory(PeerFactoryManager.java:83)
at com.quickblox.videochat.webrtc.PeerFactoryManager.access$100(PeerFactoryManager.java:11)
at com.quickblox.videochat.webrtc.PeerFactoryManager$1.run(PeerFactoryManager.java:59)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at com.quickblox.videochat.webrtc.LooperExecutor.run(LooperExecutor.java:73)


I do not understand this nativelibs error, i mean i've not included the dependences using libs/*.jar etc ive used gradle dependences.



i use the following gradle classpath 'com.android.tools.build:gradle:1.5.0'



Help!...







android-gradle quickblox quickblox-android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 23 '16 at 19:03







yUdoDis

















asked Feb 23 '16 at 16:01









yUdoDisyUdoDis

814412




814412













  • and yes i know its because its not able to find the damn jingle.so but it should have come along with the gradle deps as you do get it when you add the same files as libs/*.jar dependencies.

    – yUdoDis
    Feb 23 '16 at 16:09



















  • and yes i know its because its not able to find the damn jingle.so but it should have come along with the gradle deps as you do get it when you add the same files as libs/*.jar dependencies.

    – yUdoDis
    Feb 23 '16 at 16:09

















and yes i know its because its not able to find the damn jingle.so but it should have come along with the gradle deps as you do get it when you add the same files as libs/*.jar dependencies.

– yUdoDis
Feb 23 '16 at 16:09





and yes i know its because its not able to find the damn jingle.so but it should have come along with the gradle deps as you do get it when you add the same files as libs/*.jar dependencies.

– yUdoDis
Feb 23 '16 at 16:09












2 Answers
2






active

oldest

votes


















1














Refer to video chat sample https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-videochat-webrtc. You should put .so files in jnilibs/ directory under src/main.






share|improve this answer
























  • love you :*), thanks bro.

    – yUdoDis
    Feb 25 '16 at 9:21



















1














Add these lines in your project build.gradle






allprojects {
repositories {
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
mavenCentral()
}
}








share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f35582273%2fnew-quickblox-with-maven-compile-dependencies-giving-error-on-startcall%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Refer to video chat sample https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-videochat-webrtc. You should put .so files in jnilibs/ directory under src/main.






    share|improve this answer
























    • love you :*), thanks bro.

      – yUdoDis
      Feb 25 '16 at 9:21
















    1














    Refer to video chat sample https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-videochat-webrtc. You should put .so files in jnilibs/ directory under src/main.






    share|improve this answer
























    • love you :*), thanks bro.

      – yUdoDis
      Feb 25 '16 at 9:21














    1












    1








    1







    Refer to video chat sample https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-videochat-webrtc. You should put .so files in jnilibs/ directory under src/main.






    share|improve this answer













    Refer to video chat sample https://github.com/QuickBlox/quickblox-android-sdk/tree/master/sample-videochat-webrtc. You should put .so files in jnilibs/ directory under src/main.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 23 '16 at 16:53









    vfitevfite

    1262




    1262













    • love you :*), thanks bro.

      – yUdoDis
      Feb 25 '16 at 9:21



















    • love you :*), thanks bro.

      – yUdoDis
      Feb 25 '16 at 9:21

















    love you :*), thanks bro.

    – yUdoDis
    Feb 25 '16 at 9:21





    love you :*), thanks bro.

    – yUdoDis
    Feb 25 '16 at 9:21













    1














    Add these lines in your project build.gradle






    allprojects {
    repositories {
    maven {
    url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
    }
    mavenCentral()
    }
    }








    share|improve this answer






























      1














      Add these lines in your project build.gradle






      allprojects {
      repositories {
      maven {
      url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
      }
      mavenCentral()
      }
      }








      share|improve this answer




























        1












        1








        1







        Add these lines in your project build.gradle






        allprojects {
        repositories {
        maven {
        url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
        }
        mavenCentral()
        }
        }








        share|improve this answer















        Add these lines in your project build.gradle






        allprojects {
        repositories {
        maven {
        url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
        }
        mavenCentral()
        }
        }








        allprojects {
        repositories {
        maven {
        url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
        }
        mavenCentral()
        }
        }





        allprojects {
        repositories {
        maven {
        url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
        }
        mavenCentral()
        }
        }






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 15 '18 at 10:55









        Agilanbu

        1,2041419




        1,2041419










        answered Feb 28 '16 at 5:30









        YogeshbalanYogeshbalan

        1005




        1005






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f35582273%2fnew-quickblox-with-maven-compile-dependencies-giving-error-on-startcall%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            The Sandy Post

            Danny Elfman

            Pages that link to "Head v. Amoskeag Manufacturing Co."