- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我目前的问题是,只要我尝试运行任何 Android 虚拟设备,它就会在启动后不久关闭。它永远不会进入开始屏幕,只是黑色然后关闭。
我试过从图形模式自动切换到软件。
我试过创建一个全新的 AVD 并删除旧的 AVD 的数据。
我以管理员身份运行 android studios,在 Windows 中打开一个管理员 cmd,并尝试直接从模拟器 exe 运行 avd(相同的结果)。
这是android studios的一个全新的空白项目。
我没有安装 docker,我还确保 VitrualBox 没有运行。
系统:Windows 10、i7、独立 GPU。
这是尝试在 cmd 提示符下使用 -verbose 运行虚拟设备的结果。我尝试删除重复项。
emulator: autoconfig: -skin pixel_2
emulator: autoconfig: -skindir D:\andriodSDK\skins\
emulator: autoconfig: -kernel D:\andriodSDK\system-images\android-29\google_apis\x86\\kernel-ranchu-64
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
emulator: VERBOSE: System.cpp:2888: querying file version info API...
emulator: VERBOSE: System.cpp:2896: found kernelbase.dll
emulator: VERBOSE: System.cpp:2904: GetFileVersionInfoSizeW found. On Windows 10?
emulator: VERBOSE: System.cpp:2913: GetFileVersionInfoW found. On Windows 10?
emulator: VERBOSE: System.cpp:2943: VerQueryValueW found. Can query file versions
emulator: VERBOSE: System.cpp:2966: queryFileVersionInfo: path not found: amdvlk64.dll
emulator: VERBOSE: System.cpp:2888: querying file version info API...
emulator: VERBOSE: System.cpp:2966: queryFileVersionInfo: path not found: amdvlk32.dll
emulator: VERBOSE: System.cpp:2888: querying file version info API...
emulator: Auto-detect: Kernel image requires new device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk D:\andriodSDK\system-images\android-29\google_apis\x86\\ramdisk.img
emulator: Using initial system image: D:\andriodSDK\system-images\android-29\google_apis\x86\\system.img
emulator: Using initial vendor image: D:\andriodSDK\system-images\android-29\google_apis\x86\\vendor.img
emulator: autoconfig: -data C:\Users\mike\.android\avd\Pixel_2_API_29.avd\userdata-qemu.img
emulator: autoconfig: -initdata C:\Users\mike\.android\avd\Pixel_2_API_29.avd\userdata.img
emulator: autoconfig: -cache C:\Users\mike\.android\avd\Pixel_2_API_29.avd\cache.img
emulator: autoconfig: -sdcard C:\Users\mike\.android\avd\Pixel_2_API_29.avd\sdcard.img
emulator: Increasing RAM size to 2048MB
emulator: VM heap size 256MB is below hardware specified minimum of 512MB,setting it to that value
emulator: System image is read only
emulator: autoconfig: -no-snapshot from AVD config.ini
emulator: Found 4 DNS servers: 192.168.5.1 9.9.9.9 149.112.112.112 161.57.5.2
emulator: trying to load skin file 'D:\andriodSDK\skins\\pixel_2\layout'
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'qemu.cmdline' = 'androidboot.logcat=v:* androidboot.consolepipe=qemu_pipe,pipe:logcat'
emulator: Adding boot property: 'qemu.logcat' = 'start'
emulator: Checking whether Windows Hypervisor Platform (WHPX) is available.
emulator: WinHvPlatform.dll found. Looking for WHvGetCapability...
emulator: WHvGetCapability found. Querying WHPX capabilities...
emulator: WHvGetCapability failed. hr=0x00000000 whpx_cap.HypervisorPresent? 0
emulator: WHPX is either not available or not installed.
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAXM version 7.5.4 (4) is installed and usable.
emulator: VERBOSE: AdbInterface.cpp:212: no root specified:
emulator: VERBOSE: AdbInterface.cpp:242: Found: 1 adb executables
emulator: VERBOSE: AdbInterface.cpp:244: Adb: D:\andriodSDK\platform-tools\adb.exe
emulator: VERBOSE: AdbInterface.cpp:263: Path:D:\andriodSDK\platform-tools\adb.exe protocol version: 41
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: VERBOSE: emulator-qt-window.cpp:2826: setUIMultiDisplay id 0 0 0 1080 1920 add
emulator: Found 4 DNS servers: 192.168.5.1 9.9.9.9 149.112.112.112 161.57.5.2
Content of hardware configuration file:
hw.cpu.arch = x86
hw.cpu.model = qemu32
hw.cpu.ncore = 4
hw.ramSize = 2048
hw.screen = multi-touch
hw.mainKeys = false
hw.trackBall = false
hw.keyboard = true
hw.keyboard.lid = false
hw.keyboard.charmap = qwerty2
hw.dPad = false
hw.rotaryInput = false
hw.gsmModem = true
hw.gps = true
hw.battery = true
hw.accelerometer = true
hw.gyroscope = true
hw.audioInput = true
hw.audioOutput = true
hw.sdCard = true
hw.sdCard.path = C:\Users\mike\.android\avd\Pixel_2_API_29.avd\sdcard.img
disk.cachePartition = true
disk.cachePartition.path = C:\Users\mike\.android\avd\Pixel_2_API_29.avd\cache.img
disk.cachePartition.size = 66m
test.quitAfterBootTimeOut = -1
test.delayAdbTillBootComplete = 0
test.monitorAdb = 0
hw.lcd.width = 1080
hw.lcd.height = 1920
hw.lcd.depth = 16
hw.lcd.density = 420
hw.lcd.backlight = true
hw.lcd.vsync = 60
hw.gltransport = pipe
hw.gltransport.asg.writeBufferSize = 1048576
hw.gltransport.asg.writeStepSize = 4096
hw.gltransport.asg.dataRingSize = 32768
hw.gltransport.drawFlushInterval = 800
hw.displayRegion.0.1.xOffset = -1
hw.displayRegion.0.1.yOffset = -1
hw.displayRegion.0.1.width = 0
hw.displayRegion.0.1.height = 0
hw.fold.adjust = false
hw.display1.width = 0
hw.display1.height = 0
hw.display1.density = 0
hw.display1.xOffset = -1
hw.display1.yOffset = -1
hw.display1.flag = 0
hw.display2.width = 0
hw.display2.height = 0
hw.display2.density = 0
hw.display2.xOffset = -1
hw.display2.yOffset = -1
hw.display2.flag = 0
hw.display3.width = 0
hw.display3.height = 0
hw.display3.density = 0
hw.display3.xOffset = -1
hw.display3.yOffset = -1
hw.display3.flag = 0
hw.gpu.enabled = true
hw.gpu.mode = host
hw.initialOrientation = Portrait
hw.camera.back = virtualscene
hw.camera.front = emulated
vm.heapSize = 512
hw.sensors.light = true
hw.sensors.pressure = true
hw.sensors.humidity = true
hw.sensors.proximity = true
hw.sensors.magnetic_field = true
hw.sensors.magnetic_field_uncalibrated = true
hw.sensors.gyroscope_uncalibrated = true
hw.sensors.orientation = true
hw.sensors.temperature = true
hw.useext4 = true
hw.arc = false
hw.arc.autologin = false
kernel.path = D:\andriodSDK\system-images\android-29\google_apis\x86\\kernel-ranchu-64
kernel.newDeviceNaming = yes
kernel.supportsYaffs2 = no
disk.ramdisk.path = D:\andriodSDK\system-images\android-29\google_apis\x86\\ramdisk.img
disk.systemPartition.initPath = D:\andriodSDK\system-images\android-29\google_apis\x86\\system.img
disk.systemPartition.size = 3083m
disk.vendorPartition.initPath = D:\andriodSDK\system-images\android-29\google_apis\x86\\vendor.img
disk.vendorPartition.size = 800m
disk.dataPartition.path = C:\Users\mike\.android\avd\Pixel_2_API_29.avd\userdata-qemu.img
disk.dataPartition.size = 800m
disk.encryptionKeyPartition.path = C:\Users\mike\.android\avd\Pixel_2_API_29.avd\encryptionkey.img
PlayStore.enabled = false
avd.name = Pixel_2_API_29
avd.id = Pixel_2_API_29
fastboot.forceColdBoot = true
android.sdk.root = D:\andriodSDK
android.avd.home = C:\Users\mike\.android\avd
.
QEMU options list:
emulator: argv[00] = "D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "192.168.5.1,9.9.9.9,149.112.112.112,161.57.5.2"
emulator: argv[03] = "-mem-path"
emulator: argv[04] = "C:\Users\mike\.android\avd\Pixel_2_API_29.avd\snapshots\default_boot\ram.img"
emulator: argv[05] = "-serial"
emulator: argv[06] = "null"
emulator: argv[07] = "-device"
emulator: argv[08] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\data\misc\pstore\pstore.bin"
emulator: argv[09] = "-cpu"
emulator: argv[10] = "android64"
emulator: argv[11] = "-enable-hax"
emulator: argv[12] = "-smp"
emulator: argv[13] = "cores=4"
emulator: argv[14] = "-m"
emulator: argv[15] = "2048"
emulator: argv[16] = "-lcd-density"
emulator: argv[17] = "420"
emulator: argv[18] = "-nodefaults"
emulator: argv[19] = "-kernel"
emulator: argv[20] = "D:\andriodSDK\system-images\android-29\google_apis\x86\\kernel-ranchu-64"
emulator: argv[21] = "-initrd"
emulator: argv[22] = "D:\andriodSDK\system-images\android-29\google_apis\x86\\ramdisk.img"
emulator: argv[23] = "-drive"
emulator: argv[24] = "if=none,index=0,id=system,file=D:\andriodSDK\system-images\android-29\google_apis\x86\\system.img,read-only"
emulator: argv[25] = "-device"
emulator: argv[26] = "virtio-blk-pci,drive=system,modern-pio-notify"
emulator: argv[27] = "-drive"
emulator: argv[28] = "if=none,index=1,id=cache,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[29] = "-device"
emulator: argv[30] = "virtio-blk-pci,drive=cache,modern-pio-notify"
emulator: argv[31] = "-drive"
emulator: argv[32] = "if=none,index=2,id=userdata,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[33] = "-device"
emulator: argv[34] = "virtio-blk-pci,drive=userdata,modern-pio-notify"
emulator: argv[35] = "-drive"
emulator: argv[36] = "if=none,index=3,id=encrypt,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[37] = "-device"
emulator: argv[38] = "virtio-blk-pci,drive=encrypt,modern-pio-notify"
emulator: argv[39] = "-drive"
emulator: argv[40] = "if=none,index=4,id=vendor,file=D:\andriodSDK\system-images\android-29\google_apis\x86\\vendor.img,read-only"
emulator: argv[41] = "-device"
emulator: argv[42] = "virtio-blk-pci,drive=vendor,modern-pio-notify"
emulator: argv[43] = "-drive"
emulator: argv[44] = "if=none,index=5,id=sdcard,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
emulator: argv[45] = "-device"
emulator: argv[46] = "virtio-blk-pci,drive=sdcard,modern-pio-notify"
emulator: argv[47] = "-netdev"
emulator: argv[48] = "user,id=mynet"
emulator: argv[49] = "-device"
emulator: argv[50] = "virtio-net-pci,netdev=mynet"
emulator: argv[51] = "-device"
emulator: argv[52] = "virtio-rng-pci"
emulator: argv[53] = "-show-cursor"
emulator: argv[54] = "-device"
emulator: argv[55] = "virtio_input_multi_touch_pci_1"
emulator: argv[56] = "-device"
emulator: argv[57] = "virtio_input_multi_touch_pci_2"
emulator: argv[58] = "-device"
emulator: argv[59] = "virtio_input_multi_touch_pci_3"
emulator: argv[60] = "-device"
emulator: argv[61] = "virtio_input_multi_touch_pci_4"
emulator: argv[62] = "-device"
emulator: argv[63] = "virtio_input_multi_touch_pci_5"
emulator: argv[64] = "-device"
emulator: argv[65] = "virtio_input_multi_touch_pci_6"
emulator: argv[66] = "-device"
emulator: argv[67] = "virtio_input_multi_touch_pci_7"
emulator: argv[68] = "-device"
emulator: argv[69] = "virtio_input_multi_touch_pci_8"
emulator: argv[70] = "-device"
emulator: argv[71] = "virtio_input_multi_touch_pci_9"
emulator: argv[72] = "-device"
emulator: argv[73] = "virtio_input_multi_touch_pci_10"
emulator: argv[74] = "-device"
emulator: argv[75] = "virtio_input_multi_touch_pci_11"
emulator: argv[76] = "-device"
emulator: argv[77] = "virtio-keyboard-pci"
emulator: argv[78] = "-L"
emulator: argv[79] = "D:\andriodSDK\emulator/lib/pc-bios"
emulator: argv[80] = "-soundhw"
emulator: argv[81] = "hda"
emulator: argv[82] = "-vga"
emulator: argv[83] = "none"
emulator: argv[84] = "-append"
emulator: argv[85] = "qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR29X3X0X0 clocksource=pit no-kvmclock android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=196609 qemu.uirenderer=skiagl cma=288M@0-4G ndns=4 qemu.wifi=1 mac80211_hwsim.channels=2 loop.max_part=7 androidboot.vbmeta.size=4352 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=bc84f7138eb2b5eeb318682e393649688bc3de8bf7151420a915a015e4bbfe4d androidboot.boot_devices=pci0000:00/0000:00:03.0 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=512m"
emulator: argv[86] = "-android-hw"
emulator: argv[87] = "C:\Users\mike\.android\avd\Pixel_2_API_29.avd\hardware-qemu.ini"
Concatenated QEMU options:
D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe -dns-server 192.168.5.1,9.9.9.9,149.112.112.112,161.57.5.2 -mem-path C:\Users\mike\.android\avd\Pixel_2_API_29.avd\snapshots\default_boot\ram.img -serial null -device goldfish_pstore,addr=0xff018000,size=0x10000,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\data\misc\pstore\pstore.bin -cpu android64 -enable-hax -smp cores=4 -m 2048 -lcd-density 420 -nodefaults -kernel D:\andriodSDK\system-images\android-29\google_apis\x86\\kernel-ranchu-64 -initrd D:\andriodSDK\system-images\android-29\google_apis\x86\\ramdisk.img -drive if=none,index=0,id=system,file=D:\andriodSDK\system-images\android-29\google_apis\x86\\system.img,read-only -device virtio-blk-pci,drive=system,modern-pio-notify -drive if=none,index=1,id=cache,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,modern-pio-notify -drive if=none,index=2,id=userdata,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,modern-pio-notify -drive if=none,index=3,id=encrypt,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=encrypt,modern-pio-notify -drive if=none,index=4,id=vendor,file=D:\andriodSDK\system-images\android-29\google_apis\x86\\vendor.img,read-only -device virtio-blk-pci,drive=vendor,modern-pio-notify -drive if=none,index=5,id=sdcard,file=C:\Users\mike\.android\avd\Pixel_2_API_29.avd\sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=sdcard,modern-pio-notify -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -device virtio-rng-pci -show-cursor -device virtio_input_multi_touch_pci_1 -device virtio_input_multi_touch_pci_2 -device virtio_input_multi_touch_pci_3 -device virtio_input_multi_touch_pci_4 -device virtio_input_multi_touch_pci_5 -device virtio_input_multi_touch_pci_6 -device virtio_input_multi_touch_pci_7 -device virtio_input_multi_touch_pci_8 -device virtio_input_multi_touch_pci_9 -device virtio_input_multi_touch_pci_10 -device virtio_input_multi_touch_pci_11 -device virtio-keyboard-pci -L D:\andriodSDK\emulator/lib/pc-bios -soundhw hda -vga none -append "qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR29X3X0X0 clocksource=pit no-kvmclock android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.encrypt=1 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=196609 qemu.uirenderer=skiagl cma=288M@0-4G ndns=4 qemu.wifi=1 mac80211_hwsim.channels=2 loop.max_part=7 androidboot.vbmeta.size=4352 androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.digest=bc84f7138eb2b5eeb318682e393649688bc3de8bf7151420a915a015e4bbfe4d androidboot.boot_devices=pci0000:00/0000:00:03.0 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=512m" -android-hw C:\Users\mike\.android\avd\Pixel_2_API_29.avd\hardware-qemu.ini
emulator: Android qemu version 29.3.0.0 (build_id 6061023) (CL:N/A)
emulator: Starting QEMU main loop
Failed to open /usr/local/google/home/joshuaduong/emu/master/prebuilts/android-emulator-build/qemu-android-deps/windows_msvc-x86_64/qemu.conf, err: 2
emulator: Adding boot property: 'ro.opengles.version' = '196609'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'front'
emulator: Adding boot property: 'dalvik.vm.heapsize' = '512m'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '420'
HAX is working and emulator runs in fast virt mode.
emulator: goldfish_events.have-dpad: false
emulator: goldfish_events.have-trackball: false
emulator: goldfish_events.have-camera: true
emulator: goldfish_events.have-keyboard: false
emulator: goldfish_events.have-lidswitch: false
emulator: goldfish_events.have-tabletmode: false
emulator: goldfish_events.have-touch: false
emulator: goldfish_events.have-multitouch: false
emulator: control console listening on port 5554, ADB on port 5555
Not using any http proxy
emulator: Adding boot property: 'qemu.timezone' = 'America/New_York'
emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized
emulator: emulator_window_fb_rotate
emulator: No acpi ini file provided, using default
emulator: No acpi ini file provided, using default
emulator: VERBOSE: winsys-qt.cpp:919: config multidisplay with config.ini 0x0 0x0 0x0
VCPU shutdown request
.....
.....
VCPU shutdown request
emulator: WARNING: Not saving state: RAM not mapped as shared
VCPU shutdown request
emulator: Done with QEMU main loop
emulator: User-config was not changed.
emulator: Android emulator version 29.3.0.0 (build_id 6061023) (CL:N/A)
emulator: Found AVD name 'Pixel_2_API_29'
emulator: Found AVD target architecture: x86
emulator: argv[0]: 'emulator'; program directory: 'D:\andriodSDK\emulator'
emulator: Found directory: D:\andriodSDK\system-images\android-29\google_apis\x86\
emulator: emuDirName: 'D:\andriodSDK\emulator'
emulator: Found directory: D:\andriodSDK\system-images\android-29\google_apis\x86\
emulator: Probing for D:\andriodSDK\system-images\android-29\google_apis\x86\\kernel-ranchu-64: file exists
emulator: try dir D:\andriodSDK\emulator
emulator: Trying emulator path 'D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe'
emulator: Found target-specific 64-bit emulator binary: D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe
emulator: Adding library search path: 'D:\andriodSDK\emulator\lib64'
emulator: Adding library search path: 'D:\andriodSDK\emulator\lib64\gles_angle'
emulator: Adding library search path: 'D:\andriodSDK\emulator\lib64\gles_angle9'
emulator: Adding library search path: 'D:\andriodSDK\emulator\lib64\gles_angle11'
emulator: Adding library search path: 'D:\andriodSDK\emulator\lib64\gles_swiftshader'
emulator: Adding library search path for Qt: 'D:\andriodSDK\emulator\lib64\qt\lib'
emulator: Silencing all qWarning(); use qCWarning(...) instead: QT_LOGGING_RULES=default.warning=false
emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=D:\andriodSDK\emulator\lib64\qt\plugins
emulator: Setting Qt to use software OpenGL: QT_OPENGL=software
emulator: Setting QML to use software QtQuick2D: QMLSCENE_DEVICE=softwarecontext
emulator: Overriding pre-existing bad Qt high dpi settings...
emulator: Quoted param: [D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe]
emulator: Quoted param: [-avd]
emulator: Quoted param: [Pixel_2_API_29]
emulator: Quoted param: [-verbose]
emulator: Running :D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe
emulator: qemu backend: argv[00] = "D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe"
emulator: qemu backend: argv[01] = "-avd"
emulator: qemu backend: argv[02] = "Pixel_2_API_29"
emulator: qemu backend: argv[03] = "-verbose"
emulator: Concatenated backend parameters:
D:\andriodSDK\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe -avd Pixel_2_API_29 -verbose
最佳答案
看来我已经解决了这个问题。以下项目之一修复了它。我没有一次做这些,只是一次。所以希望这对将来的人有所帮助。
我所做的导致它被修复的项目。
它现在可以正常使用默认的 AVD 配置
关于Android虚拟设备打开后立即关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59358465/
有WHERE 1=1有什么作用如果您在脚本(伪代码)中编写此请求: sql = "SELECT f1,f2,f3 FROM t WHERE 1=1" ++ restOfTheClause
这个问题已经有答案了: R: Convert delimited string into variables (3 个回答) 已关闭 5 年前。 我有一个包含电影数据的表,在最后一列中,它包含电影所属
假设我有一个基类: struct A{ virtual void foo() = 0; }; 然后假设我有一个这样的派生类: struct B : public virtual A{ voi
我有一个小问题,我的 << 运算符没有被正确调用。 这是我的: class SomeInterface { friend std::ostream& operator<<(std::ostrea
首先,我来自 Java 社区,并且仍然是 C++ 的学习者。 请看下面的类 第二张图片显示了类“GameObject”的子类。它还有一个 Display() 方法。 GameObject类有5个子类,
我这里遇到了一些问题。我试图让我的代码像 java 中的接口(interface)一样工作。这个类被其他 2 个继承,因为它们导致了一些问题。而且我还想知道我是否做对了,以及改进我的代码的方法。我是新
在 C++ 中,我有一个基类 A,一个子类 B。两者都有虚方法 Visit。我想在 B 中重新定义“访问”,但 B 需要访问每个 A(以及所有子类)的“访问”功能。 我有类似的东西,但它告诉我 B 无
我有一个抽象类,它是类层次结构的根。该根类有一个带有一些简单实现的方法,似乎没有必要随时随地更改该实现。 使该方法成为非虚方法很好,但是某些子类可能会意外地重新实现它。在这种情况下,虚拟 final方
在 MSDN 上,我发现在抽象方法声明中使用“virtual”修饰符是错误的。我的一位同事应该是非常有经验的开发人员,但他在他的代码中使用了这个: public abstract class Busi
C++ 虚函数表是仅用于确定调用虚函数时应该执行哪一段代码,还是在运行时有其他用途? 在维基百科上,它列出了“动态调度”作为一个原因,但没有深入了解 C++ 的更多细节...... 最佳答案 一些实现
页面大小是否恒定?更具体地说,getconf PAGE_SIZE 给出 4096,这很公平。但这可以通过程序的运行时间改变吗?或者它在整个操作系统进程生成过程中是否保持不变。 IE。 , 进程是否可能
析构函数(当然还有构造函数)和其他成员函数之间的区别在于,如果常规成员函数在派生类中具有主体,则仅执行派生类中的版本。而在析构函数的情况下,派生版本和基类版本都会被执行? 很高兴知道在析构函数(可能是
如果一个函数被定义为虚函数并且与纯虚函数相同,这究竟意味着什么? 最佳答案 来自 Wikipedia's Virtual function... In object-oriented programm
我有一个在 Jetty 下运行的应用程序,我希望该应用程序返回自引用绝对 URL(生成 RSS 提要时,因此客户端必须能够在没有“当前 URL”上下文的情况下工作)。 问题是我事先不知道应用程序将部署
如何在两个virtualtreeview之间复制以复制所有列,而不仅仅是第一列? 复制前: 复制后: 最佳答案 树控件不保存任何数据。它不包含要显示的列数据,因此无法复制它。而是,当树控件想要显示任何
我已将 ShowHint 设置为 true 并将 HintMode 设置为 hmToolTip,但是当我将光标悬停在控件上时,我的 OnGetHint() 事件处理程序甚至没有断点。 知道我做错了什么
我的 friend 正在 Delphi 中使用 VirtualTreeView 工作,并且遇到了下一个问题:他有两列,第一列的每一行都有数据和子项。是否可以不更改第一列宽度来设置最大子列宽度? 图例:
我在我的 Virtual TreeView Component 中使用 TVirtualStringTree ( Delphi project 的一部分)我想创建一个 View ,其中 2 列可以有可
我想遍历 VirtualTreeView 的所有根并将其删除。 我不想清除它。 我收到此代码的访问冲突: var Node : PVirtualNode; begin if VirtualStri
我有一个可以输出表单的 PHP 文件。我想在服务器端调用这个 PHP 文件(当前使用“include”),填写并提交。 这样更好,因此我不必干预实际的 PHP 表单,只需处理表示层,以便数据可以被它自
我是一名优秀的程序员,十分优秀!