Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jxl.jar in android

I don't know how to add jxl.jar in android studio I tried to pasts jxl.jar in lib project and using project structure then tried to start to create WorkBook obj but not working.

what I missed?

like image 866
Hend ahmed Avatar asked Apr 26 '26 06:04

Hend ahmed


2 Answers

If you use gradle (Android Studio), then add in dependencies:

dependencies {
    implementation 'net.sourceforge.jexcelapi:jxl:2.6.12'
}
like image 107
Jhon Paul Avatar answered Apr 27 '26 20:04

Jhon Paul


  • Paste your jxl.jar into the libs folder

  • Right click it and select 'Add as library'

  • Make sure that compile files('libs/jxl.jar') is in your build.gradle file (or compile fileTree(dir: 'libs', include: '*.jar') if you are using many jar files) if it still not there then you can try to add it manually by adding this compile files('libs/jxl.jar') inside dependancies

  • Synch your project
like image 33
Pavneet_Singh Avatar answered Apr 27 '26 18:04

Pavneet_Singh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!