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 695333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:56:54+00:00 2026-05-14T02:56:54+00:00

I made an android project using eclipse. It looks like: src/ ActivityMain.java lib/ Square.java

  • 0

I made an android project using eclipse. It looks like:

src/
   ActivityMain.java
   lib/
      Square.java
      Circle.java

I want to export only the /lib package really as a jar (don’t want to include stuff at the top level like ActivityMain.java). Are there any special rules I need to be aware of before jar-ing this for use in another android project, or I should be all set?

Thanks

  • 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-05-14T02:56:55+00:00Added an answer on May 14, 2026 at 2:56 am

    Bear in mind that Square and Circle cannot reference resources (at least not via R. syntax), and that JARs cannot package resources, manifest entries, etc. If all you are trying to JAR up is pure Java code (perhaps using Android APIs), then you should be fine.

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

Sidebar

Related Questions

I made Android project on Windows 7 using Android SDK and Eclipse. After moving
i made news applicaion in android using RSS feed and now i want to
here I uploaded my Android project made in Eclipse. The idea is that i
I added google-collect-1.0.jar to my Android project and it made a 50K .apk into
i have made an android application for Project Build Target as Target name:: Android
I've already written a game engine in java using eclipse and opengl es, I
I have just started using services in Android and I have a made a
I have made apps for iPhone, but want to also code for the Android
I'm developing a game for Android, and I made it using OpenGL ES 2.0.
I made this code in Eclipse (for Android), but there are some errors .

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.