Skip to content Skip to sidebar Skip to footer

How To Let 'framework.jar' Compile In Front Of 'android.jar' On Android Studio Arctic Fox

First, how to let the framework.jar compile in front of android.jar on Android-Studio-Arctic-Fox with gradle 7.0.2 and AGP-7.0.2 Second is let Editor first to import from the frame

Solution 1:

It is currently not possible to override android.jar with classes from a custom jar - https://issuetracker.google.com/167750503. However, you could replace android.jar in the Android SDK with your own, and Android Studio and Android Gradle plugin will pick them up.

Alternatively, you can develop Sdk Add-on, and point your users to it. It will be automatically handled by Android Studio. Here is an example of how to build one.

Post a Comment for "How To Let 'framework.jar' Compile In Front Of 'android.jar' On Android Studio Arctic Fox"