在Hello World项目NAND错误在官方Android开发教程 [英] NAND error in Hello World project in the offical Android developer tutorial

查看:130
本文介绍了在Hello World项目NAND错误在官方Android开发教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的Hello World项目在的http://开发商。 android.com/resources/tutorials/hello-world.html

I'm working on the Hello World project at http://developer.android.com/resources/tutorials/hello-world.html

麻烦来当我运行应用程序。我得到消息的顺序是这样的:

The trouble comes when I run the application. The sequence of messages I get is something like:

[2012-04-30 15:13:19 - HelloAndroid] ------------------------------
[2012-04-30 15:13:19 - HelloAndroid] Android Launch!
[2012-04-30 15:13:19 - HelloAndroid] adb is running normally.
[2012-04-30 15:13:19 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2012-04-30 15:13:19 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'my_avd'
[2012-04-30 15:13:19 - HelloAndroid] Launching a new emulator with Virtual Device 'my_avd'
[2012-04-30 15:13:25 - Emulator] NAND: could not write file /tmp/android-jhsu/emulator-7iTL7m, File exists

究竟是什么阻止正常执行的过程?什么我需要做的,解决这个问题?

What exactly is stopping the process from executing properly? What do I need to do to fix this?

更新1:

OK,我想你的建议有关清除AVD。

OK, I tried your suggestions about clearing the avd.

我走进我的android_sdk_linux目录,进入工具/ Android的列表AVD。输出是:

I went into my android_sdk_linux directory and entered "tools/android list avd". The output was:

Available Android Virtual Devices:
Name: my_avd
Path: /home/jhsu/.android/avd/my_avd.avd
Target: Android 4.0.3 (API level 15)
ABI: armeabi-v7a
Skin: WVGA800

所以,我进入工具/仿真器-avd my_avd -wipe数据。输出是:

So I entered "tools/emulator -avd my_avd -wipe-data". The output was:

NAND: could not write file /tmp/android-jhsu/emulator-5FHEn7, File exists

不过,我看在/ tmp / Android的jhsu目录并没有看到文件,同时,甚至没有一个隐藏的文件。

But I looked in the /tmp/android-jhsu directory and saw no file at all, not even a hidden file.

我在哪里何去何从?

推荐答案

我是能够解决它导出 ANDROID_TMP

export ANDROID_TMP=/home/myuser

这篇关于在Hello World项目NAND错误在官方Android开发教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆