Git Product home page Git Product logo

Comments (5)

ewpatton avatar ewpatton commented on August 15, 2024 1

It should be easy enough to add the multidex flag to build.xml invocation of dx, but the problem is that App Inventor's build system doesn't expect that there will be more than one classes.dex in the extension. You may want to look at the dependency tree of your extension and see if all the dependencies are really necessary to do what you want. The number of methods in your extension exceeds the number of methods in all of App Inventor and its dependencies...

from extension-template.

10MINT avatar 10MINT commented on August 15, 2024

I know that I use a lot of jar files, but that's because AI doesn't support dependency resolving. I have to resolve all dependencies and add all jar files to lib/deps. Would splitting the methods into different extension help to overcome the limit?

from extension-template.

ewpatton avatar ewpatton commented on August 15, 2024

If App Inventor resolved the dependencies, it wouldn't fix the problem of there being too many dependencies. This simply won't work unless we patch core to support extensions having more than one classes.dex file.

from extension-template.

pavi2410 avatar pavi2410 commented on August 15, 2024

I have to resolve all dependencies and add all jar files to lib/deps

@10MINT Does the dependencies here refer to those used by App Inventor itself? Doesn't AndroidRuntime.jar have them?

from extension-template.

10MINT avatar 10MINT commented on August 15, 2024

@pavi2410 I meant external dependencies. For example, the Apache POI library has a lot of dependencies

from extension-template.

Related Issues (7)

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.