Open SetelAssignment opened 2 years ago
What will happen? Will it stop working? Will it cause build issues? Are there other known dependencies that cause it?
It will stop working with AGP 8.0. See https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-removed
@sirius94 Yes, I've tested it . Indeed a serious issue. Any workaround/fix? Any alterative?
Currently I'm not aware of any alternative to using one of the new APIs. I think this one would be the closest to the old one https://github.com/android/gradle-recipes/blob/agp-7.4/Kotlin/modifyProjectClasses/app/build.gradle.kts
@sirius94 I have no idea what's on this link, but maybe it could be useful for others. Can you please let me know here if you find anything (fix/alternative/working-fork) ?
@sirius94 @AndroidDeveloperLB @SetelAssignment Try this: https://github.com/LSPosed/LSParanoid
@yujincheng08 How do you use it in a project that has it using an Android library (to be used as AAR library)? These were the issues and workarounds for this here: https://github.com/MichaelRocks/paranoid/issues/61 https://github.com/MichaelRocks/paranoid/issues/38
How can we solve it now? I created this: https://github.com/LSPosed/LSParanoid/issues/7
Sadly I'm having issues with the alternative LSParanoid library, and I tried multiple solutions I thought of: https://github.com/LSPosed/LSParanoid/issues/8
@sirius94 @SetelAssignment Have you tried it?
Not yet
@sirius94 While for a normal module it worked fine for me and I don't see the warning anymore (and I even tried the newest gradle version of canary build of Android Studio), currently the issue I'm having is with AAR library.
With Paranoid, I had issues, but I was given advice on how to address them: https://github.com/MichaelRocks/paranoid/issues/38 https://github.com/MichaelRocks/paranoid/issues/61 I thought I solved it, but it only build fine, yet it doesn't obfuscate (in the AAR library module) : https://github.com/LSPosed/LSParanoid/issues/7