私はWindows 64上でEclipse環境をセットアップしようとしています。私はチュートリアル(developer.android.com)ですべてを行ったと思いますが、エミュレータをポップアップさせてもらえますが、こんにちは世界は表示されません。Eclipse上のアンドロイドはこんにちは世界を実行しません
私は4.0.3と試み、ポップアップエミュレータ後、私はちょうど飛行機ジェーンを見た...
をアンドロイドバージョン2.1エミュレータアップpopedとちょうど最終的には、Androidを示した後、黒い画面に行ってきましたを試してみましたアンドロイドの携帯電話のインターフェイスは、私のアプリを実行しないだろう。コードは以下の通りです。誰か私は行方不明を知っていますか?私はエミュレータを実行したときに
Eclipseは次のように表示さ
[2012-02-19 11:58:40 - trst] ------------------------------
[2012-02-19 11:58:40 - trst] Android Launch!
[2012-02-19 11:58:40 - trst] adb is running normally.
[2012-02-19 11:58:40 - trst] Performing com.example.helloandroid.TrstActivity activity launch
[2012-02-19 11:58:40 - trst] Automatic Target Mode: launching new emulator with compatible AVD 'interface'
[2012-02-19 11:58:40 - trst] Launching a new emulator with Virtual Device 'interface'
[2012-02-19 11:58:55 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error
[2012-02-19 11:58:55 - trst] New emulator found: emulator-5554
[2012-02-19 11:58:55 - trst] Waiting for HOME ('android.process.acore') to be launched...
コード:
package com.example.helloandroid;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class TrstActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
}
}
私はコマンドプロンプトからlogcatを実行しますか?私はそれをどこから実行するのですか? – user1219505
これを確認してくださいhttp://stackoverflow.com/questions/3280051/how-to-enable-logcat-console-in-eclipse-for-android – xyz