我正在尝试使用eclipse制作Android应用。但是,当它完成文件的制作时,会出现一堆我不知道如何解决的错误。我害怕使用快速修复程序,因为过去它们通常会破坏所有内容并且代码不起作用。
The import android.support cannot be resolved MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 3 Java Problem
ActionBarActivity cannot be resolved to a type MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 9 Java Problem
ActionBarActivity cannot be resolved to a type MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 33 Java Problem
The method onOptionsItemSelected(MenuItem) of type MyActivity must override or implement a supertype method MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 25 Java Problem
R cannot be resolved to a variable MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 30 Java Problem
The method getMenuInflater() is undefined for the type MyActivity MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 20 Java Problem
R cannot be resolved to a variable MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 20 Java Problem
R cannot be resolved to a variable MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 14 Java Problem
The method onCreateOptionsMenu(Menu) of type MyActivity must override or implement a supertype method MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 18 Java Problem
The method onCreate(Bundle) of type MyActivity must override or implement a supertype method MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 12 Java Problem
ActionBarActivity cannot be resolved to a type MyActivity.java /MinerMadness/src/com/cosmicluck/minermadness line 13 Java Problem
谢谢,希望我能解决这个问题,这样我才真正开始编码!