I'm trying to do the most basic program in the world. Seriously, the most basic, rudimentary conversion app never invented for my class. All i want to do is have someone enter a number, then click whether they want that number converted to KM or Mi.
So I have an edit text field and two buttons, one each for KM and Mi... when I try to do the Button km = (Button) findViewById(R.id.km); code, id is underlined because the program never even creates an id method in the auto generated R file.
What the ****! I haven't found this error on the internet, and none of my classmates have any idea, since no one else gets this error.
Any ideas? This is extremely frustrating.
So I have an edit text field and two buttons, one each for KM and Mi... when I try to do the Button km = (Button) findViewById(R.id.km); code, id is underlined because the program never even creates an id method in the auto generated R file.
What the ****! I haven't found this error on the internet, and none of my classmates have any idea, since no one else gets this error.
Any ideas? This is extremely frustrating.