bin^2

bin^2

discord server
twitter

Android Dev Tips 2023-04-25

Android Dev Tips #2023-04-25#

#Android #Dev #Tip

Disable Jetifier#

Jetifier is a tool in Android Studio that converts third-party dependencies using the Android Support library to use the AndroidX library. This is useful for migrating old projects or using new dependencies. However, in some cases, you may need to disable Jetifier. Here's how to disable Jetifier:

  1. Open the gradle.properties file in the root directory of your project.

  2. Add the following code at the end of the file:

android.useAndroidX=true  
android.enableJetifier=false
  1. Rebuild your project.

This code will disable Jetifier. Please note that disabling Jetifier may cause errors in your project, so use it with caution.

Check if Jetifier can be disabled#

./gradlew canISayByeByeJetifier -Pandroid.enableJetifier=false
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.