Android-universal-image-loader: E/ImageLoader: No field mMaxWidth in class Landroid/widget/ImageView;

Created on 17 Apr 2020  路  9Comments  路  Source: nostra13/Android-Universal-Image-Loader

java.lang.NoSuchFieldException: No field mMaxWidth in class Landroid/widget/ImageView; (declaration of 'android.widget.ImageView' appears in /system/framework/framework.jar!classes3.dex)

Issue is occurring in ANDROID 10

Most helpful comment

@GovindaPaliwal @nrazon
You can simply use this commit bij using JitPack:

In your build.gradle (app level) file, add:

repositories {
    maven { url "https://jitpack.io" }
}

And replace implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' with:
implementation 'com.github.nostra13:Android-Universal-Image-Loader:f6a9615868482672c3630cb7db6dcf43391e80de'

All 9 comments

How can we resolved this issue android Q ?? Can you guide some steps for same

I am facing same issue.

@nostra13 You mentioned that you don't have time to new development; but you committed a fix for android 10 related bugs.
Does that mean we will expect a new release soon for this great library?

@nrazon issue fixed.
For now don't use
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' or .jar
You can download library as zip and add manually as module.
I am facing same issue, but this is worked in my case.

fixed in this commit: f6a9615

@GovindaPaliwal @nrazon
You can simply use this commit bij using JitPack:

In your build.gradle (app level) file, add:

repositories {
    maven { url "https://jitpack.io" }
}

And replace implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' with:
implementation 'com.github.nostra13:Android-Universal-Image-Loader:f6a9615868482672c3630cb7db6dcf43391e80de'

Hello, @thijsonline when I try to use that implementation I receive the following after doing Gradle sync:

ERROR: Unable to resolve dependency for ':app@originalDebugAndroidTest/compileClasspath': Could not resolve com.github.nostra13:Android-Universal-Image-Loader:f6a9615868482672c3630cb7db6dcf43391e80de.

When I click on "Show Details" I don't find any further details.
Does anyone have a suggestion for how to fix?

I harassed jitpack.io and got their build to work
I'm using this implementation and the build is done, so if their cache works then you guys should be able to use this: implementation 'com.github.nostra13:Android-Universal-Image-Loader:458df4da2e'

@thijsonline man i literally wanna thank you for the way you gave man my project was stuck for like 1 month cuz of that..Man u are saviour thx my man..:)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ashwanibhatt902 picture ashwanibhatt902  路  12Comments

giaur500 picture giaur500  路  6Comments

ZuzooVn picture ZuzooVn  路  10Comments

mrleolink picture mrleolink  路  8Comments

ziem picture ziem  路  37Comments