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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:13:47+00:00 2026-05-24T03:13:47+00:00

I am a beginner with Android, and I have a strange bug with the

  • 0

I am a beginner with Android, and I have a strange bug with the NotePad Tutorial (Exercice 1).
http://developer.android.com/resources/tutorials/notepad/index.html

I imported the sources and completed the code, but when I run the app, and click on the “Menu” button, it crashes (The application …. has stopped unexpectedly. Please try again.)

Then, I imported the solution, and it works normally.

I copied the whole code, resources, manifest from the solution to the first Project … and still, everything is good with the first project, but when I click “Menu”, I have the same crash.

Can someone explain where am I making a mistake?

After some researches, I opened the LogCat.
Here are the lines that seems interesting :

Displayed activity com.android.demo.notepad1/.Notepadv1: 1261 ms (total 1261 ms)
No keyboard for id 0

Using default keymap: /system/usr/keychars/qwerty.kcm.bin

getEntry failing because entryIndex 2 is beyond type entryCount 2

Failure getting entry for 0x7f040002 (t=3 e=2) in package 0: 0x80000001

Shutting down VM

threadid=3: thread exiting with uncaught exception (group=0x4001b188)

Uncaught handler: thread main exiting due to uncaught exception

android.content.res.Resources$NotFoundException: String resource ID #0x7f040002

I noted that 0x7f040002 refers to the "menu_insert" string in R.java

  • 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-24T03:13:50+00:00Added an answer on May 24, 2026 at 3:13 am

    My only guess is that R.java is not refreshed properly. Did you try a project>clean in Eclipse? That will recreate the R.java file.

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

Sidebar

Related Questions

Absolute beginner question: I have a template file index.html that looks like this: ...
I am a beginner android developer and I am trying to have a button
I am a beginner to android and have designed a login GUI for app
Beginner here, I have a simple question. In Android what would be the best
I am a beginner in Android platform and i have encountering a serious problem.
I am a beginner of Android apps and am using Eclipse. I have found
I am a beginner in Android programming. I was going through the official tutorial
I'm beginner in Java Android developing. I'm using Eclipse SDK 3.6.1 version. I have
I'm a beginner for Android Development. So, i have need to deploy my Android
(note that I'm a total beginner in android programming) I have a class that

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.