You can modify the image files of the SDK so that these images can be directly stored in the Self-compiled image directory. In this way, you can directly run the self-modified and compiled image files in the simulator. ModifyCodeThen, execute make SDK to compile and generate a new SDK.
The Android version I used is 1.6. Therefore, make the following changes so that the image used by the simulator is the compiled image.
1. Go to the Android-SDK-Windows/platforms/Android-1.6 directory and rename the "data", "Images", "templates", and "samples" directories.
2. Create a soft connection to these four directories:
Ln-S/myandroid/out/host/linux-x86/SDK/Android-SDK-eng/platforms/Android-1.6/Samples
Ln-S/myandroid/out/host/linux-x86/SDK/Android-SDK-eng/platforms/Android-1.6/images/Images
Ln-S/myandroid/out/host/linux-x86/SDK/Android-SDK-eng/platforms/Android-1.6/templates templatesln-S/myandroid/out/host/linux-x86/SDK /Android-SDK-eng/platforms/Android-1.6/data so that you can directly use the virtual machine to run the self-compiled image file.