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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:25:31+00:00 2026-06-02T14:25:31+00:00

I have been working with the Android SDK in the Eclipse IDE and have

  • 0

I have been working with the Android SDK in the Eclipse IDE and have run into a problem with the sample codes provided with the Android SDK.

I am trying to get the Notepad sample code (specifically the NoteEditor) to work and every single import in every class does not work and says that it cannot be resolved to a type. If I scroll down and import the android.jar file then all of the imports work but the variable R does not. I cannot find where R is used and don’t know exactly what it is.

Does anyone know if I am missing something like a library or why I would need to import android.jar every time. I would expect these sample projects to work right out of the box so I figured it is something I am doing wrong.

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-02T14:25:33+00:00Added an answer on June 2, 2026 at 2:25 pm

    with the jar imported. Check the imports at the top of your Activity java file. Make sure that you are not importing {anything}.R Sometimes eclipse like to auto correct imports by importing android.R, or others and that will break your projects references to R’s members.

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

Sidebar

Related Questions

I have been trying to get a USB HID keyboard working on an Android
I have been trying to get the FTDI D2xx driver working with my Android
I am working in android SDK(Eclipse) platform 2.2 and I have been running through
(post updated for working code) I've been trying to get my android app to
I have been working with eclipse and android for a few months now and
I have been working on an application in android, where I have to get
I have just been working on my android project in eclipse and all of
I have been working in android for past few months. The problem for me
I have been working on Eclipse recently. I am fairly new to java programming,
I have been working on this problem for 2 days now and it's an

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.