![]() ![]() License: Apache License 2.0: Version: 2.2.3: SHA-1 or SHA-256. C:\Program Files\JDK) IDE for android development. WARNING 2: environment variable JAVAHOME should be defined and should point to a valid JDK (e.g. In that case, just add your *.so files into the libs folder (please respect the same architecture as the solution 1 : libs/armeabi/.so for instance) and modify the adle file of your app to add the source directory of the jniLibs. WARNING: start bin\studio.exe instead of bin\studio64.exe if you only have 32 bit JDK installed. If you don’t want to create a new folder and keep your *.so files into the libs folder, it is possible ! Solution 2 : Modification of the adle file The "jniLibs" folder needs to be created in the same folder as your "Java" or "Assets" folders. Solution 1 : Creation of a JniLibs folderĬreate a folder called “jniLibs” into your app and the folders containing your *.so inside. No extra code requires just sync your project and run your application.so libraries inside "src/main/jniLibs" folder Create Folder "jniLibs" inside "src/main/".so library in apk in android studio Solution 2Īdding. Same answer can also be found in related question: Include. Ensure that compile fileTree (dir: libs, include. It includes a bug fixes focused around gradle, the core IDE, and lint. Right-click the rskit-x.x.jar and select Add as library. WARNING: start binstudio.exe instead of binstudio64.exe if you only have 32 bit JDK installed. This is a minor update to Android Studio 2.2. Add the jar file as an external jar to your project. Your application should have a libs folder under the app directory. ![]() Create the folder project/app/src/main/jniLibs, and then put your *.so files within their abi folders in that location. Put the rskit-x.x.jar in the 'libs' folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |