Using Eclipse for androidSDK, when I go to run, I get WARNING: Data partition already in use. Changes will not persist!

前端 未结 11 509
野性不改
野性不改 2020-12-31 01:07

I am completely new to Java, and Android, and eclipse. When doing the initial Hello, Android tutorial, I go to run and get the following:

WARNING: Data parti         


        
相关标签:
11条回答
  • 2020-12-31 01:45

    For me it worked to simply create a new virtual Android device in the Eclipse -> Window -> AVD Manager.

    0 讨论(0)
  • 2020-12-31 01:47

    Even easier fix: In Windows open command prompt (cmd.exe). In Linux open Terminal. Locate adb.exe in SDK folder ..\android-sdk\platform-tools\abd.exe

    cd <sdk directory> (move to the folder listed above)
    dir (to make sure abd.exe is in that directory)
    adb kill-server (stop the abd service, won't return anything)
    adb start-server (start the abd service back up, should give a couple of readings)
    

    Then retest, problem solved!

    0 讨论(0)
  • 2020-12-31 01:51

    Go the AVD Manager then select the device and go to edit button and make sure RAM is not go beyond 768M in the memory options. Sometimes windows may fail to emulate, try progressively smaller value first if the emulator fails to launch.

    0 讨论(0)
  • 2020-12-31 01:52

    Delete that AVD and create a new one. That worked for me, and it's the simplest way, with no configuration at all.

    0 讨论(0)
  • 2020-12-31 01:57

    Just Restart Your Android SDK and Eclipse If it not works even restarting PC just delete that Android virtual device and create new one using AVD.

    Hope It Helps !!

    0 讨论(0)
  • 2020-12-31 01:58

    If you consider this tutorial about "Read/Write Android Emulator sdcard.img in Windows", check that this virtual disk isn't somehow already mounted:

    mounting image disk

    If ImDisk complains of the file being in use, close the emulator.
    They won’t run together.
    Unmounting the image in Android does not allow the image to be mounted in Windows, the emulator must be shut down in order to free the image from its locked state

    The OP JiminyCricket confirms it was some kind of "resource lock":

    Simple restart of my OS fixed it. Thanks!

    0 讨论(0)
提交回复
热议问题