Emulator not starting, NAND could not write error

by alexmat » Wed, 29 Apr 2009 15:04:39 GMT

Sponsored Links
 I'm running eclipse 3.4, adt 0.9 and sdk 1.5. Just trying to run the
hello world app I get the following:

Automatic Target Mode: launching new emulator with compatible AVD
Launching a new emulator with Virtual Device 'my_avd'
NAND: could not write file /tools/android-sdk-linux_x86-1.5_r1/
platforms/android-1.5/images//system.img, File exists



Other Threads

1. How to extract ICON from an APK file?


I'm trying to get the icon from an apk file, but I found not every app
use the the icon.png under res/, and androidmanifest.xml is compiled
inside apk, where I can get the position information?

Thx & BR,


2. How to record the audio from mic in raw pcm format into a buffer, using the native libraries directly?


My application cannot handle the JNIE overhead, as I need to make 2
JNIE calls to the native C/C++ code for every 20msec. So I am trying
to use the native media libraries and the realted C/C++ files provided
by Android in the folder "//external/srec/audio/test" of the donut
build. Ex. AudioHardwareRecord, AudioInRecord etc.. I am implementing
all the calls in the native layer.

I am using the sampling rate as 8000 and want to read 160 samples (320
bytes) at a time.

I used the following values to create the AudioRecord..

record = new android::AudioRecord(
android::AudioRecord::MIC_INPUT, /* Input Source */
sampleRate, /* Sample Rate - 8000 */
android::AudioSystem::PCM_16_BIT, /* Format */
numChannels, /* Channel Count - 1 */
1, /* Frame Count */
android::AudioRecord::RECORD_AGC_ENABLE, /* Flags*/
NULL, /* Callback Function */
NULL, /* Context for use by the callback receiver*/
1 /* Notification Frames */ );

It says "success" after creating this interface but I am getting the
error "Bad Value" if I am doing the InitCheck.

And it is crashing once I start reading the samples or if I try to
retrieve the configured sampling rate.

Has anybody tried to access this native code? Any clue in this regard
will be very helpful.

Thanks in advance.

Vishal Gaonkar


3. R.drawable.my_icon Missing

4. How to configure the sampling rate/period while audio capture?

5. How to capture audio data from mic into a buffer?

6. issue with playing .wma file

7. Using ADB in VirtualBox