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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T23:30:47+00:00 2026-05-28T23:30:47+00:00

I have made one project as a library, while calling that library project to

  • 0

I have made one project as a library, while calling that library project to the main project.

I have made an action-bar class and made it a library, while calling it in main project.

I am getting error on Console as Could not find *Actionbar.apk!

While logcat shows as follows:

01-30 13:36:47.595: E/AndroidRuntime(404): FATAL EXCEPTION: main
01-30 13:36:47.595: E/AndroidRuntime(404): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sos.emergency/com.sos.emergency.SOSHome}: java.lang.NullPointerException
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.ActivityThread.access$2300(ActivityThread.java:125)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.os.Handler.dispatchMessage(Handler.java:99)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.os.Looper.loop(Looper.java:123)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.ActivityThread.main(ActivityThread.java:4627)
01-30 13:36:47.595: E/AndroidRuntime(404):  at java.lang.reflect.Method.invokeNative(Native Method)
01-30 13:36:47.595: E/AndroidRuntime(404):  at java.lang.reflect.Method.invoke(Method.java:521)
01-30 13:36:47.595: E/AndroidRuntime(404):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
01-30 13:36:47.595: E/AndroidRuntime(404):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
01-30 13:36:47.595: E/AndroidRuntime(404):  at dalvik.system.NativeStart.main(Native Method)
01-30 13:36:47.595: E/AndroidRuntime(404): Caused by: java.lang.NullPointerException
01-30 13:36:47.595: E/AndroidRuntime(404):  at com.sos.emergency.SOSHome.onCreate(SOSHome.java:35)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
01-30 13:36:47.595: E/AndroidRuntime(404):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
01-30 13:36:47.595: E/AndroidRuntime(404):  ... 11 more

i am working according to the given link

http://thiranjith.wordpress.com/2011/07/15/actionbar-design-pattern-example-for-android/

along with other reference as,

http://developer.android.com/guide/developing/projects/projects-eclipse.html

and

http://developer.android.com/guide/topics/ui/actionbar.html

I have cleaned my project several times, also tried various solution found on net, but could not solve it.

My code snippet where i am getting error,

requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.home_screen);

ActionBar = (***_Actionbar) findViewById(R.id.actionBar);
ActionBar.setTitle(R.string.app_name); //getting error here
ActionBar.setHomeLogo(R.drawable.ic_title_home_default);
  • 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-28T23:30:48+00:00Added an answer on May 28, 2026 at 11:30 pm

    Go to Project–>Properties

    Select Android from left-hand side list

    Uncheck the “Is Library” checkbox.

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

Sidebar

Related Questions

I have a class library project that i have made. Let's call it ClassA.
Here's my problem: I have an unmanaged dll that I made.I'm calling one of
I have made a swings application but there is one problem in that which
I have created a dll in C++ using a Class Library project in Visual
In one of our projects, we have a class library we use for more
I build a .NET Class Library project that accesses the mshtml.HTMLDocument when called (from
I have a project that I am developing built off CodeIgniter. The main part
The situation: We have a library project that houses much of our code for
Post-release, I have made one small change to one form in our development site
I have made some changes in one perforce client, but haven't submitted them. I

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.