SQLite2XL icon indicating copy to clipboard operation
SQLite2XL copied to clipboard

I cant import your library

Open JuanIri1999 opened this issue 7 years ago • 7 comments

Hi, sorry for my english.. i try to put your library in android studio but i cant: Android studio show me this:

Failed to resolve: com.ajts.androidmads.SQLite2Excel:library:1.0.4

Can you solve this? Also, i try with 1.0.3 and 1.0.2 but show me the same error.

JuanIri1999 avatar Dec 20 '18 15:12 JuanIri1999

try this app level implementation 'com.ajts.androidmads.SQLite2Excel:library:1.0.0' project level classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'

tarunkonda123 avatar Dec 20 '18 17:12 tarunkonda123

Hi Devs, I have checked this issue. But the library imports perfectly. Do share your app/project level gradle code

androidmads avatar Dec 23 '18 12:12 androidmads

Import the following

implementation 'com.ajts.androidmads.SQLite2Excel:library:1.0.4'

androidmads avatar Dec 23 '18 13:12 androidmads

Hi , Same is the issue with my project, though syncing gradle but with no downloads of the class and project does'nt implement the class SQLiteToExcel, i even added classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2' classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' in project level, Kindly help

tirumalarajajee avatar Aug 22 '22 12:08 tirumalarajajee

  1. Visit this link https://github.com/androidmads/SQLite2XL/tree/master/library/src/main/java/com/ajts/androidmads/library
  2. Copy ExcelToSQLite.java & SQLiteToExcel.java these two classes, to your local project.
  3. Replace com.ajts.androidmads.SQLite2Excel:library:1.0.* this with implementation 'org.apache.poi:poi:3.16' in app level build.gradle
  4. Remove imports related to com.ajts.androidmads.SQLite2Excel dependency from your entire project and add newly added above two classes imports over there
  5. Sync the project and run.
  6. That's it!

rrahul-kamble3 avatar Feb 10 '25 06:02 rrahul-kamble3

Hi tirumalarajajee and jesulo,

Until your issues are resolved, you can download the project from GitHub and add it as a module to your project. This way, you can meet the requirements without making code changes and upgrade to the newer version later once the library sync issue is resolved.

androidmads avatar Feb 15 '25 04:02 androidmads