Open adixitflair opened 4 years ago
Same problem. I have lib of version 3.1.0
Same problem
Same problem.
Same problem
Same problem
Same problem
For the time being, you can download the jar from @AlexRU18 and add it in the libs
folder and then add implementation fileTree(include: ['*.jar'], dir: 'libs')
.
.. and then add
implementation fileTree(include: ['*.jar'], dir: 'libs')
.
Yes, this is works, thank you
same problem here
@AlexRU18 can you share Jar file? I'm not finding.
I have the .jar file in lib and in the app:
Program type already present: com.activeandroid.ActiveAndroid
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.activeandroid.ActiveAndroid
@AlexRU18 Thanks do I need to add jar file path like implementation files('libs/activeandroid-3.1.0-SNAPSHOT') or implementation fileTree(include: ['*.jar'], dir: 'libs')?
@KalinRangelovRangelov i think you should clean and rebuild project
@Suchiq I was deleted the existing "implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'" and add "implementation fileTree(include: ['*.jar'], dir: 'libs')"
dont forget put jar into app/libs/
@AlexRU18 Thanks do I need to add jar file path like implementation files('libs/activeandroid-3.1.0-SNAPSHOT') or implementation fileTree(include: ['*.jar'], dir: 'libs')?
You need to put the jar directly in the libs folder
@AlexRU18 - Clean/Rebuild or Invalidate Caches and Restart - does not work :(
Since com.michaelpardo:activeandroid:3.1.0-SNAPSHOT has been removed from the maven repo I solved this issue by cloning the project and imported it as a module dependancy. You could also use the .jar file of course but I preferred this work around.
Same problem here.
@peterdk @AlexRU18 Thanks :) That solution solved my problem.
same problem can anyone explain how to solve?
https://github.com/pardom-zz/ActiveAndroid/issues/570#issuecomment-630023582
Copy this jar, to lib folder and include in app/gradle something like this: implementation files('libs/activeandroid-3.1.0-SNAPSHOT.jar')
comment out //implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
This solved my problem.
@Suchiq #570 (comment)
Thanks, this solved my problem.
In my project, I am using two modules.These two modules needs active android dependencies, so I copied the jar to module level libs folders. Now I am getting the below build error
Program type already present: com.activeandroid.ActiveAndroid
Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.activeandroid.ActiveAndroid
I have followed the same instruction and successfully rebuild my project but when I am running my code on-device application was crashing and I have to get this error : android.database.sqlite.SQLiteException: table virus_scan_time_table has no column named category (code 1 SQLITE_ERROR): Please help on this error.
implementation files('libs/activeandroid-3.1.0-SNAPSHOT.jar')
where is this activeandroid-3.1.0-SNAPSHOT.jar can you share location?
https://drive.google.com/file/d/1EfsPM4h9KkApt9qNCZH7W2Hjz0ViXhuj/view
I have followed the same instruction and successfully rebuild my project but when I am running my code on-device application was crashing and I have to get this error : android.database.sqlite.SQLiteException: table virus_scan_time_table has no column named category (code 1 SQLITE_ERROR): Please help on this error.
If category is the newly added column, then need to upgrade the version of the database.
same problem can anyone explain how to solve?
Copy this jar, to lib folder and include in app/gradle something like this: implementation files('libs/activeandroid-3.1.0-SNAPSHOT.jar')
comment out //implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
This solved my problem.
please help, can you tell me where the lib folder sir ? thank youu
same problem can anyone explain how to solve?
#570 (comment) Copy this jar, to lib folder and include in app/gradle something like this: implementation files('libs/activeandroid-3.1.0-SNAPSHOT.jar') comment out //implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT' This solved my problem.
please help, can you tell me where the lib folder sir ? thank youu
It's inside the app folder.
I have followed the same instruction and successfully rebuild my project but when I am running my code on-device application was crashing and I have to get this error : android.database.sqlite.SQLiteException: table virus_scan_time_table has no column named category (code 1 SQLITE_ERROR): Please help on this error.
If category is the newly added column, then need to upgrade the version of the database.
I did not add any column. I have just added jar file in the libs folder and after that, I have run my code that time getting this error.
step by step solution here
同样的问题
Download to local reference 直接下载到本地引用 https://n802.com/file/1470701-444074836
Please download the official jar: https://github.com/pardom-zz/ActiveAndroid/downloads
Don't Get Hacked
The jar file is no more available. Anybody has a valid link ? Or please upload it again somewhere, for example on Github. Thanks.
Anybody has a valid link ?
I updated the link: https://github.com/pardom-zz/ActiveAndroid/issues/570#issuecomment-630023582
I'm not able to compile Failed to resolve: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT no repo at this path https://oss.sonatype.org/content/repositories/snapshots/com/michaelpardo/ please let me know how to resolve this issue.