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

  • SEARCH
  • Home
  • 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 7993763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:56:55+00:00 2026-06-04T13:56:55+00:00

I have a Android project with some classes that I would like to compress

  • 0

I have a Android project with some classes that I would like to compress to a JAR.

I create the JAR by right clicking my project – export – JAR – and the JAR gets created without any warnings.

I can access all classes from the JAR in my code but when I try to build the project get this exception :

java.lang.NoClassDefFoundError: name.of.class.in.package

Does anyone know what resources should be exported with the JAR? The options you get is

.class path
.prject
AndroidManifest.xml
proguard.cfg
project.properties 

Right now I have included all of the above.

Making the JAR into a library project is not an option. And just to make it clear I don’t have anything in the RES folder of my JAR project.

  • 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-04T13:56:57+00:00Added an answer on June 4, 2026 at 1:56 pm

    Open the project properties -> Java Build Path -> Order and Export and check item Android Dependencies are checked to be exported to the result APK.

    And if .jar exist in Library tab under Android Dependencies item.

    If you have .jar in the “libs” folder it should be included by default.

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

Sidebar

Related Questions

I have an Android project that depends on a non-Android JAR that contains resources
I have to create an android project but,it has some dependencies on another project
I would like to automate my Android project building with Ant. Currently I have
I have an Android (Java) project that includes some native C/C++ code and I
I just had the odd case that my Android project for some reason would
I have an android project and I want to use some classes from another
I have an Android project in eclipse IDE which was working. After some imports
I have some small project to stream video to android device. Streaming is done
I have a project for visualizing some data on tablet. I'll probably use android
I have an Android project that branched into three different applications, app-1 , app-2

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.