Подтвердить что ты не робот

Ошибка Запуск AVD - "Не удалось открыть файл: (null)/system/build.prop: Нет такого файла или каталога"

Когда я открываю AVD из окна CMD, используя

C:\Android\adt-bundle-windows-x86\sdk\tools>emulator.exe -avd Nexus-7-001 -verbose

все кажется в порядке, пока строка ниже "Не удалось открыть файл: (null)/system/build.prop: нет такого файла или каталога"

Хотя эмулятор открывается, попытка выбрать приложение приводит к ошибке: "К сожалению, программа запуска остановлена".

Я удалил и повторно загрузил ADT => та же проблема. Можете ли вы сказать мне, если есть способ, чтобы быть уверенным, чтобы удалить все ADT? Также может ли эта проблема быть вызвана остатками старого ADT (предыдущей версии Eclipse) или это что-то совсем другое?

У меня та же проблема в ОС Windows 7 и Windows Vista.

C:\Android\adt-bundle-windows-x86\sdk\tools>emulator.exe -avd Nexus-7-001 -verbose
.
.
.
emulator: Trace file name is not set

emulator: autoconfig: -scale 0.569531
emulator: Could not open file: (null)/system/build.prop: No such file or directory
emulator: control console listening on port 5554, ADB on port 5555
emulator: can't connect to ADB server: connection refused
emulator: ping program: C:\Android\adt-bundle-windows-x86\sdk\tools\ddms.bat
emulator: ping command: C:\Windows\system32\cmd.exe /C "C:\Android\adt-bundle-windows-x86\sdk\tools\ddms.bat" ping emulator 21.0.1.0 "NVIDIA Corporati
on" "GeForce G210M/PCI/SSE2" "3.0.0"
goldfish_fb_get_pixel_format:167: display surface,pixel format:
  bits/pixel:  16
  bytes/pixel: 2
  depth:       16
  red:         bits=5 mask=0xf800 shift=11 max=0x1f
  green:       bits=6 mask=0x7e0 shift=5 max=0x3f
  blue:        bits=5 mask=0x1f shift=0 max=0x1f
  alpha:       bits=0 mask=0x0 shift=0 max=0x0
4b9b3361

Ответ 1

1) Проверьте правильность установки образа системы.

2) проверьте драйвер графической карты, с которой вы работаете.

Ответ 2

Я столкнулся с этой проблемой раньше. Чтобы решить эту проблему, просто запустите Eclipse с правами администратора. Он работал у меня в Windows 7 и Windows 8.1.

Ответ 3

Это может быть проблема, связанная с путями переменных среды для вашего SDK Android и/или Java, а не beng set правильно или устарела. Дважды проверьте, что они указывают, что они указывают на правильные ресурсы. Вы также можете попробовать запустить команды с помощью расширенной командной строки и сначала перезагрузить ADB.

Ответ 4

Файл build.prop содержит важную информацию для системы Android. Поэтому, если он не может найти этот файл, система (или пусковая установка) выйдет из строя. Если изображение системы повреждено (что-то может пойти не так, как только загрузится, или система Android испортила его), вам должно быть хорошо, удалив платформу с помощью менеджера SDK. Или вы можете удалить папку platform-<api level you are using> в system-images и platforms в папке, где вы установили SDK. После того, как вы выполнили эту перезагрузку, платформа и AVD должны снова работать!

Ответ 5

Это не может иметь ничего общего с этой линией.

Кажется, что существует общая проблема при инициализации OpenGL (работает ли Google Earth?). В этих случаях в командной строке попробуйте использовать "emulator-arm" вместо "emulator". Если это работает, это может быть проблема с драйвером (попробуйте переустановить графические драйверы).

Если это не сработает, попробуйте опубликовать весь журнал (эмулятор -verbose -avd mydevice).

Ответ 6

У меня была почти такая же проблема, решение было:

  • Проверьте уровень API ядра
  • Запустите AVD с тем же API.

Моя ошибка:

D:\programs\adt-bundle-windows-x86_64-20130522\sdk\tools>emulator-arm -kernel D
\programs\adt-bundle-windows-x86_64-20130522\sdk\emulator-root\Kernel\zImage -s
ow-kernel -verbose -avd NexusS
emulator: found SDK root at D:\programs\adt-bundle-windows-x86_64-20130522\sdk
emulator: Android virtual device file at: C:\Users\Laci\.android\avd\NexusS.ini
emulator: virtual device content at C:\Users\Laci\.android\avd\NexusS.avd
emulator: virtual device config file: C:\Users\Laci\.android\avd\NexusS.avd/con
ig.ini
emulator: using core hw config path: C:\Users\Laci\.android\avd\NexusS.avd/hard
are-qemu.ini
emulator: Found AVD target API level: 8
emulator: 'magic' skin format detected: 480x800
emulator: autoconfig: -skin 480x800
emulator: autoconfig: -skindir (null)
emulator: keyset loaded from: C:\Users\Laci\.android\default.keyset
emulator: found SDK root at D:\programs\adt-bundle-windows-x86_64-20130522\sdk
emulator: trying to load skin file 'D:\programs\adt-bundle-windows-x86_64-20130
22\sdk/tools/lib/emulator/skins/dynamic//layout'
emulator: loaded dynamic skin width=480 height=800 bpp=16

emulator: autoconfig: -ramdisk D:\programs\adt-bundle-windows-x86_64-20130522\s
k/platforms\android-8\images\/ramdisk.img
emulator: Using initial system image: D:\programs\adt-bundle-windows-x86_64-201
0522\sdk/platforms\android-8\images\/system.img
emulator: autoconfig: -data C:\Users\Laci\.android\avd\NexusS.avd/userdata-qemu
img
emulator: autoconfig: -initdata C:\Users\Laci\.android\avd\NexusS.avd/userdata.
mg
emulator: autoconfig: -cache C:\Users\Laci\.android\avd\NexusS.avd/cache.img
emulator: Physical RAM size: 256MB

Content of hardware configuration file:
  hw.cpu.arch = arm
  hw.ramSize = 256
  hw.screen = touch
  hw.mainKeys = yes
  hw.trackBall = no
  hw.keyboard = no
  hw.keyboard.lid = yes
  hw.keyboard.charmap = qwerty2
  hw.dPad = no
  hw.gsmModem = yes
  hw.gps = yes
  hw.battery = no
  hw.accelerometer = yes
  hw.audioInput = yes
  hw.audioOutput = yes
  hw.sdCard = yes
  disk.cachePartition = yes
  disk.cachePartition.path = C:\Users\Laci\.android\avd\NexusS.avd/cache.img
  disk.cachePartition.size = 66m
  hw.lcd.width = 480
  hw.lcd.height = 800
  hw.lcd.depth = 16
  hw.lcd.density = 240
  hw.lcd.backlight = yes
  hw.gpu.enabled = no
  hw.camera.back = none
  hw.camera.front = none
  vm.heapSize = 32
  hw.sensors.proximity = yes
  hw.sensors.magnetic_field = yes
  hw.sensors.orientation = yes
  hw.sensors.temperature = yes
  kernel.path = D:\programs\adt-bundle-windows-x86_64-20130522\sdk\emulator-roo
\Kernel\zImage
  kernel.parameters =  android.checkjni=1
  disk.ramdisk.path = D:\programs\adt-bundle-windows-x86_64-20130522\sdk/platfo
ms\android-8\images\/ramdisk.img
  disk.systemPartition.initPath = D:\programs\adt-bundle-windows-x86_64-2013052
\sdk/platforms\android-8\images\/system.img
  disk.systemPartition.size = 200m
  disk.dataPartition.path = C:\Users\Laci\.android\avd\NexusS.avd/userdata-qemu
img
  disk.dataPartition.size = 2g
  avd.name = NexusS
.
QEMU options list:
emulator: argv[00] = "emulator-arm"
emulator: argv[01] = "-show-kernel"
emulator: argv[02] = "-android-hw"
emulator: argv[03] = "C:\Users\Laci\.android\avd\NexusS.avd/hardware-qemu.ini"
Concatenated QEMU options:
 emulator-arm -show-kernel -android-hw C:\Users\Laci\.android\avd\NexusS.avd/ha
dware-qemu.ini
emulator: registered 'boot-properties' qemud service
emulator: nand_add_dev: system,size=0xc800000,initfile=D:\programs\adt-bundle-w
ndows-x86_64-20130522\sdk/platforms\android-8\images\/system.img
emulator: mapping 'system' NAND image to C:\Users\Laci\AppData\Local\Temp\\Andr
idEmulator\TMPE31B.tmp
emulator: rounding devsize up to a full eraseunit, now c810000

emulator: nand_add_dev: userdata,size=0x80000000,file=C:\Users\Laci\.android\av
\NexusS.avd/userdata-qemu.img
emulator: rounding devsize up to a full eraseunit, now 80010000

emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'dalvik.vm.heapsize' = '32m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '240'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '1'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'none'
emulator: nand_add_dev: cache,size=0x4200000,file=C:\Users\Laci\.android\avd\Ne
usS.avd/cache.img
emulator: Initializing hardware OpenGLES emulation support
emulator: ERROR: Could not load OpenGLES emulation library: Could not load DLL!
emulator: WARNING: Could not initialize OpenglES emulation, using software rend
rer.
emulator: Kernel parameters: qemu.gles=0 qemu=1 console=ttyS0 android.qemud=tty
1 android.checkjni=1 ndns=2
emulator: Trace file name is not set

emulator: autoconfig: -scale 1
serial0 console
emulator: Could not open file: (null)/system/build.prop: No such file or direct
ry
emulator: control console listening on port 5554, ADB on port 5555
emulator: sent '0012host:emulator:5555' to ADB server
emulator: ping program: D:\programs\adt-bundle-windows-x86_64-20130522\sdk\tool
\ddms.bat
emulator: ping command: C:\Windows\system32\cmd.exe /C "D:\programs\adt-bundle-
indows-x86_64-20130522\sdk\tools\ddms.bat" ping emulator 22.0.1.0 "" "" ""
Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing
Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncom
ressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux
..Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressi
g Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Unc
mpressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Lin
x...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompres
ing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...U
compressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing L
nux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompr
ssing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux..
Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing
Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncom
ressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux
..Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressi
g Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Unc
mpressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Lin
x...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompres
ing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...U
compressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing L
nux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompr
ssing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux..
Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing
Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncom
ressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux
..Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Uncompressi
g Linux...Uncompressing Linux...Uncompressing Linux...Uncompressing Linux...Unc
mpressing Linux...Uncompressing Linux...Uncompressing Linux...

ran out of input data

 -- System haltedemulator: User-config was not changed.

Ответ 7

попробуйте воссоздать свой AVD с нуля, и если проблема по-прежнему сохраняется после всего вашего журнала (эмулятор -verbose -avd mydevice)

Ответ 8

Перезагрузите свой эмулятор, а также SDK.