点击运行程序!弹出了SDL_app:emulator.exe 的错误 说我指令引用的内存不能为可写的 
怎么回事呢?

解决方案 »

  1.   


    eclipse中Run程序出现!弹出了SDL_app:emulator.exe 的错误
      

  2.   

    你试一下  Run Configurations 会不会顺利?是不是有重复打开的进程呢?
      

  3.   


    你好ti3000:XP下的运行过程!
                 1.点击Run 打开Open Run Dialog 
               2.点击Android Application右键new..
               3.browse..选中一个Android项目
                4.点击Apply
               5.点击Run运行程序!
    之后出现弹出了SDL_app:emulator.exe 的错误 说我指令引用的内存不能为可写?请问一下!这样运行可以吗?大家没有出现过这种问题吗?
    XP下运行程序!是这样吗?谢谢啦!!!   
      

  4.   

    任何一个Android项目 都报错么,试试简单的例子
      

  5.   

    是用ADT1.5吗?你试试删除AVD,再建一个来试试.
      

  6.   


    ti3000:您好!问题已经解决~~
            应该是已经new一个应用!之后我又打开一个新的!
             所以出现这种错误!
             谢谢!会给你加分的!
             
      

  7.   


    ProgrammerNO1:您好!问题已经解决!会给回答帖子的朋友加分的!谢谢大家的时间啦!
      

  8.   

    sinom您好!问题已经解决!会给回答帖子的朋友加分的!谢谢大家的时间啦!
      

  9.   

    主要原因可能是模拟器运行需要很长时间,Eclipse超时造成的。我的解决办法是:
    1、点击“windows”菜单
    2、点击“Android SDK and AVD Manager”
    3、在弹出的窗口中,在左边选择“Virtual Devices“选项
    4、在右边的窗口中选择你的设备,例如“MyVD”
    5、点击“start”按钮
    6、等待模拟器成功启动(这一步要很长时间,大概几分钟)
    7、在eclipse中运行你的项目就成功了。eclipse的console输出如下:[2011-03-06 21:29:48 - testAndroid] ------------------------------
    [2011-03-06 21:29:48 - testAndroid] Android Launch!
    [2011-03-06 21:29:48 - testAndroid] adb is running normally.
    [2011-03-06 21:29:48 - testAndroid] Performing com.jizhiguo.android.HelloAndroid activity launch
    [2011-03-06 21:29:48 - testAndroid] Automatic Target Mode: Preferred AVD 'Dell_Venue' is not available. Launching new emulator.
    [2011-03-06 21:29:48 - testAndroid] Launching a new emulator with Virtual Device 'Dell_Venue'
    [2011-03-06 21:34:28 - testAndroid] New emulator found: emulator-5554
    [2011-03-06 21:34:28 - testAndroid] Waiting for HOME ('android.process.acore') to be launched...
    [2011-03-06 21:47:27 - testAndroid] emulator-5554 disconnected! Cancelling 'com.jizhiguo.android.HelloAndroid activity launch'!
    [2011-03-06 21:48:31 - SDK Manager] Created AVD 'Dell_Venue' based on Android 2.2,
    [2011-03-06 21:48:31 - SDK Manager] with the following hardware config:
    [2011-03-06 21:48:31 - SDK Manager] hw.lcd.density=240
    [2011-03-06 21:48:31 - SDK Manager] vm.heapSize=24
    [2011-03-06 21:56:33 - testAndroid] ------------------------------
    [2011-03-06 21:56:33 - testAndroid] Android Launch!
    [2011-03-06 21:56:33 - testAndroid] adb is running normally.
    [2011-03-06 21:56:33 - testAndroid] Performing com.jizhiguo.android.HelloAndroid activity launch
    [2011-03-06 21:56:33 - testAndroid] Automatic Target Mode: Preferred AVD 'Dell_Venue' is available on emulator 'emulator-5554'
    [2011-03-06 21:56:33 - testAndroid] WARNING: Application does not specify an API level requirement!
    [2011-03-06 21:56:33 - testAndroid] Device API version is 8 (Android 2.2)
    [2011-03-06 21:56:33 - testAndroid] Uploading testAndroid.apk onto device 'emulator-5554'
    [2011-03-06 21:56:33 - testAndroid] Installing testAndroid.apk...
    [2011-03-06 21:56:51 - testAndroid] Success!
    [2011-03-06 21:56:53 - testAndroid] Starting activity com.jizhiguo.android.HelloAndroid on device emulator-5554
      

  10.   

    我也遇到过这种问题,你先把这个模拟器删除掉,再建一个时记住要选中Snapshot:下的Enabled这个复选框,就行了
      

  11.   

    我也碰到了这个问题,据说不要设置模拟器的Size就行了
      

  12.   

    在使用AVD2.3.3时,使用默认的分辨率(WVGA800)没有问题,但是如果把它改成HVGA的就会报LZ所说的错了
      

  13.   

    修改下 snapshot 设置为Enable就可以了。