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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:21:01+00:00 2026-05-28T05:21:01+00:00

I have a some custom views that need to be reuse at diffrent projects,

  • 0

I have a some custom views that need to be reuse at diffrent projects,
So I created a new android project (which marked at properties as Library project)
and put at this project the code I want to reuse.
now I want to export it to jar, and use the jar file in other projects.
the problem is that none of the export options (only source code/ include resources..) not working: the jar file is being created, but when I’m using it – I’m getting compilation errors/ runtime exceptions (depands how I exported the jar..)

what am I’m doing wrong?
what is the right way to create jar file that provides additional custom views?

  • 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-28T05:21:02+00:00Added an answer on May 28, 2026 at 5:21 am

    you don’t need export to a jar file, you new android project just set the library to your Library project.

    you can through this to set:

    Right Click your project — Properties — android

    in the right down area, you can set library project, just add

    also, you can check this http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject

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

Sidebar

Related Questions

I have some projects that run on custom hardware. Now the hardware has changed,
I have inherited a visual studio 2003 project which uses some custom build steps.
I have a view that I want to add some custom drawing to. I
I have some custom logic that needs to be executed every single time a
I have authored some custom classes that I would like to create using XAML:
We have a project where a vendor produces some custom code for us and
I have a Django app with custom form fields, some of which have slow
I have custom groupViews that need to change state when they are expanded and
I have created a custom Array Adapter to bind a custom row that contains
I'm kind of new to iOS development and need some advice. I have a

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.