Adding Library to project in Android Studio -


i working mupdf library rendering pdf files in android application.

for built mupdf library using ndk , different tools.

now want add compiled code project in android studio.

i quite new android studio not able it.

so can 1 me with.

i trying follow this link.

you add library in libs directory here:

c:\users\blabala\desktop\project\app\libs 

and write in gradle this:

dependencies {     compile filetree(include: ['*.jar'], dir: 'libs') } 

also can watch this tutorial. more information here

update:

c:\users\balbala\desktop\appname\library 

just add library in project rebuild project , go

but have change manifest of library this:

<?xml version="1.0" encoding="utf-8"?>  <manifest xmlns:android="http://schemas.android.com/apk/res/android"           package="com.example.blabala">      <uses-sdk             android:minsdkversion="4"             android:targetsdkversion="21"/>     <application/>  </manifest> 

Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -