# Custom android extension runtime crash – Jetifier not converting support libraries to AndroidX

**URL:** <https://forum.defold.com/t/custom-android-extension-runtime-crash-jetifier-not-converting-support-libraries-to-androidx/82017>\
**Category:** Questions\
**Created:** [November 27, 2025, 6:57pm UTC](https://forum.defold.com/t/custom-android-extension-runtime-crash-jetifier-not-converting-support-libraries-to-androidx/82017 "2025-11-27T18:57:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryosumin](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/ryosumin/32/41704_2.png) [@ryosumin](https://forum.defold.com/u/ryosumin)\
**Post date:** [November 27, 2025, 6:57pm UTC](https://forum.defold.com/t/custom-android-extension-runtime-crash-jetifier-not-converting-support-libraries-to-androidx/82017/1 "2025-11-27T18:57:18Z")

</div>

Hi everyone,

I’m currently developing an Android extension for Defold and have run into a problem.

Following the setup instructions here:

> **[Android | Skillz](https://docs.skillz.com/docs/installing-skillz-android/)**
>
> This article will walk you through installing the Skillz SDK in your native Android project.

the APK builds successfully, but launching the app results in a runtime crash.

From adb logcat I located the issue:

```lua
E unknown:NativeModuleInitError: Failed to create NativeModule "UIManager"

E unknown:NativeModuleInitError: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v7/widget/AppCompatImageView;

E unknown:NativeModuleInitError: at com.airbnb.android.react.lottie.LottiePackage.createViewManagers(LottiePackage.java:25)

...

Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.widget.AppCompatImageView" on path:

```

[logcat.log.txt](https://forum.defold.com/uploads/short-url/6iTDPLbuUWsN8Y2EdzmDGJaPi9i.txt) (20.2 KB)

It appears that Jetifier is not working.

Libraries that should have been converted to AndroidX are still referencing the old android.support.\* classes.

When building a regular Android app with Gradle, adding this to gradle.properties:

```lua
android.useAndroidX=true
android.enableJetifier=true

```

will automatically rewrite support libraries to AndroidX.

Based on this post:

> [@Migrating to AndroidX](https://forum.defold.com/t/migrating-to-androidx/66726/4):
>
> In Defold 1.2.177 we will enabled support for the Android Jetifier tool to the Defold build servers to help with migration to AndroidX. The Jetifier tool is currently running on the beta server ([https://build-stage.defold.com](https://build-stage.defold.com)) and will be available on the main build server when 1.2.177 is released in about a week. The Jetifier tool will automatically try to migrate dependencies defined in the build.gradle files of extensions and in .jar files in your project. The Jetifier tool is enabled as an …

Defold versions 1.2.177+ support Jetifier.

I have also set this inside appmanifest:

```lua
jetifier: true

```

However, Jetifier still does not seem to run, and the runtime keeps looking for android.support.v7.widget.AppCompatImageView.

**Question**

Is there any additional step required to make Jetifier work in Defold?

Or is there anything missing in my extension setup that prevents Jetifier from rewriting the support libraries correctly?

Defold ver:

1.11.2

Platforms:

Android

Minimal reproduction case project:

[GitHub - ryosumin/defold-extension-skillz-dev · GitHub](https://github.com/ryosumin/defold-extension-skillz-dev.git)

Server Build Log:

[log.txt](https://forum.defold.com/uploads/short-url/gO0dCmWGvyYsm1KPUuAQT5i5GEG.txt) (696.4 KB)
