- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我使用的是 Fedora 27,我的笔记本电脑支持混合显卡
$ lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107M [GeForce GT 640M] [10de:0fd2] (rev ff) (prog-if ff)
$ uname -r
4.15.4-300.fc27.x86_64
我想用我的 nvidia GPU 来模拟 AVD,我相信这样会更有效率。我已经安装了 bumblebee,它工作正常。
所以我尝试了 primus run
$ primusrun /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_API_27 -verbose
emulator:Android emulator version 26.0.3.0 (build_id 3965150)
emulator:Found AVD name 'Nexus_5X_API_27'
emulator:Found AVD target architecture: x86
emulator:argv[0]: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator'; program directory: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools'
emulator: Found directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86/
emulator:Probing for /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu: file exists
emulator:Auto-config: -engine qemu2 (based on configuration)
emulator: Found directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86/
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator
emulator:Found target-specific 64-bit emulator binary: /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_swiftshader'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle9'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle11'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++'
emulator: Adding library search path for Qt: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/qt/lib'
emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/qt/plugins
emulator: Running :/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386
emulator: qemu backend: argv[00] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386"
emulator: qemu backend: argv[01] = "-netdelay"
emulator: qemu backend: argv[02] = "none"
emulator: qemu backend: argv[03] = "-netspeed"
emulator: qemu backend: argv[04] = "full"
emulator: qemu backend: argv[05] = "-avd"
emulator: qemu backend: argv[06] = "Nexus_5X_API_27"
emulator: qemu backend: argv[07] = "-verbose"
emulator: Concatenated backend parameters:
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386 -netdelay none -netspeed full -avd Nexus_5X_API_27 -verbose
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386: /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib64/primus/libGL.so.1)
它说 找不到版本“GLIBCXX_3.4.21”(/usr/lib64/primus/libGL.so.1 要求)
我检查模拟器库的字符串
$ strings /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++/libstdc++.so.6 | grep GLIBCXX_3.4.2
GLIBCXX_3.4.2
GLIBCXX_3.4.2
和我的机器
$ strings /usr/lib/libstdc++.so.6.0.24 | grep GLIBCXX_3.4.2
GLIBCXX_3.4.2
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
我也试过optirun
$ optirun /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_API_27 -verbose
emulator:Android emulator version 26.0.3.0 (build_id 3965150)
emulator:Found AVD name 'Nexus_5X_API_27'
emulator:Found AVD target architecture: x86
emulator:argv[0]: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator'; program directory: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools'
emulator: Found directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86/
emulator:Probing for /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu: file exists
emulator:Auto-config: -engine qemu2 (based on configuration)
emulator: Found directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86/
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator
emulator:Found target-specific 64-bit emulator binary: /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_swiftshader'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle9'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle11'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++'
emulator: Adding library search path for Qt: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/qt/lib'
emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/qt/plugins
emulator: Running :/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386
emulator: qemu backend: argv[00] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386"
emulator: qemu backend: argv[01] = "-netdelay"
emulator: qemu backend: argv[02] = "none"
emulator: qemu backend: argv[03] = "-netspeed"
emulator: qemu backend: argv[04] = "full"
emulator: qemu backend: argv[05] = "-avd"
emulator: qemu backend: argv[06] = "Nexus_5X_API_27"
emulator: qemu backend: argv[07] = "-verbose"
emulator: Concatenated backend parameters:
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386 -netdelay none -netspeed full -avd Nexus_5X_API_27 -verbose
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386: /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib64/VirtualGL/librrfaker.so)
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386: /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib64/VirtualGL/librrfaker.so)
并获取版本 CXXABI_1.3.8 和 未找到 CXXABI_1.3.9请给我建议。
最佳答案
我找到了解决方案。首先需要检查共享库缓存中是否有libstdc++.so.6:
$ ldconfig -p | grep libstdc++.so.6
libstdc++.so.6 (libc6,x86-64) => /lib64/libstdc++.so.6
libstdc++.so.6 (libc6) => /lib/libstdc++.so.6
检查程序文件详细信息
$ file /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator
/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.15, stripped
它是 64 位 LSB 可执行文件。
我需要将我的 AVD 库与我的机器进行符号链接(symbolic link)
$ cd /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++/
$ ls -l | grep libstd
-rwxrwxrwx. 1 root root 4831936 Feb 5 17:16 libstdc++.so.6
-rwxrwxrwx. 1 root root 4831936 Feb 5 17:16 libstdc++.so.6.0.19
创建libstdc++.so.6的备份
$ mv libstdc++.so.6 libstdc++.so.6.bak
然后检查我的/usr/lib
库
$ ls -l /usr/lib/ | grep libstd
-rwxr-xr-x. 1 root root 263400 Aug 16 2014 libstdc++-3-libc6.2-2-2.10.0.so
lrwxrwxrwx. 1 root root 31 Aug 16 2014 libstdc++-libc6.2-2.so.3 -> libstdc++-3-libc6.2-2-2.10.0.so
lrwxrwxrwx. 1 root root 18 Feb 10 2017 libstdc++.so.5 -> libstdc++.so.5.0.7
-rwxr-xr-x. 1 root root 743796 Feb 10 2017 libstdc++.so.5.0.7
lrwxrwxrwx. 1 root root 19 Jan 30 21:31 libstdc++.so.6 -> libstdc++.so.6.0.24
-rwxr-xr-x. 1 root root 1586468 Jan 30 21:35 libstdc++.so.6.0.24
现在创建指向当前目录的符号链接(symbolic link)
$ pwd
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++
$ ln -fs /usr/lib/libstdc++.so.6 libstdc++.so.6
检查共享库
$ ldd /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator
linux-vdso.so.1 (0x00007ffe62798000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007effa086c000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007effa0669000)
librt.so.1 => /lib64/librt.so.1 (0x00007effa0461000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007effa0242000)
libm.so.6 => /lib64/libm.so.6 (0x00007eff9feed000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007eff9fcd6000)
libc.so.6 => /lib64/libc.so.6 (0x00007eff9f8f3000)
/lib64/ld-linux-x86-64.so.2 (0x00007effa0a70000)
现在通过 primusrun 运行模拟器
$ optirun /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_API_27 -verbose
emulator:Android emulator version 26.0.3.0 (build_id 3965150)
emulator:Found AVD name 'Nexus_5X_API_27'
emulator:Found AVD target architecture: x86
emulator:argv[0]: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/emulator'; program directory: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/tools'
emulator: Found directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86/
emulator:Probing for /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu: file exists
emulator:Auto-config: -engine qemu2 (based on configuration)
emulator: Found directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86/
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/tools/
emulator:try dir /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator
emulator:Found target-specific 64-bit emulator binary: /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_swiftshader'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle9'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/gles_angle11'
emulator:Adding library search path: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/libstdc++'
emulator: Adding library search path for Qt: '/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/qt/lib'
emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib64/qt/plugins
emulator: Running :/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386
emulator: qemu backend: argv[00] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386"
emulator: qemu backend: argv[01] = "-netdelay"
emulator: qemu backend: argv[02] = "none"
emulator: qemu backend: argv[03] = "-netspeed"
emulator: qemu backend: argv[04] = "full"
emulator: qemu backend: argv[05] = "-avd"
emulator: qemu backend: argv[06] = "Nexus_5X_API_27"
emulator: qemu backend: argv[07] = "-verbose"
emulator: Concatenated backend parameters:
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386 -netdelay none -netspeed full -avd Nexus_5X_API_27 -verbose
emulator: Android virtual device file at: /home/rnm/.android/avd/Nexus_5X_API_27.ini
emulator: virtual device content at /home/rnm/.android/avd/Nexus_5X_API_27.avd
emulator: virtual device config file: /home/rnm/.android/avd/Nexus_5X_API_27.avd/config.ini
emulator: using core hw config path: /home/rnm/.android/avd/Nexus_5X_API_27.avd/hardware-qemu.ini
emulator: using snapshot lock path: /home/rnm/.android/avd/Nexus_5X_API_27.avd/snapshot.lock
emulator: Found AVD target API level: 27
emulator: Read property file at /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//build.prop
emulator: No boot.prop property file found.
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: autoconfig: -skin nexus_5x
emulator: autoconfig: -skindir /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: autoconfig: -kernel /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
emulator: Auto-detect: Kernel image requires new device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: autoconfig: -ramdisk /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//ramdisk.img
emulator: Using initial system image: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//system.img
emulator: Using initial vendor image: /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//vendor.img
emulator: autoconfig: -data /home/rnm/.android/avd/Nexus_5X_API_27.avd/userdata-qemu.img
emulator: autoconfig: -initdata /home/rnm/.android/avd/Nexus_5X_API_27.avd/userdata.img
emulator: autoconfig: -cache /home/rnm/.android/avd/Nexus_5X_API_27.avd/cache.img
emulator: autoconfig: -sdcard /home/rnm/.android/avd/Nexus_5X_API_27.avd/sdcard.img
emulator: Physical RAM size: 1536MB
emulator: VM heap size 256MB is below hardware specified minimum of 384MB,setting it to that value
emulator: System image is read only
emulator: Found 2 DNS servers: 192.168.161.1 192.168.161.4
emulator: trying to load skin file '/mnt/01D19F269DAADFD0/Android/Sdk-linux/skins//nexus_5x/layout'
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: KVM (version 12) is installed and usable.
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: Found 2 DNS servers: 192.168.161.1 192.168.161.4
Content of hardware configuration file:
hw.cpu.arch = x86
hw.cpu.model = qemu32
hw.cpu.ncore = 4
hw.ramSize = 1536
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 = /home/rnm/.android/avd/Nexus_5X_API_27.avd/sdcard.img
disk.cachePartition = true
disk.cachePartition.path = /home/rnm/.android/avd/Nexus_5X_API_27.avd/cache.img
disk.cachePartition.size = 66m
test.quitAfterBootTimeOut = -1
hw.lcd.width = 1080
hw.lcd.height = 1920
hw.lcd.depth = 16
hw.lcd.density = 420
hw.lcd.backlight = true
hw.gpu.enabled = true
hw.gpu.mode = host
hw.gpu.blacklisted = no
hw.initialOrientation = Portrait
hw.camera.back = emulated
hw.camera.front = emulated
vm.heapSize = 384
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 = /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu
kernel.newDeviceNaming = yes
kernel.supportsYaffs2 = no
disk.ramdisk.path = /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//ramdisk.img
disk.systemPartition.initPath = /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//system.img
disk.systemPartition.size = 2562m
disk.vendorPartition.initPath = /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//vendor.img
disk.vendorPartition.size = 200m
disk.dataPartition.path = /home/rnm/.android/avd/Nexus_5X_API_27.avd/userdata-qemu.img
disk.dataPartition.size = 2g
disk.encryptionKeyPartition.path = /home/rnm/.android/avd/Nexus_5X_API_27.avd/encryptionkey.img
PlayStore.enabled = true
avd.name = Nexus_5X_API_27
fastboot.forceColdBoot = false
.
QEMU options list:
emulator: argv[00] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "192.168.161.1,192.168.161.4"
emulator: argv[03] = "-serial"
emulator: argv[04] = "null"
emulator: argv[05] = "-device"
emulator: argv[06] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/rnm/.android/avd/Nexus_5X_API_27.avd/data/misc/pstore/pstore.bin"
emulator: argv[07] = "-cpu"
emulator: argv[08] = "android32"
emulator: argv[09] = "-enable-kvm"
emulator: argv[10] = "-smp"
emulator: argv[11] = "cores=4"
emulator: argv[12] = "-m"
emulator: argv[13] = "1536"
emulator: argv[14] = "-lcd-density"
emulator: argv[15] = "420"
emulator: argv[16] = "-object"
emulator: argv[17] = "iothread,id=disk-iothread"
emulator: argv[18] = "-nodefaults"
emulator: argv[19] = "-kernel"
emulator: argv[20] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu"
emulator: argv[21] = "-initrd"
emulator: argv[22] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//ramdisk.img"
emulator: argv[23] = "-drive"
emulator: argv[24] = "if=none,index=0,id=system,file=/mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//system.img,read-only"
emulator: argv[25] = "-device"
emulator: argv[26] = "virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify"
emulator: argv[27] = "-drive"
emulator: argv[28] = "if=none,index=1,id=cache,file=/home/rnm/.android/avd/Nexus_5X_API_27.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,iothread=disk-iothread,modern-pio-notify"
emulator: argv[31] = "-drive"
emulator: argv[32] = "if=none,index=2,id=userdata,file=/home/rnm/.android/avd/Nexus_5X_API_27.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,iothread=disk-iothread,modern-pio-notify"
emulator: argv[35] = "-drive"
emulator: argv[36] = "if=none,index=3,id=encrypt,file=/home/rnm/.android/avd/Nexus_5X_API_27.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,iothread=disk-iothread,modern-pio-notify"
emulator: argv[39] = "-drive"
emulator: argv[40] = "if=none,index=4,id=vendor,file=/mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//vendor.img,read-only"
emulator: argv[41] = "-device"
emulator: argv[42] = "virtio-blk-pci,drive=vendor,iothread=disk-iothread,modern-pio-notify"
emulator: argv[43] = "-drive"
emulator: argv[44] = "if=none,index=5,id=sdcard,file=/home/rnm/.android/avd/Nexus_5X_API_27.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,iothread=disk-iothread,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] = "-L"
emulator: argv[55] = "/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib/pc-bios"
emulator: argv[56] = "-soundhw"
emulator: argv[57] = "hda"
emulator: argv[58] = "-vga"
emulator: argv[59] = "none"
emulator: argv[60] = "-append"
emulator: argv[61] = "qemu=1 no_timer_check androidboot.hardware=ranchu clocksource=pit no-kvmclock android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.encrypt=1 qemu.opengles.version=131072 cma=288M@0-4G ndns=2 androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000"
emulator: argv[62] = "-android-hw"
emulator: argv[63] = "/home/rnm/.android/avd/Nexus_5X_API_27.avd/hardware-qemu.ini"
Concatenated QEMU options:
/mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/qemu/linux-x86_64/qemu-system-i386 -dns-server 192.168.161.1,192.168.161.4 -serial null -device goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/rnm/.android/avd/Nexus_5X_API_27.avd/data/misc/pstore/pstore.bin -cpu android32 -enable-kvm -smp cores=4 -m 1536 -lcd-density 420 -object iothread,id=disk-iothread -nodefaults -kernel /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//kernel-ranchu -initrd /mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//ramdisk.img -drive if=none,index=0,id=system,file=/mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//system.img,read-only -device virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify -drive if=none,index=1,id=cache,file=/home/rnm/.android/avd/Nexus_5X_API_27.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify -drive if=none,index=2,id=userdata,file=/home/rnm/.android/avd/Nexus_5X_API_27.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify -drive if=none,index=3,id=encrypt,file=/home/rnm/.android/avd/Nexus_5X_API_27.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=encrypt,iothread=disk-iothread,modern-pio-notify -drive if=none,index=4,id=vendor,file=/mnt/01D19F269DAADFD0/Android/Sdk-linux/system-images/android-27/google_apis_playstore/x86//vendor.img,read-only -device virtio-blk-pci,drive=vendor,iothread=disk-iothread,modern-pio-notify -drive if=none,index=5,id=sdcard,file=/home/rnm/.android/avd/Nexus_5X_API_27.avd/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=sdcard,iothread=disk-iothread,modern-pio-notify -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -device virtio-rng-pci -show-cursor -L /mnt/01D19F269DAADFD0/Android/Sdk-linux/emulator/lib/pc-bios -soundhw hda -vga none -append 'qemu=1 no_timer_check androidboot.hardware=ranchu clocksource=pit no-kvmclock android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.encrypt=1 qemu.opengles.version=131072 cma=288M@0-4G ndns=2 androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000' -android-hw /home/rnm/.android/avd/Nexus_5X_API_27.avd/hardware-qemu.ini
emulator: Android qemu version 27.1.10.0 (build_id 4607264) (CL:2312b3ec8e08a7a44dc6ce6092f664a09cabf93c)
emulator: Starting QEMU main loop
emulator: registered 'boot-properties' qemud service
emulator: Adding boot property: 'ro.opengles.version' = '131072'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'both'
emulator: Adding boot property: 'qemu.adb.secure' = '1'
emulator: Adding boot property: 'dalvik.vm.heapsize' = '384m'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '420'
emulator: goldfish_events.have-dpad: false
emulator: goldfish_events.have-trackball: false
emulator: goldfish_events.have-camera: true
emulator: goldfish_events.have-keyboard: true
emulator: goldfish_events.have-lidswitch: false
emulator: goldfish_events.have-tabletmode: false
emulator: goldfish_events.have-touch: false
emulator: goldfish_events.have-multitouch: true
emulator: control console listening on port 5554, ADB on port 5555
Not using any http proxy
emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: _hwFingerprint_connect: connect finger print listen is called
emulator: got message from guest system fingerprint HAL
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: onGuestSendCommand: [0x7f6254141b80] Adb connected, start proxing data
emulator: found skin 'nexus_5x' in directory: /mnt/01D19F269DAADFD0/Android/Sdk-linux/skins/
emulator: onGuestClose: [0x7f6254141b80] Adb closed by guest
emulator: onGuestClose: [0x7f62554a5ac0] Adb closed by guest
emulator: Done with QEMU main loop
emulator: User-config was not changed.
关于android - 当通过 primusrun 运行 AVD 时,我得到 "version ` GLIBCXX_3.4.2 1' not found"并通过 optirun,我得到 CXXABI _"1.3.* not found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49066035/
我正在使用JQuery Mobile,有两个可用版本:稳定版和旧版。我不熟悉后者。 什么是旧版?或与稳定版有什么区别? 建议在生产现场中使用哪一个? 非常感谢 最佳答案 旧版本是一个旧的稳定版本,由于
Lotus Notes 具有“版本控制”功能。您可以将其设置为在用户需要单击 File->New->Version 以创建新版本的模式下工作。我想在表单上的按钮中使用该功能。 有没有办法(使用 Lot
关闭。这个问题是opinion-based 。目前不接受答案。 已关闭10 年前。 已锁定。这个问题及其答案是locked因为这个问题是题外话,但却具有历史意义。目前不接受新的答案或互动。 是否有任何
我对使用数据库和数据库设计/创建模式非常陌生,我非常感谢一些建议/建议。我正在创建一个应用程序,用户在其中输入数据,并向用户提供该数据的版本控制。用户可以进入并恢复更改或更新值(有点像 git)等,我
尝试启动带头 Selenium session 时出现此错误。 我使用的命令是driver = webdriver.Chrome(executable_path=r'C:\Users\Administ
Apple 的文档本来可以更清楚地说明如何提交更新版本。 正如标题所问,有什么区别 itunes connect 中的版本号(提交更新时必须提供) xcode 中的捆绑版本 捆绑版本字符串,短 它们有
当我在我的 Android 设备上运行我的应用程序时出现错误: meteor run android-device --settings settings.json --mobile-server=m
v = data.getValues(XP_PHONE); for (int i = 0; i alter 'table_foo', {NAME => 'column_fam_foo', V
我在Google CoLab中有这样一个错误:。以下是我的Cuda和Torch版本:。CUDA版本:。这是pytorch版本:2.0.1+cu118我试图安装Cuda 11.8,但没有成功。
我从其他用户那里发现了“类似”的问题,但没有一个答案有效。我正在尝试安装这些软件包: if (!require("BiocManager")) install.packages("BiocMana
我正在使用 Version Maven Plugin插件 use-latest-versions将 groupID=com.example* 内部依赖版本更新到最新版本的功能。这是使用 Jenkins
我是 Kotlin 应用程序开发的初学者。当我尝试构建应用程序时发生以下错误 - e: C:/Users/Lenovo/.gradle/caches/transforms-2/files-2.1/32
我正在尝试安装一个名为 metaBIT 的程序。我能够将它添加到我的路径中。但是当我执行时: metaBIT -h 它出错并给我这个: Traceback (most recent call last
在使用选项 -smt2 -in 启动 Z3 后,我可以获取 Z3 的版本吗?有点像 (get-z3-version) ; Z3 4.3.2 x64 // Desired reply 最佳答案 在SM
这个问题在这里已经有了答案: What is the difference between Version and 'Runtime Version' in .Net? (1 个回答) 关闭 9 年
new Version(AssemblyFileVersionAttribute.Version) 总是会成功吗? 这是我的代码。 Contract.Ensures(Contract.Result()
我正在尝试针对另一个使用 libcurl 共享库的共享库 (libtheirstuff.so) 交叉编译我自己的共享库 (libmystuff.so),但出现以下错误: libmystuff.so:
在 Bazaar 中,如果您在 foo.html 中有冲突,它将生成额外的 3 个文件 foo.html.BASE foo.html.OTHER foo.html.THIS 那么你可以 diff -N
我的 java 7 和 java 8 都安装在我的 Windows 系统的 C:\Program Files\Java 下 在环境的路径中我像这样指定了java 7的路径。 %JAVA_HOME%/b
#version 330 和 #version 330 core 有什么区别? 核心重要吗? 最佳答案 这两个版本声明是等价的。 核心 是默认值。来自 GLSL 3.30 规范: If no prof
我是一名优秀的程序员,十分优秀!