2011-10-19 30 views

回答

1

確保按鈕有main.xml中,您將在setContentView(R.layout.main);

和設置然後嘗試Build your Project and Clean your Project and then Run

+0

是的按鈕位於main.xml中。所使用的ID與main.xml中定義的ID相對應。但我仍然收到錯誤。 logcat提供空白輸出 – Jakes