.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;
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.dex
file 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
add a comment |
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.dex
file 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
add a comment |
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.dex
file 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
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.dex
file 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
java android gradle shared-libraries
edited Mar 24 at 17:20
jwandscheer
asked Mar 24 at 16:18
jwandscheerjwandscheer
116315
116315
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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