0
私は最近、EclipseのAndroidプログラムで作業しているときにエラーが発生しました。昨夜は大丈夫でしたが、今日はエラーが発生しています。奇妙な未定義のメソッドエラー
The constructor Intent(Menu, Class) is undefined
コードがするまで大丈夫だった:私はエラーを取得する
The method forName(String) is undefined for the type Class
二行目の場合:私はエラーを取得する最初の行のために
Class ourClass = Class.forName("com.example.exampleone" + cheese);
Intent ourIntent = new Intent(Menu.this, ourClass);
:ここでは、問題のコードです今日、突然、間違いがあると言ってから
クラスのインポートはコピーできますか? –
あなたが誤ってプロジェクトの設定やクラスパスを変更したような音がします。 – mharper