trycatchx / RocketX

🔥🔥 android 端编译加速插件🚀 动态识别未改动 module 并在编译流程中替换为 aar ,只编译改动模块,加速 Android apk 的编译速度。
861 stars 104 forks source link

有人碰到AndroidX适配问题了吗? #4

Closed yejiabin9 closed 2 years ago

yejiabin9 commented 2 years ago

The given artifact contains a string literal with a package reference 'android.support.design.widget' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.

yejiabin9 commented 2 years ago

Failed to transform '/Users/macos/.gradle/caches/modules-2/files-2.1/com.android.tools.build/bundletool/0.13.2/bb629ece022e5aa20cff66517e728c89f9667721/bundletool-0.13.2.jar' using Jetifier. Reason: The given artifact contains a string literal with a package reference 'android.support.design.widget' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.. (Run with --stacktrace for more details.)

louis-lzt commented 2 years ago

我们项目中也用了AndroidX,并没有出现这个兼容的问题,你这个像是项目中有旧的代码引起的对AndroidX的冲突

trycatchx commented 2 years ago

@GHyejb 目前 rockext 没有对 androidX 做任何动作,你的问题可以查阅 issuetrackerstackoverflower , 确认项目本身能运行通过。如与rockext 相关,可再提 issue ,并告诉详细信息。

yejiabin9 commented 2 years ago

稍等,我一会再试试