I'm working on android studio 1.0.1 and am unable to add poi.jar file to the project correctly.
I added poi-3.9.jar to app/libs file and synchronised the project, however running the project gives this error:
failed to complete gradle execution
I'm working on android studio 1.0.1 and am unable to add poi.jar file to the project correctly.
I added poi-3.9.jar to app/libs file and synchronised the project, however running the project gives this error:
failed to complete gradle execution
go to: file > project structure > click app in the list on left
Click Dependencies tab on top > click green plus > click File dependencies > find your library, should be in libs folder, if not add it in system exploler > Click ok, apply, ok
Rebuild gradle, if you get error, change build.gradle in your library:
compileSdkVersion, minSdkVersion, targetSdkVersion to match with your app build.gradle