pwittchen / prefser

Wrapper for Android SharedPreferences with object serialization and RxJava Observables
Apache License 2.0
229 stars 26 forks source link

ERROR: Failed to transform file using transform JetifyTransform #128

Closed bkhezry closed 6 years ago

bkhezry commented 6 years ago

Hi, I add version of 2.2.1 to my build gradle that migrate to androidx. during project syncing return this errors:

ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Failed to transform file 'prefser-rx2-2.2.1.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Failed to transform file 'prefser-rx2-2.2.1.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
Show Details
Affected Modules: app

ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Failed to transform file 'prefser-rx2-2.2.1.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform
Show Details
Affected Modules: app
pwittchen commented 6 years ago

Hi,

Thanks for reporting this issue. I have no idea what JetifyTransform is. I'll check it tomorrow during the day.

Regards

pwittchen commented 6 years ago

I'm not really sure if this problem is library issue. I've found one answer on SO. Please, check it out and verify if it applies to your project. Link: https://stackoverflow.com/a/51827551/1150795.

bkhezry commented 6 years ago

@pwittchen thanks for your reply. I just use jitpack for your library and with repository of jitpack, it work fine.

pwittchen commented 6 years ago

Ok, great!