Android module(I created locally) System.loadlibrary can not find the .so fileHow can I get a list of locally installed Python modules?Why is the Android emulator so slow? How can we speed up the Android emulator?Cannot open layout in Android StudioGoogle mobile vision library 11.8.0 is not recognizedHow to display Map on emulatorKotlin fails to compile a libraryAndroid Studio 3.2.1 - New project fails to rundebug-apk work fine but sign apk release crash on main acitvityonActivityResult() is not working in fragment “ OUTPUT: You haven't picked Image ”Could not find class 'dalvik.system…'

Do moonless nights cause dim light to become darkness, and bright light (e.g. from torches) to become dim light?

Phase portrait of a system of differential equations

Went to a big 4 but got fired for underperformance in a year recently - Now every one thinks I'm pro - How to balance expectations?

Why does Shift-right says it is bound to right?

Feedback diagram

Why does BezierFunction not follow BezierCurve at npts>4?

Meaning of ギャップ in the following sentence

What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?

Is there any difference between "result in" and "end up with"?

On the expression "sun-down"

Any information about the photo with Army Uniforms

Generate random number in Unity without class ambiguity

Lower bound for the number of lattice points on high dimensional spheres

A verb for when some rights are not violated?

What does Argus Filch specifically do?

How does shared_ptr<void> know which destructor to use?

What is the reason behind water not falling from a bucket at the top of loop?

How to transform a function from f[#1] to f[x]

Why do player start with fighting for the corners in go?

Why is the Vasa Museum in Stockholm so Popular?

Why are sugars in whole fruits not digested the same way sugars in juice are?

Is law enforcement responsible for damages made by a search warrant?

How to win an all out war against ants

Deflecting lasers with lightsabers



Android module(I created locally) System.loadlibrary can not find the .so file


How can I get a list of locally installed Python modules?Why is the Android emulator so slow? How can we speed up the Android emulator?Cannot open layout in Android StudioGoogle mobile vision library 11.8.0 is not recognizedHow to display Map on emulatorKotlin fails to compile a libraryAndroid Studio 3.2.1 - New project fails to rundebug-apk work fine but sign apk release crash on main acitvityonActivityResult() is not working in fragment “ OUTPUT: You haven't picked Image ”Could not find class 'dalvik.system…'






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Thanks for view my question.
I have a local created module(testModule) which has been imported into my project(testProject), and the testModule has a java file needs to call System.loadLibrary("abc.so") file, but it crashed with reason could not find the abc.so.



What I have done:



  1. Add the "jniLibs/armeabi/libabc.so" into testModule main folder; no
    use.

  2. Add the "jniLibs/armeabi/libabc.so" into testProject main
    folder; no use.

  3. The testModule use this packagename: "com/test/module/"

  4. The testProject use this packagename: "com/test/app"

Here is the build.gradle for the testModule



apply plugin: 'com.android.library'
apply plugin: 'com.jakewharton.butterknife'

android
compileSdkVersion 26

defaultConfig
minSdkVersion 18
targetSdkVersion 26
versionCode 1
versionName "1.0"


buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
api 'com.android.support:appcompat-v7:26.0.2'
api 'com.android.support:recyclerview-v7:26.0.2'




And here is the build.gradle for my app:



apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'realm-android'

android
compileSdkVersion 27
defaultConfig
applicationId "com.test.app"
minSdkVersion 19
targetSdkVersion 26
versionCode 3
versionName "1.0.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true

compileOptions
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

buildTypes
release
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




dependencies
api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation project(':testModule')


apply plugin: 'com.google.gms.google-services'


EDIT:
Finally I find out the reason. I have a folder named libs in the testProject, and after I deleted it, everything works.










share|improve this question
































    0















    Thanks for view my question.
    I have a local created module(testModule) which has been imported into my project(testProject), and the testModule has a java file needs to call System.loadLibrary("abc.so") file, but it crashed with reason could not find the abc.so.



    What I have done:



    1. Add the "jniLibs/armeabi/libabc.so" into testModule main folder; no
      use.

    2. Add the "jniLibs/armeabi/libabc.so" into testProject main
      folder; no use.

    3. The testModule use this packagename: "com/test/module/"

    4. The testProject use this packagename: "com/test/app"

    Here is the build.gradle for the testModule



    apply plugin: 'com.android.library'
    apply plugin: 'com.jakewharton.butterknife'

    android
    compileSdkVersion 26

    defaultConfig
    minSdkVersion 18
    targetSdkVersion 26
    versionCode 1
    versionName "1.0"


    buildTypes
    release
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




    dependencies
    api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
    api 'com.android.support:appcompat-v7:26.0.2'
    api 'com.android.support:recyclerview-v7:26.0.2'




    And here is the build.gradle for my app:



    apply plugin: 'com.android.application'
    apply plugin: 'com.jakewharton.butterknife'
    apply plugin: 'realm-android'

    android
    compileSdkVersion 27
    defaultConfig
    applicationId "com.test.app"
    minSdkVersion 19
    targetSdkVersion 26
    versionCode 3
    versionName "1.0.3"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    multiDexEnabled true

    compileOptions
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8

    buildTypes
    release
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




    dependencies
    api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
    implementation 'de.hdodenhof:circleimageview:2.1.0'
    implementation project(':testModule')


    apply plugin: 'com.google.gms.google-services'


    EDIT:
    Finally I find out the reason. I have a folder named libs in the testProject, and after I deleted it, everything works.










    share|improve this question




























      0












      0








      0








      Thanks for view my question.
      I have a local created module(testModule) which has been imported into my project(testProject), and the testModule has a java file needs to call System.loadLibrary("abc.so") file, but it crashed with reason could not find the abc.so.



      What I have done:



      1. Add the "jniLibs/armeabi/libabc.so" into testModule main folder; no
        use.

      2. Add the "jniLibs/armeabi/libabc.so" into testProject main
        folder; no use.

      3. The testModule use this packagename: "com/test/module/"

      4. The testProject use this packagename: "com/test/app"

      Here is the build.gradle for the testModule



      apply plugin: 'com.android.library'
      apply plugin: 'com.jakewharton.butterknife'

      android
      compileSdkVersion 26

      defaultConfig
      minSdkVersion 18
      targetSdkVersion 26
      versionCode 1
      versionName "1.0"


      buildTypes
      release
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




      dependencies
      api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
      api 'com.android.support:appcompat-v7:26.0.2'
      api 'com.android.support:recyclerview-v7:26.0.2'




      And here is the build.gradle for my app:



      apply plugin: 'com.android.application'
      apply plugin: 'com.jakewharton.butterknife'
      apply plugin: 'realm-android'

      android
      compileSdkVersion 27
      defaultConfig
      applicationId "com.test.app"
      minSdkVersion 19
      targetSdkVersion 26
      versionCode 3
      versionName "1.0.3"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      multiDexEnabled true

      compileOptions
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8

      buildTypes
      release
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




      dependencies
      api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
      implementation 'de.hdodenhof:circleimageview:2.1.0'
      implementation project(':testModule')


      apply plugin: 'com.google.gms.google-services'


      EDIT:
      Finally I find out the reason. I have a folder named libs in the testProject, and after I deleted it, everything works.










      share|improve this question
















      Thanks for view my question.
      I have a local created module(testModule) which has been imported into my project(testProject), and the testModule has a java file needs to call System.loadLibrary("abc.so") file, but it crashed with reason could not find the abc.so.



      What I have done:



      1. Add the "jniLibs/armeabi/libabc.so" into testModule main folder; no
        use.

      2. Add the "jniLibs/armeabi/libabc.so" into testProject main
        folder; no use.

      3. The testModule use this packagename: "com/test/module/"

      4. The testProject use this packagename: "com/test/app"

      Here is the build.gradle for the testModule



      apply plugin: 'com.android.library'
      apply plugin: 'com.jakewharton.butterknife'

      android
      compileSdkVersion 26

      defaultConfig
      minSdkVersion 18
      targetSdkVersion 26
      versionCode 1
      versionName "1.0"


      buildTypes
      release
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




      dependencies
      api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
      api 'com.android.support:appcompat-v7:26.0.2'
      api 'com.android.support:recyclerview-v7:26.0.2'




      And here is the build.gradle for my app:



      apply plugin: 'com.android.application'
      apply plugin: 'com.jakewharton.butterknife'
      apply plugin: 'realm-android'

      android
      compileSdkVersion 27
      defaultConfig
      applicationId "com.test.app"
      minSdkVersion 19
      targetSdkVersion 26
      versionCode 3
      versionName "1.0.3"
      testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      multiDexEnabled true

      compileOptions
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8

      buildTypes
      release
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'




      dependencies
      api fileTree(include: ['*.jar'], dir: 'src/main/jniLibs')
      implementation 'de.hdodenhof:circleimageview:2.1.0'
      implementation project(':testModule')


      apply plugin: 'com.google.gms.google-services'


      EDIT:
      Finally I find out the reason. I have a folder named libs in the testProject, and after I deleted it, everything works.







      android module jave






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 27 at 1:53







      Sunderr

















      asked Mar 27 at 1:00









      SunderrSunderr

      691 silver badge9 bronze badges




      691 silver badge9 bronze badges

























          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%2f55368291%2fandroid-modulei-created-locally-system-loadlibrary-can-not-find-the-so-file%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




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          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%2f55368291%2fandroid-modulei-created-locally-system-loadlibrary-can-not-find-the-so-file%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권, 지리지 충청도 공주목 은진현