.so Shared Libraries not built in Android AppIs there a way to run Python on Android?How to save an Android Activity state using save instance state?Close/hide the Android Soft KeyboardWhy is the Android emulator so slow? How can we speed up the Android emulator?Is there a unique Android device ID?What is 'Context' on Android?Proper use cases for Android UserManager.isUserAGoat()?Android Studio: Add jar as library?Java finished with non-zero exit value 2 - Android GradleAll com.android.support libraries must use the exact same version specification

Is the term 'open source' a trademark?

HT12e: How is this a 2¹² encoder?

What are the peak hours for public transportation in Paris?

Implement Homestuck's Catenative Doomsday Dice Cascader

Soft question: Examples where lack of mathematical rigour cause security breaches?

What language is the software written in on the ISS?

What makes Ada the language of choice for the ISS's safety-critical systems?

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

At what point in time did Dumbledore ask Snape for this favor?

How to build suspense or so to establish and justify xenophobia of characters in the eyes of the reader?

How do governments keep track of their issued currency?

Watts vs. Volt Amps

Find the Factorial From the Given Prime Relationship

What is the actual quality of machine translations?

How Can I Tell The Difference Between Unmarked Sugar and Stevia?

How did students remember what to practise between lessons without any sheet music?

How would a aircraft visually signal in distress?

How does an ordinary object become radioactive?

Is an early checkout possible at a hotel before its reception opens?

What does the "c." listed under weapon length mean?

Do simulator games use a realistic trajectory to get into orbit?

Why doesn’t a normal window produce an apparent rainbow?

Can the poison from Kingsmen be concocted?

Was there a priest on the Titanic who stayed on the ship giving confession to as many as he could?



.so Shared Libraries not built in Android App


Is there a way to run Python on Android?How to save an Android Activity state using save instance state?Close/hide the Android Soft KeyboardWhy is the Android emulator so slow? How can we speed up the Android emulator?Is there a unique Android device ID?What is 'Context' on Android?Proper use cases for Android UserManager.isUserAGoat()?Android Studio: Add jar as library?Java finished with non-zero exit value 2 - Android GradleAll com.android.support libraries must use the exact same version specification






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm having a problem with shared libraries in my Android application. I'm using a JAR-Lib in my app, which contains some .so shared libraries. If I build (no error) and run my app, it stops and in LogCat I see the messages



I/System.out: Loading libqi.so
I/System.out: No such resource /libqi.so


And after that, I get an error, that the native methods are not found:



Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.aldebaran.qimessaging.Session.qiSessionCreate:()


I've already tried to add the .so files manually in the jniLibs folder, and then they are built, but the error message is the same - I think the problem is caused by a new Gradle version. A few years ago, i had it working, and if I unpack an apk from tis time, the .so files can be found together with the classes.dexfile and now, they are not there, so I think they aren't packed by the newer Gradle versions.



I included the JAR lib in the build.gradle on the following way:



implementation fileTree(include: ['*.jar'], dir: 'libs')


Can you say me why the Libraries aren't included in the APK and show me a way how to do this?










share|improve this question






























    0















    I'm having a problem with shared libraries in my Android application. I'm using a JAR-Lib in my app, which contains some .so shared libraries. If I build (no error) and run my app, it stops and in LogCat I see the messages



    I/System.out: Loading libqi.so
    I/System.out: No such resource /libqi.so


    And after that, I get an error, that the native methods are not found:



    Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.aldebaran.qimessaging.Session.qiSessionCreate:()


    I've already tried to add the .so files manually in the jniLibs folder, and then they are built, but the error message is the same - I think the problem is caused by a new Gradle version. A few years ago, i had it working, and if I unpack an apk from tis time, the .so files can be found together with the classes.dexfile and now, they are not there, so I think they aren't packed by the newer Gradle versions.



    I included the JAR lib in the build.gradle on the following way:



    implementation fileTree(include: ['*.jar'], dir: 'libs')


    Can you say me why the Libraries aren't included in the APK and show me a way how to do this?










    share|improve this question


























      0












      0








      0








      I'm having a problem with shared libraries in my Android application. I'm using a JAR-Lib in my app, which contains some .so shared libraries. If I build (no error) and run my app, it stops and in LogCat I see the messages



      I/System.out: Loading libqi.so
      I/System.out: No such resource /libqi.so


      And after that, I get an error, that the native methods are not found:



      Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.aldebaran.qimessaging.Session.qiSessionCreate:()


      I've already tried to add the .so files manually in the jniLibs folder, and then they are built, but the error message is the same - I think the problem is caused by a new Gradle version. A few years ago, i had it working, and if I unpack an apk from tis time, the .so files can be found together with the classes.dexfile and now, they are not there, so I think they aren't packed by the newer Gradle versions.



      I included the JAR lib in the build.gradle on the following way:



      implementation fileTree(include: ['*.jar'], dir: 'libs')


      Can you say me why the Libraries aren't included in the APK and show me a way how to do this?










      share|improve this question
















      I'm having a problem with shared libraries in my Android application. I'm using a JAR-Lib in my app, which contains some .so shared libraries. If I build (no error) and run my app, it stops and in LogCat I see the messages



      I/System.out: Loading libqi.so
      I/System.out: No such resource /libqi.so


      And after that, I get an error, that the native methods are not found:



      Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.aldebaran.qimessaging.Session.qiSessionCreate:()


      I've already tried to add the .so files manually in the jniLibs folder, and then they are built, but the error message is the same - I think the problem is caused by a new Gradle version. A few years ago, i had it working, and if I unpack an apk from tis time, the .so files can be found together with the classes.dexfile and now, they are not there, so I think they aren't packed by the newer Gradle versions.



      I included the JAR lib in the build.gradle on the following way:



      implementation fileTree(include: ['*.jar'], dir: 'libs')


      Can you say me why the Libraries aren't included in the APK and show me a way how to do this?







      java android gradle shared-libraries






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 24 at 17:20







      jwandscheer

















      asked Mar 24 at 16:18









      jwandscheerjwandscheer

      116315




      116315






















          0






          active

          oldest

          votes












          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%2f55325863%2fso-shared-libraries-not-built-in-android-app%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f55325863%2fso-shared-libraries-not-built-in-android-app%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

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현