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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:34:23+00:00 2026-05-30T01:34:23+00:00

Hi I am trying to build the sample package v4 in the Androidsdk\extras\android\support\v4\samples/. I

  • 0

Hi I am trying to build the sample package v4 in the Androidsdk\extras\android\support\v4\samples/. I also added the support v4 package to the build list.
However when I do this Eclipse reports that the project is giving loads of compile errors eg:

  1. setContentView(R.layout.accessibility_delegate); reports an error saying R cannot be resolved to a variable
  2. its unable to find: R.layout.accessibility_manager); when its in the layout folder.

Some help on this would be really well received.

  • 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-30T01:34:25+00:00Added an answer on May 30, 2026 at 1:34 am

    setContentView(R.layout.accessibility_delegate); reports an error
    saying R cannot be resolved to a variable

    Either your resource directory have not compiled properly, or you need to import R. You can search stackoverflow for possible reasons and solutions.

    its unable to find: R.layout.accessibility_manager); when its in the
    layout folder.

    Possibly above solution, would also fix this.

    If you are getting problem, in resolving .xml error while compiling v4 samples, then try to set Android target of your project to some higher API level say API 13 (as some of the resources e.g theme were introduced in later versions). And do not worry as these samples still would run on older platforms, as minSdkVersion has been set so.

    Hope it helps or you can elaborate your problem.

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

Sidebar

Related Questions

I'm trying to build a list page like the one in the Computers sample.
I'm trying to build any of the Android SDK samples on my windows machine
I'm trying to build a sample bookmarklet to grab current webpage source code and
I am trying to build a sample application which will show a proof of
I was new to WCF, i was trying to build a sample application using
i am trying to build simple php crawler for this purpose i am getting
I am trying to build a simple custom editor in the Eclipse environment. To
I'm trying to build a simple Android app that increments a number displayed every
I am trying to build an Android App on Platform 2.2 Froyo. The app
I'm trying to build the sample project Action Bar Styled using the Action Bar

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.