简体   繁体   中英

Byte-Buddy-Android for current Dx

I'm currently using byte-buddy , byte-buddy-android and Android's dx_1.7 library. The dx_1.7.jar is out of date (2012) and I wonder if someone has already built a new byte-buddy-android.jar that works with a current dx.jar (not dx_1.7.jar ) provided by a more current Android SDK. How would I achieve something like this?

The reason for the outdated dependency is that Google does not distribute newer versions of their compiler via Maven Central or any other central repository. Therefore, it is outdated.

However, this should not cause any trouble as the dex compilation should be able to process any Java code even if it depends on newer Android APIs. If you, for some reason, require to use a newer version of the DX compiler, you need to recompile the module using the newer DX compiler API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM