出现错误如何修复?R.java 是手动修改的!恢复到生成的版本!排空 setContentView(R.layout.main);
enter code here
package com.sposib.urav;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
public class UravActivity extends Activity implements OnClickListener {
/** Called when the activity is first created. */
private EditText A;
private EditText B;
private EditText C;
private Button Clean;
private Button Solve;
private static final double ACCURACY=1000;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
A=(EditText) findViewById(R.id.a);
B=(EditText) findViewById(R.id.b);
C=(EditText) findViewById(R.id.c);
Clean=(Button) findViewById(R.id.cl);
Solve=(Button) findViewById(R.id.sl);
Clean.setOnClickListener(this);
Solve.setOnClickListener(this);
谢谢阅读