Coder Social home page Coder Social logo

Multidex 怎么破 about appjoint HOT 3 CLOSED

prototypez avatar prototypez commented on June 4, 2024
Multidex 怎么破

from appjoint.

Comments (3)

PrototypeZ avatar PrototypeZ commented on June 4, 2024

你好,您这里的情况看上去向多次 appjoint 在dex中出现了多次,请问您这边是怎么一个引用路径?请问是否方便加一下我微信 zjnb1114 便于定位一下呢?

from appjoint.

trevorwang avatar trevorwang commented on June 4, 2024

上面的问题在打开 instant run之后运行通过, 不过在4.4 模拟器上还有问题

11-30 09:37:18.911 2292-2292/xxx.xxx.xxx E/dalvikvm: Could not find class 'xxx.xxx.xxxx', referenced from method io.github.prototypez.appjoint.AppJoint.<init>
11-30 09:37:18.911 2292-2292/xxx.xxxx.xxxx E/AndroidRuntime: FATAL EXCEPTION: main
    Process: xxx.xxx.xxx, PID: 2292
    java.lang.IllegalAccessError: tried to access class xxx.xxx.xxxx from class io.github.prototypez.appjoint.AppJoint
        at io.github.prototypez.appjoint.AppJoint.<init>(AppJoint.java:26)
        at io.github.prototypez.appjoint.AppJoint.<init>(AppJoint.java:18)
        at io.github.prototypez.appjoint.AppJoint$SingletonHolder.<clinit>(AppJoint.java:104)
        at io.github.prototypez.appjoint.AppJoint.get(AppJoint.java:100)

from appjoint.

trevorwang avatar trevorwang commented on June 4, 2024

切记:必须保证class是public的,才可以跨dex调用

from appjoint.

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.