我想打电话
public class main3D extends AndroidApplication {
public void onCreate (android.os.Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
initialize(new genarate3D(), false);
}
}
这个班级
public class mainPage extends Activity
{
private ImageView mHome;
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main_page);
mHome = (ImageView) findViewById(R.id.imgVtownHome);
mHome.setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Intent i = new Intent(mainPage.this, main3D.class);
startActivity(i);
}
});
}
但有错误
09-28 08:38:56.886: E/AndroidRuntime(24439): FATAL EXCEPTION: main
09-28 08:38:56.886: E/AndroidRuntime(24439): java.lang.NoClassDefFoundError: com.qualcomm.QCARSamples.ImageTargets.main3D
09-28 08:38:56.886: E/AndroidRuntime(24439): at com.qualcomm.QCARSamples.ImageTargets.mainPage$1.onClick(mainPage.java:24)
我该如何解决这个问题? 谢谢。