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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:50:41+00:00 2026-06-14T07:50:41+00:00

I am trying to run an Android project that someone else has created. I

  • 0

I am trying to run an Android project that someone else has created.
I have opened the project in Eclipse as:

File --> New --> Project --> Android Project from existing code

Here are the first two lines of one of Java files:

package aa.bb.cc;

import java.io.File;

There is red cross sign at the beginning of these lines and when I hold the mouse over them I get this message for the first line: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files anfd for the second line get this message: The import java.net cannot be resolved.

What is the reason and how can I resolve these error messages?

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-06-14T07:50:42+00:00Added an answer on June 14, 2026 at 7:50 am

    Do one more step before running:

    Right Click(Project) -> Properties -> Java Build Path -> Libraries -> 
                                              Add Library -> Select the Java Library
    

    Click OK and then clean-build (Project -> Clean & Project -> Build All or Ctrl+B) your project. It should be fine.

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

Sidebar

Related Questions

I'm trying to run my android application on IntelliJ. I created a project from
I'm trying to run Jersey on Jetty on Android. I've created an Android that
I am trying to run android project. The project has a red x on
I have an html/javascript/css project that i am trying to make an Android application
I am trying to send the files from an Android project so that a
I'm trying to build an Android project using the ndk, but I have run
I am trying to run the demo android maps project(MapsDemo) that comes along with
I have a simple android project that I am trying to debug inside of
I'm trying to run a mp3 file using android media player. I'm using this
I have this problem when trying to run hello world program using android SDK.

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.