HelloAndroid]emulator-5554 disconnected! Cancelling 'com.example.helloandroid.HelloAndroid activity launch'!

前端 未结 17 1288
轻奢々
轻奢々 2020-11-30 11:12

I am new to Android. Follow the HelloAndroid Tutorials by use Eclipse. After run HelloAndroid, the AVD \'xian_avd2\' lunched, but stop there, no \" Hello, Android\" display

17条回答
  •  旧时难觅i
    2020-11-30 11:54

    For me, I believe it happened due to an unexpected power failure while the emulator was running. Having it not shut down properly meant that my session was still cached. (I would occasionally get these errors too):

    [2012-06-08 05:05:06 - Emulator] WARNING: Data partition already in use. Changes will not persist!
    [2012-06-08 05:05:06 - Emulator] WARNING: SD Card image already in use: C:\Users\Ben\.android\avd\Ben-Android.avd/sdcard.img
    [2012-06-08 05:05:06 - Emulator] WARNING: Cache partition already in use. Changes will not persist!
    

    If this happened to you, pull up the command line, navigate to your android-sdk\tools and follow the corrected top post: emulator -avd emulator_name -wipe-data

提交回复
热议问题