• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Coding Error in Mainactivity.java file in Eclipse

How to rectify the error in MainActivity.java file In Eclipse While Creating Android Apllication

  • Coding Error

    Votes: 0 0.0%
  • File error

    Votes: 0 0.0%
  • Line Error

    Votes: 0 0.0%

  • Total voters
    0

Koripriyan

Lurker
Aug 17, 2016
2
0
Hi sir/ Madam,

Iam using Eclipse for developing Android Application. I get an error after Creating an Android Application in Project.

The error is in R.menu.main MainActivity.java file

public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones