GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cannot build any sketch after android studio install error code d8 classes too large for dex file · Issue #737 · processing/processing-android

cannot build any sketch after android studio install error code d8 classes too large for dex file #737

New issue
Copy link
New issue
Copy link
Open
Open
cannot build any sketch after android studio install error code d8 classes too large for dex file#737
Copy link
Labels
needs confirmation

Description

@paulgoux
paulgoux
opened on May 9, 2023
Issue body actions

after a simple install of androis studio and android mode in processing, any build fails with the following error message

ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 131430 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.

in processing previous iteration those were the steps required to build. I'm using lenovo ideaflex pad 5, with ryzen architecture, on windows 10.

It does provide a how to resolve this issue, but its out of the scope of my understanding.

https://developer.android.com/build/multidex#java

2023-05-09 01_33_19-Settings

2023-05-09 01_33_41-circle _ Processing 4 2

Activity

  1. benfry
    transferred this issue frombenfry/processing4on May 11, 2023
  2. ranaaditya commented on May 12, 2023

    @ranaaditya
    ranaaditya
    on May 12, 2023
    Member
    More actions

    after a simple install of androis studio and android mode in processing, any build fails with the following error message

    ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 131430 > 65536) com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: The number of method references in a .dex file cannot exceed 64K.

    in processing previous iteration those were the steps required to build. I'm using lenovo ideaflex pad 5, with ryzen architecture, on windows 10.

    It does provide a how to resolve this issue, but its out of the scope of my understanding.

    https://developer.android.com/build/multidex#java

    2023-05-09 01_33_19-Settings

    2023-05-09 01_33_41-circle _ Processing 4 2

    hi @paulgoux , are you using android studio for using processing-android ?

  3. ranaaditya commented on May 12, 2023

    @ranaaditya
    ranaaditya
    on May 12, 2023
    Member
    More actions

    @paulgoux are you using processing-android as 3rd party lib in android studio or just trying to setup processing in andoid studio ?

    For referrence:
    setup processing-android

    Thanks !

  4. paulgoux commented on May 15, 2023

    @paulgoux
    paulgoux
    on May 15, 2023
    Author
    More actions

    i reinstalled everything and works other than the video library.

  5. codeanticode
    added
    needs confirmation
    on Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs confirmation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.