Eclipse 今天让我发疯,在这里出现了这样的无意义错误:
Multiple markers at this line
- Syntax error on token ";", delete this
token
- Syntax error, insert ";" to complete
Statement
这是我的代码:
View dialogView = (View) findViewById(R.layout.dialog);
imgMan = new NovelImageManager();
this.viewMan = new ViewManager(dialogView, this.imgMan);<--- Error happens here.
我在像这样的其他项目中有奇怪的问题:
@Override
protected void onResume() {
// TODO Auto-generated method stub
super.onResume();
loadData();
if (adView != null) {
adView.loadAd(new AdRequest());
} else {
setupAds();
}
}
导致以下错误:
Multiple markers at this line
- Syntax error on token "void", @
expected
- overrides
android.app.Activity.onResume
这些代码过去有效,所以我不知道为什么 eclipse 会这样。我知道日食有时会很痛苦,但这没有意义。
知道这会导致什么吗?