Giter Club home page Giter Club logo

Comments (11)

qrh672114236 avatar qrh672114236 commented on August 17, 2024 2

java.lang.ClassNotFoundException,Didn't find class "me.jessyan.autosize.InitProvider" on path: DexPathList[[zip file "/data/app/-1.apk"],nativeLibraryDirectories=[/data/app-lib-1, /vendor/lib, /system/lib, /data/datalib]],BaseDexClassLoader.java,56]

兼容测试部分手机运行报这个错误 ,App 已添加 MultiDex.install(this) auto版本1.1.2 multidex版本1.0.3

from androidautosize.

JessYanCoding avatar JessYanCoding commented on August 17, 2024

ok,感谢贡献,已将该 issues 收录于 #13 (comment)

from androidautosize.

GeminiWy avatar GeminiWy commented on August 17, 2024

请问在不升级版本的情况下,这个问题有没有其他方案解决呢?FragmentManager.FragmentLifecycleCallbacks可以替换成其他的类吗?

from androidautosize.

JessYanCoding avatar JessYanCoding commented on August 17, 2024

@GeminiWy 使用旧版本 v0.7.0,里面不包含 FragmentManager.FragmentLifecycleCallback 以及 v7 包

from androidautosize.

GeminiWy avatar GeminiWy commented on August 17, 2024

@JessYanCoding 谢谢

from androidautosize.

AndBird avatar AndBird commented on August 17, 2024

这个坑我也找了好久,需要support v4 25以上
implementation 'me.jessyan:autosize:1.1.1'
implementation 'com.android.support:support-v4:25.3.0'

from androidautosize.

yuxuelian avatar yuxuelian commented on August 17, 2024

我也遇到了这个错误 这里分享一下我的解决经验
我报这个错误是因为我使用了AndroidX 这个工程还是使用的v4那套兼容包 在 gradle.properties 添加
android.useAndroidX=true
android.enableJetifier=true
这两个配置,重新编译 问题解决

from androidautosize.

kongfanshuai avatar kongfanshuai commented on August 17, 2024

java.lang.RuntimeException: Unable to get provider me.jessyan.autosize.InitProvider: java.lang.ClassNotFoundException: Didn't find class "me.jessyan.autosize.InitProvider"
在android 4.4系统上报这个错,oppop手机

from androidautosize.

JessYanCoding avatar JessYanCoding commented on August 17, 2024

@kongfanshuai multidex

from androidautosize.

e9ab98e991ab avatar e9ab98e991ab commented on August 17, 2024

AndroidAutoSize 0.7.0 + 1.1.2 综合版本
https://github.com/e9ab98e991ab/AndroidAutoSize

from androidautosize.

Allen-ZXJ avatar Allen-ZXJ commented on August 17, 2024

java.lang.ClassNotFoundException,Didn't find class "me.jessyan.autosize.InitProvider" on path: DexPathList[[zip file "/data/app/-1.apk"],nativeLibraryDirectories=[/data/app-lib-1, /vendor/lib, /system/lib, /data/datalib]],BaseDexClassLoader.java,56]

auto版本1.2.1, 系统android10,奔溃

from androidautosize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.