Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Lib.so files is not getting load even i call system.load

i have this error which i m using in my code i m trying to load lib but it doesn't load i m using mpv player and i have libmpv.so files this is what i m doing in my code public class MPVLib { ...
Sajawal Hussain's user avatar
0 votes
0 answers
32 views

How to reduce the size of bundle apk in Android?

We have a native library (.so) which is about 2 MB for each Architecture('x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a’). Using this Native library we have written an SDK which is going to be integrated ...
Cijo K Paul's user avatar
0 votes
0 answers
129 views

How do I add DobbyHook in android studio

Couldn't find any information about how to install DobbyHook for android studio The only thing i found was the original documentation, which didn't clarify anything. By the way my emulator has x86_64 ...
Xinon's user avatar
  • 17
1 vote
0 answers
30 views

how to reslove unsatisfyLinkError for libgdal.so file in 64-bit android

I am developing an Android app that uses the libgdal.so library. When I run the app I get the error like this java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/~~fEMejdDPZpV3FZzivEAV9Q==/...
Rahul Kumbar's user avatar
0 votes
0 answers
27 views

No implementation found for Int when i use .so file android

I want to use .so file, i've success to load the library but the function is not working. Below is the code Structure MainActivity.java JniLoader.java package com.example.testapps; public class ...
Eko Muhammad Rilo Pembudi's user avatar
0 votes
0 answers
194 views

Copy .so libs to data/app/lib inside device android

I have libexample.so library inside app/lib/arm64-v8a/ and I want it to be copied to data/app/lib inside device upon installation of the app. I know that the android package manager is supposed to do ...
Yarin Shitrit's user avatar
0 votes
0 answers
107 views

In Android, I am not able to find few symbols inside my .so file?

I generate a .so file during my build and add it in the right place inside 'jnilibs' folder but I am facing an error stating "Cannot find the native function implementation with Unsatisfied Link ...
Rohan Pande's user avatar
0 votes
0 answers
19 views

What happened if disable imports of .so file

I am just curious about if I edit and disable a .so file imports(strlen,malloc,strcmp,etc) after that I execute the library then what happening? What should I expect! I am expecting which imports I ...
M.R. TENCENT's user avatar
0 votes
0 answers
3k views

Getting error : java.lang.UnsatisfiedLinkError: dlopen failed: library "libtriangulation.so" not found in Android java

I am running an old Android project from year 2019 on the Android Studio Version Electric Eel. I have imported an existing module in that project which is using a .so library. When I'm executing the ...
Developer's user avatar
0 votes
2 answers
104 views

I use .so library and get NoSuchMethodError error

I use .so library, as this package ru.integrics.mobileschool.view.activity; import android.util.Base64; public class MainActivity { public MainActivity(){ System.loadLibrary("x2&...
Master's user avatar
  • 13
0 votes
0 answers
58 views

.so libraries in Android Studio

I'm using scripts from an old project, but the sources are already lost In an old application, I used the library like this: public class x2.X { static { System.loadLibrary("x2"); } public ...
Master's user avatar
  • 13
4 votes
0 answers
305 views

Why does JavaSystem.LoadLibrary() throw an UnsatisfiedLinkError despite the library existing in project?

I try to embedd an external library to my .Net MAUI project, but am unable to. Following the process in this question: I copied the .so file into <project root>\Resources\lib\<platform>\ (...
HPe's user avatar
  • 91
0 votes
1 answer
580 views

How to prevent .so files in jniLibs folders from being shrink

I created an app which uses native codes, when I compile it Android Studio in debug type app works perfectly but when I generate a signed aab file, the jniLibs files get compressed and it breaks ...
Rightplay's user avatar
0 votes
0 answers
143 views

load .so file in xamarin

need to load one .so file and call some native methods... I have followed each single step Load .so file in Xamarin.Android not sure whether library is loading or not not...but there is not exception ...
uncle_scrooge's user avatar
0 votes
1 answer
336 views

Trying to build PDF reader using MuPDF library, app crashing while opening PDF

Good Day, I'm trying to build PDF reader using MuPDF. Everytime when I try opening pdf in app its showing libmupdf_java.so not found and application crashed. I'm using mupdf.aar bundle, I opened ...
abhilash kaveriappa's user avatar
0 votes
2 answers
1k views

Using .so library classes in after System.load()

I am trying to use the .so external library in my Android project. It's not clear to me how can I access the classes in the library once it's loaded via System.load("path to lib")? The ...
Александр Туровский's user avatar
1 vote
1 answer
135 views

How can I prevent copying/pirating native compiled files (.so file) from my Android APK?

I am using NDK/c++ to do complex calculations in my Android app. After the compilation, .so files are present in the lib folder. I am wondering whether anyone can copy those .so files and use my ...
Zacharias Manuel's user avatar
0 votes
1 answer
777 views

Generate .so files?

Hi developers I have question regarding generating .so files. And my app keeps stopping. Can anyone have the answer? These are the steps I had undergone so far: I have created an empty project in ...
Saikrishna 's user avatar
1 vote
0 answers
123 views

Can i use .so file from Apk and use in a python / Java Script

I have an apk. one .so file is being used in this apk. There is a function in the .so file. APK is invoking that function by passing 4 inputs as a parameter and getting output. Now I have to call that ...
Nirbhay Jain's user avatar
1 vote
0 answers
100 views

How to sync .so file with project in android studio?

I add .so file to app\src\main\jniLibs\libs directory as below: app ...main .......jniLibs ..............libs ..................armeabi .........................libjsqlite.so ..................armeabi-...
Ali Hosein pour's user avatar
2 votes
2 answers
1k views

How to import a .so Library in Android.mk when i build APK

I have this problem: I have to build my app using the Android.mk file and I have to insert the library "libcom_google_ase_Exec.so" inside the final apk, but I can't do it. What I get is an ...
Remper1997's user avatar
0 votes
0 answers
545 views

Loading Flutter SO files Dynamically Crashes

I am new to flutter. I have used the add 2 app concept from flutter documentation https://docs.flutter.dev/development/add-to-app to one of my existing android project its working fine. The issue ...
David's user avatar
  • 1
4 votes
2 answers
11k views

Missing .so file lib when building in App Bundle

I'm trying to release an app on the Playstore that includes .so lib files. When I try to debug it, the app works fine. But when I try to release it and upload it on the PlayStore via .aab and install ...
unboundExDev's user avatar
1 vote
1 answer
2k views

Android Studio Error Message: Use Of Undeclared Identifier 'accept4'

the jni folder not appear in android studio and after build only java folder get build. as you can see the jni folder appear in explorer but not inside android studio. EDIT: so after i added this in ...
ben39's user avatar
  • 31
0 votes
0 answers
169 views

How can i reduce the size of .so libraries in 64-bit apk?

Here is my case, the 32-bit .apk's size is 65MB, and the 64-bit .apk's size is 86MB! It is too large. What I have done is only change the abi configuration in build.gragle. Can anyone help me? There ...
darcy's user avatar
  • 1
1 vote
0 answers
498 views

Using external non-Android Java library in Android: couldn't find .so file and so on

I'm trying to build a template Android app using Grammatical Framework's Java bindings (however, I don't think what Java code I'm using in particular actually matters. Let's just say I'm trying to use ...
harisont's user avatar
  • 143
1 vote
2 answers
16k views

how to fix Android Native Crash from libc.so, libart.so

Our App does not contain any c/c++ code, while we use some third part sdk who contains .so Now, we found a big percent native crash? we can not find useful info to get which sdk to bear the ...
user2429284's user avatar
1 vote
1 answer
351 views

Dexguard release build throws error: java.lang.UnsatisfiedLinkError: dlopen failed: library "libsuprema_libusb.so" not found

I am trying to make dexguard release build having libraries .so files so when I attach the debugger adb logcat throws exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "...
Sheharyar Lodhi's user avatar
2 votes
0 answers
3k views

java.lang.UnsatisfiedLinkError: dlopen failed: library ".so" needed or dlopened by ".so" is not accessible for the namespace "classloader-namespace"

I'm working on an Android Project and I need to add a (.jar) library awesomework.jar . When I add the library and run the project in my Android device I receive the below error. java.lang....
yannisalexiou's user avatar
-2 votes
1 answer
355 views

Why is it tough to find a dummy .so file online?

I need a dummy .so file in order to call it's functions in android. The dummy .so file could be anything from doing addition, subtraction, etc. When searched online, All I find is "What is .so ...
Lalit Hajare's user avatar
0 votes
1 answer
977 views

Im failing to build .so file for android from FFMPEG

I tried many times with different versions of ffmpeg but failed eventually. I dont know how they wrote .sh file to configure different tools. Here are some .sh files i tried and it all failed. Either ...
yejafot's user avatar
  • 13
1 vote
1 answer
431 views

This release is not compliant with the Google Play 64-bit requirement error

Was trying to upload my android application built in Android Studio on playstore but i get that error. Searched everywhere tried all possible solutions suggested but no success. My application uses 2 ...
Sagar Mistry's user avatar
3 votes
1 answer
5k views

How to Import a prebuilt *.so library and call it from the new project?

I'm currently working on a project which will use a prebuilt shared library. But I'm quite confused on the process of importing a prebuilt library, as well as calling the methods in the prebuilt from ...
Hang Alec's user avatar
  • 123
0 votes
2 answers
1k views

How to add .so file in Android.mk file?

I am importing a .aar file as a dependency in my android project and have added this to Android.mk file. Now internally this file has dependency on some .so files which its not able to pick up ...
tejas's user avatar
  • 2,445
0 votes
0 answers
201 views

How do I use the .so file from .aar of a library module in another application module?

I have a .so file built into the .aar of a library project. How do I use this .so file and only the .so file in another application module of the same project?
sanity_overflow's user avatar
0 votes
0 answers
71 views

android shows blank white screen when 64bit .so file loading... no issue with 32bit so file

W/System.err: Native code library failed to load. ndk { abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64','armeabi' } when i put 64bit .so file simulator showing just a white ...
Praveen Davis's user avatar
0 votes
1 answer
853 views

is there any way to use compiled 32 bit native library as 64 bit lib

I'm trying to publish my old android application on Play Store and facing issues with 64-bit native lib requirements. So I have my Android Studio project written in Java and it does have one native ...
Nithis Kumar's user avatar
0 votes
0 answers
305 views

How to load .so file inside linux kernel file

I am trying to build my custom library in form of .so file in android kernel and then load that library in one of the kernel config files and use library functions. I am unable to do it. I an not ...
SHIVAJI KANT's user avatar
0 votes
0 answers
342 views

How to use the imported .so library code in Android Studio?

I added some C libraries in my Android project. According to some guides I found, I just have to create the folders and put the libraries there. According to the guidelines it is not necessary to do ...
Cristian Alvarez Hernandez's user avatar
4 votes
1 answer
23k views

How to fix "Could not find toolchain file" "CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage" cmake libjpeg-turbo.so?

I am working on generating libjpeg-turbo.so files for different CPU architectures. If I execute the below cmake in my build folder I am getting this error even though the toolchain file is present ...
Ingrid Cooper's user avatar
0 votes
0 answers
1k views

How to generate libjpeg-turbo.so files for different CPU architectures on Ubuntu 16.04?

I have downloaded the libjpeg-turbo library from https://github.com/libjpeg-turbo/libjpeg-turbo/ and executed the below CMake commands in Ubuntu 16.04: $ cd {path of my libjpeg-turbo library} $ cmake ...
Ingrid Cooper's user avatar
4 votes
2 answers
11k views

Can't add a *.so library in Android Studio. JniLibs directory don't work

I researched a lot for an answer of my question, but I didn't find anything. I can't add the .so library in my project. I put the library in /app/src/main/jniLibs/arm64-v8a. The project will complile ...
Taylan Kaya's user avatar
0 votes
0 answers
75 views

How to version up android app to x64 architecture?

Currently, I'm maintaining an Android project, my project use some native library (.so file in "armeabi-v7a" architecture). Recently I receive the warning of Google that my app need to be versioned up ...
Linh Trần's user avatar
1 vote
1 answer
374 views

How to find which dependency imports specific so file

I'm trying to get my app complaint to the 64-bit standard as Google expects: https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html I analyzed my release apk and found ...
Guilherme Lima Pereira's user avatar
1 vote
2 answers
2k views

Generate a 64 bit .so file of GDAL Library

I used the GDAL Library in my application and it has been working properly. The Google play service announced that they upload only 64-bit compliant APK after 1st Aug 2019. So I rendered the project ...
varsha jeevan's user avatar
3 votes
1 answer
1k views

"ELF built without Position Independent Executable (PIE) flag " for mips64 architecture but not for other architectures

I have generated a shared library .so file I did not use any flags -fpic in CMakeLists.txt But one of the tool reported "ELF built without Position Independent Executable (PIE) flag " for mips64 ...
manjunath kallannavar's user avatar
1 vote
1 answer
2k views

Calling .SO functions from a java Class using JNI

I know this might seems weird, but, right now I have a .SO (Shared Object in C) and have to make use in my Android Project. Now My requirement is to call the functions that are in .SO directly in ...
Abb's user avatar
  • 3,071
3 votes
2 answers
2k views

No implementation found when i use .so file android

i want to use native library from other project. here is my library. it is my first time to use ndk in android studio. i succedd to load library .so, but failed when i want to access the file. here ...
Dimas Oktanugraha's user avatar
5 votes
1 answer
4k views

C++ shared libraries have duplicate symbols

I am new to c++ symbol tables and libraries, wanted to understand the behavior of symbol table. We are having an android application with native support on it. In process of analyzing symbol tables of ...
Teja's user avatar
  • 119
1 vote
1 answer
657 views

UVCCamera error: registerNativeMethods: class'com/serenegiant/usb/UVCCamera' not found

I try loadLibrary UVCCamera, but get ClassNotFoundException when i Connecting device. This ClassNotFoundException is can't find UVCCamera.so? or can't find method or class from UVCCamera? Or what ...
attente8098's user avatar