Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8227005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:58:22+00:00 2026-06-07T15:58:22+00:00

I have a big project with many library projects as well as many packages

  • 0

I have a big project with many library projects as well as many packages and classes in source code.

Using ADT (r20) in Eclipse (v4.2) to build, I get this error:

[2012-07-08 09:05:33 – AndroidUIPatterns] Dx trouble writing output:
Too many fields: 69379; max is 65536. By package:

19 android.app
14 android.content.pm
 5 android.content.res
 2 android.gesture
39 android.graphics
 8 android.graphics.drawable
13 android.os
 3 android.provider

…
…
[2012-07-08 09:05:33 – AndroidUIPatterns] Conversion to Dalvik format failed with error 2

For full error log, your can see it here: http://pastie.org/4218297

It seems there is a maximum limit for number of package / class in an Android project?

I’ll appreciate all your help if anyone can tell me how to solve this error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:58:24+00:00Added an answer on June 7, 2026 at 3:58 pm

    It’s a limitation of dx compiler that is currently limited to 65536 (2^16) field/method references per dex. It’s “being fixed” since 2010.

    The only solution now is to split application into multiple dex files, so no single dex file exceeds the 64k limit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a big project compiled into libProject.so-file (shared library), I made some modules
We have a big C++ project that's compiled as native unmanaged code. We need
I really have big problems with importing an extern C-Library to my existing C++-Project.
I have a big project that also use many libraries. With jstack I found
So I have a big project with many modules in it, and I want
I am working in a fairly big project. We have lots of projects and
I find it difficult to navigate through code for a big project involving many
I have a very big flex 4 project with many flex modules and flash
I have a big .net mvc 2 project where we are using MvcContrib Portable
I have a big C++ project and I need to do many steps in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.