Questions tagged [android-jetifier]

Jetifier is an AndroidX migration tool included in Android Studio 3.2 since Canary 14. It scans project dependencies and replaces references to the old support library artifacts and class names with the AndroidX equivalents.

Jetifier is an AndroidX migration tool included in Android Studio 3.2 since Canary 14. It scans project dependencies and replaces references to the old support library artifacts and class names with the AndroidX equivalents.

73 questions
1
vote
1 answer

React Native: How to disable jetifier

I run the following command line npm I jetifier npx jetify This made jetifier enable. How can I disable it?
Mahdi Bashirpour
  • 17,147
  • 12
  • 117
  • 144
1
vote
1 answer

Failed to transform file 'library-1.2.0.aar' to match attributes {artifactType=processed-aar} using transform JetifyTransform

I am migrating my existing project to Androidx . After adding this 2 line android.useAndroidX=true android.enableJetifier=true in gradle.properties , I get a bunch of compile error . I found many solution but nothing worked for me . Please help me…
Amit Swami
  • 27
  • 2
  • 9
1
vote
1 answer

Use AndroidX dependent library in host application which still uses android.support.*

I am using a third party library that has below two dependencies AndroidX: implementation 'androidx.navigation:navigation-fragment:2.1.0-alpha02' implementation 'androidx.navigation:navigation-ui:2.1.0-alpha02' While compiling the host application,…
1
vote
1 answer

Reverse Jetifier for dependency with AndroidX in project with Support Library

I'm trying to use the reverse functionality of the jetifier, but it seems I'm stuck due to an unknown error. I'm running the following command on the standalone jetifier tool (the one embedded in AndroidStudio does not support this…
Ionut Negru
  • 6,186
  • 4
  • 48
  • 78
1
vote
1 answer

Jetifier failed to transform

This error occured after I upgraded my react-native to 0.59 version and applied the jetifier for for new updates. Execution failed to transform for task ':app:javaPrecompileDebug' Failed to transform 'localSDK.jar' using Jetifier. Reason: Method…
Shin Chan
  • 11
  • 3
1
vote
2 answers

Android Jetifier CI/CD

Trying to use the Jetifier in a CI/CD environment, for me specifically I'm using bitrise, but the real issue is I want to automate the deployment process. Prior to AndroidX this worked fine, now I need a way to use the jetifier for the whole app…
KodyVanRy
  • 1,110
  • 1
  • 14
  • 25
1
vote
2 answers

Android Jetifier fails to convert data binding generated support library to AndroidX

I have an Android project that has been migrated to AndroidX. At some point, I want to add a new library. This library is using a support library with data binding. I have enabled Android Jetifier in my gradle.properties. I am using Android Gradle…
1
vote
1 answer

AndroidX conversion failure for library after Android Studio update to 3.3.1, is this a Jetifier bug?

I am using the library Chuck https://github.com/jgilfelt/chuck I am not exactly sure when, but I did a Android Studio update recently and I think its probably the root cause, since it seems to be related to androidx conversion by jetifier, currently…
1
vote
0 answers

Using StorIO with AndroidX and Jetifier

We are converting one of our project to AndroidX and the jetifier seems to choke on the @NonNull annotation in the generated resolver (e.g., mapFromCursor(@NonNull ...) When compiling we have Cannot find symbol on the NonNull symbol. This is…
Benjamin
  • 7,055
  • 6
  • 40
  • 60
0
votes
0 answers

Appcenter failed to build Android React Native build due to Jetifier

I have React Native project with CI Appcenter integration Due to Jetifier warn build always fails I tried to use android.useAndroidX=false android.enableJetifier=false but build fails, because I need androidx migrations. I also tried to…
0
votes
1 answer

Flutter Build Failing ( Android Transforming Activity failed)

I am getting this build error. I have done gradle cache rebuild, flutter clean and pub get but still no progress. My application uses flutter_simple_Edge_detetion as available here. Since the author is not supporting the package further I am using…
Abhi
  • 15
  • 5
0
votes
0 answers

How to select AndroidX core version used by enableJetifier=true

I want to use some features only present in the latest release of AndroidX core, but my project is still using android.enableJetifier=true and if I add an implementation line to build.gradle I get duplicate class errors. What is the right way to…
singpolyma
  • 10,999
  • 5
  • 47
  • 71
0
votes
1 answer

How to reference multiple aar artifacts in a com.android.library module?

In my Android application project I am trying to avoid referencing an external Maven repository in my project from where I would load multiple .aar artifacts which make up one SDK. Instead, I would like to put the .aar files into my project and then…
JJD
  • 50,076
  • 60
  • 203
  • 339
0
votes
2 answers

React Native Execution optimizations have been disabled for tasks sudden error

So i was creating a react-native app and started working on it and everything is fine but suddenly these errors appeared from no where when i reloaded my app , the application on emulator keeps crashing when ever i try to build it info Running…
melek hedhili
  • 67
  • 2
  • 8
0
votes
1 answer

Gradle Error: '(androidx.sqlite.db.SupportSQLiteOpenHelper.Factory)' cannot be applied to '(com.fstyle.library.helper.AssetSQLiteOpenHelperFactory)'

I'm using the AssetSQLiteOpenHelper library on an Android application but when creating a new instance of the AssetSQLiteOpenHelperFactory class in the following context: RoomDatabase.Builder builder = Room.databaseBuilder( …