Просмотр сообщений
|
Страниц: [1] 2
|
3
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 05, 2021, 22:20
|
Вполне. Насчёт прав на файлы: я как раз и говорил про то, что я бы ставил через пакетный менеджер. Вручную легко ошибиться и, либо урезать права до неработоспособного минимума, либо чрезмерно их расширить.
И ........................... нифигушечки это не дало окромя опыта и убитого времени.
|
|
|
4
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 05, 2021, 13:34
|
А зачем их 2? Если бы у меня так получилось, то я бы снёс ту, которая в домашнем каталоге. Хотя бы потому, что вторую поставил пакетный менеджер, а первую пользователь. И не факт, что ручная установка была правильной.
Системная в разработке не участвует. Я её когда то ставил прошивал телефон. Креатор по умолчанию использует ту которая в домашнем каталоге и как поменять это я не нашел. Андроид студио тоже. Я докопался вчера с помощью adb что унроид студия устанавливает пакет арк и он виден если в адб выполнить потом и в этом списке нет пакета который должен установить креатор. Соответственно и нифигушечки и не работает. во главе угла стоит эта ошибка E/libprocessgroup( 5139): failed to make and chown /acct/uid_10053: Read-only file system Откуда она берется? файл /home/savik/Android/Sdk/system-images/android-21/default/x86/system.img монтируется в эмулятор как системный диск. У студии есть права на запись и чтение этого файла, а у креатора нет. Он открывает его только для чтения. Соответственно не записан пакет арк и ругается на отсутствие библиотек которые на нем есть а доступа у креатора к ним нет. Это я вчера в выводе adb посмотрел. Вечером попробую руками как при прошивке от sudo установить пакет арк и посмотреть что будет. Ересь или близко к реальности?
|
|
|
5
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 04, 2021, 21:00
|
Да там ключей как бы... adb --help Android Debug Bridge version 1.0.40 Version 9.0.0_r3 Installed as /usr/bin/adb
А если просто так "кинуть" apk в экран эмулятора (drag & drop) - поставится? Или ошибки будут? У меня их две. Одна по адресу $ ./adb Android Debug Bridge version 1.0.41 Version 30.0.5-6877874 Installed as /home/savik/Android/Sdk/platform-tools/adb
Вторая adb --help Android Debug Bridge version 1.0.39 Version 1:8.1.0+r23-5~18.04 Installed as /usr/lib/android-sdk/platform-tools/adb
Какую сносить? Запущена которая в home
|
|
|
6
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 04, 2021, 20:31
|
Да там ключей как бы... adb --help Android Debug Bridge version 1.0.40 Version 9.0.0_r3 Installed as /usr/bin/adb
global options: -a listen on all network interfaces, not just localhost -d use USB device (error if multiple devices connected) -e use TCP/IP device (error if multiple TCP/IP devices available) -s SERIAL use device with given serial (overrides $ANDROID_SERIAL) -t ID use device with given transport id -H name of adb server host [default=localhost] -P port of adb server [default=5037] -L SOCKET listen on given socket for adb server [default=tcp:localhost:5037]
general commands: devices [-l] list connected devices (-l for long output) help show this help message version show version num
networking: connect HOST[:PORT] connect to a device via TCP/IP [default port=5555] disconnect [HOST[:PORT]] disconnect from given TCP/IP device [default port=5555], or all forward --list list all forward socket connections forward [--no-rebind] LOCAL REMOTE forward socket connection using: tcp:<port> (<local> may be "tcp:0" to pick any open port) localabstract:<unix domain socket name> localreserved:<unix domain socket name> localfilesystem:<unix domain socket name> dev:<character device name> jdwp:<process pid> (remote only) forward --remove LOCAL remove specific forward socket connection forward --remove-all remove all forward socket connections ppp TTY [PARAMETER...] run PPP over USB reverse --list list all reverse socket connections from device reverse [--no-rebind] REMOTE LOCAL reverse socket connection using: tcp:<port> (<remote> may be "tcp:0" to pick any open port) localabstract:<unix domain socket name> localreserved:<unix domain socket name> localfilesystem:<unix domain socket name> reverse --remove REMOTE remove specific reverse socket connection reverse --remove-all remove all reverse socket connections from device
file transfer: push [--sync] LOCAL... REMOTE copy local files/directories to device --sync: only push files that are newer on the host than the device pull [-a] REMOTE... LOCAL copy files/dirs from device -a: preserve file timestamp and mode sync [all|data|odm|oem|product|system|vendor] sync a local build from $ANDROID_PRODUCT_OUT to the device (default all) -l: list but don't copy
shell: shell [-e ESCAPE] [-n] [-Tt] [-x] [COMMAND...] run remote shell command (interactive shell if no command given) -e: choose escape character, or "none"; default '~' -n: don't read from stdin -T: disable PTY allocation -t: force PTY allocation -x: disable remote exit codes and stdout/stderr separation emu COMMAND run emulator console command
app installation: install [-lrtsdg] [--instant] PACKAGE install-multiple [-lrtsdpg] [--instant] PACKAGE... push package(s) to the device and install them -l: forward lock application -r: replace existing application -t: allow test packages -s: install application on sdcard -d: allow version code downgrade (debuggable packages only) -p: partial application install (install-multiple only) -g: grant all runtime permissions --instant: cause the app to be installed as an ephemeral install app uninstall [-k] PACKAGE remove this app package from the device '-k': keep the data and cache directories
backup/restore: to show usage run "adb shell bu help"
debugging: bugreport [PATH] write bugreport to given PATH [default=bugreport.zip]; if PATH is a directory, the bug report is saved in that directory. devices that don't support zipped bug reports output to stdout. jdwp list pids of processes hosting a JDWP transport logcat show device log (logcat --help for more)
security: disable-verity disable dm-verity checking on userdebug builds enable-verity re-enable dm-verity checking on userdebug builds keygen FILE generate adb public/private key; private key stored in FILE, public key stored in FILE.pub (existing files overwritten)
scripting: wait-for[-TRANSPORT]-STATE wait for device to be in the given state State: device, recovery, sideload, or bootloader Transport: usb, local, or any [default=any] get-state print offline | bootloader | device get-serialno print <serial-number> get-devpath print <device-path> remount remount partitions read-write reboot [bootloader|recovery|sideload|sideload-auto-reboot] reboot the device; defaults to booting system image but supports bootloader and recovery too. sideload reboots into recovery and automatically starts sideload mode, sideload-auto-reboot is the same but reboots after sideloading. sideload OTAPACKAGE sideload the given full OTA package root restart adbd with root permissions unroot restart adbd without root permissions usb restart adb server listening on USB tcpip PORT restart adb server listening on TCP on PORT
internal debugging: start-server ensure that there is a server running kill-server kill the server if it is running reconnect kick connection from host side to force reconnect reconnect device kick connection from device side to force reconnect reconnect offline reset offline/unauthorized devices to force reconnect
environment variables: $ADB_TRACE comma-separated list of debug info to log: all,adb,sockets,packets,rwx,usb,sync,sysdeps,transport,jdwp $ADB_VENDOR_KEYS colon-separated list of keys (files or directories) $ANDROID_SERIAL serial number to connect to (see -s) $ANDROID_LOG_TAGS tags to be used by logcat (see logcat --help)
А если просто так "кинуть" apk в экран эмулятора (drag & drop) - поставится? Или ошибки будут? То же самое. Учe ман adb
|
|
|
8
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 04, 2021, 15:44
|
Возможно, что мы говорим либо о разном, либо на разных языках. Qt Creator - это IDE. Он может собрать apk. Дальше, либо сам креатор загрузит его в эмулятор через adb, либо просто сделает apk и пользователь его установит сам, руками. За какие "ключи" вы говорите?
Я уже фиг знает куда смотреть и что думать https://youtu.be/wWYBveheS4sНа реальных устройствах работает. Пробовал на 8 и 9 андроидах. Получается adb неправильно устанавливает арк в эмулятор.
|
|
|
9
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 04, 2021, 10:36
|
Возможно, что мы говорим либо о разном, либо на разных языках. Qt Creator - это IDE. Он может собрать apk. Дальше, либо сам креатор загрузит его в эмулятор через adb, либо просто сделает apk и пользователь его установит сам, руками. За какие "ключи" вы говорите?
Я уже фиг знает куда смотреть и что думать https://youtu.be/wWYBveheS4s
|
|
|
10
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 03, 2021, 19:44
|
Этот эмулятор от студии, что-ли?
Я так подозреваю, андроид студия и креатор обращаются к эмулятору с разными ключами, именно обращаются к уже работающему. Потому как запускаю эмулятор, поочередно к нему обращаюсь со студии и с креатора по очереди, в студии все нормально в креаторе косяк. Как это посмотреть там и там?
|
|
|
13
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 03, 2021, 10:09
|
Запустил эмулятор в теминале в говорящем режиме ( -vtrbose) *****@*****-System-Product-Name:~/Android/Sdk/emulator$ ./emulator @pixel_4_21 -verbose emulator: Android emulator version 30.2.6.0 (build_id 6962233) (CL:N/A) emulator: Found AVD name 'pixel_4_21' emulator: Found AVD target architecture: x86 emulator: argv[0]: './emulator'; program directory: '/home/*****/Android/Sdk/emulator' emulator: Found directory: /home/*****/Android/Sdk/system-images/android-21/default/x86/
emulator: emuDirName: '/home/*****/Android/Sdk/emulator' emulator: Found directory: /home/*****/Android/Sdk/system-images/android-21/default/x86/
emulator: Probing for /home/*****/Android/Sdk/system-images/android-21/default/x86//kernel-ranchu-64: file missing emulator: try dir /home/*****/Android/Sdk/emulator emulator: Trying emulator path '/home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386' emulator: Found target-specific 64-bit emulator binary: /home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386 emulator: Adding library search path: '/home/*****/Android/Sdk/emulator/lib64' emulator: Adding library search path: '/home/*****/Android/Sdk/emulator/lib64/gles_angle' emulator: Adding library search path: '/home/*****/Android/Sdk/emulator/lib64/gles_angle9' emulator: Adding library search path: '/home/*****/Android/Sdk/emulator/lib64/gles_angle11' emulator: Adding library search path: '/home/*****/Android/Sdk/emulator/lib64/gles_swiftshader' emulator: Adding library search path: '/home/*****/Android/Sdk/emulator/lib64/libstdc++' emulator: Adding library search path for Qt: '/home/*****/Android/Sdk/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=/home/*****/Android/Sdk/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: Setting LD_PRELOAD to /home/*****/Android/Sdk/emulator/lib64/qt/lib/libfreetype.so.6 emulator: Running :/home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386 emulator: qemu backend: argv[00] = "/home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386" emulator: qemu backend: argv[01] = "@pixel_4_21" emulator: qemu backend: argv[02] = "-verbose" emulator: Concatenated backend parameters: /home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386 @pixel_4_21 -verbose emulator: autoconfig: -skin pixel_xl_silver emulator: autoconfig: -skindir /home/*****/Android/Sdk/skins/ emulator: autoconfig: -kernel /home/*****/Android/Sdk/system-images/android-21/default/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 /home/*****/Android/Sdk/system-images/android-21/default/x86//ramdisk.img emulator: Using initial system image: /home/*****/Android/Sdk/system-images/android-21/default/x86//system.img emulator: No vendor image emulator: autoconfig: -data /home/*****/.android/avd/pixel_4_21.avd/userdata-qemu.img emulator: autoconfig: -initdata /home/*****/.android/avd/pixel_4_21.avd/userdata.img emulator: autoconfig: -cache /home/*****/.android/avd/pixel_4_21.avd/cache.img emulator: autoconfig: -sdcard /home/*****/.android/avd/pixel_4_21.avd/sdcard.img emulator: Physical RAM size: 1536MB
emulator: System image is read only emulator: autoconfig: -no-snapshot from AVD config.ini emulator: Found 1 DNS servers: 127.0.0.53 emulator: trying to load skin file '/home/*****/Android/Sdk/skins//pixel_xl_silver/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: WARNING: encryption is off emulator: CPU Acceleration: working emulator: CPU Acceleration status: KVM (version 12) is installed and usable. emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3 Hardware-accelerated emulation may not work properly! emulator: GPU emulation enabled using 'host' mode emulator: Initializing hardware OpenGLES emulation support emulator: VERBOSE: MultiDisplay.cpp:307: create display 0 emulator: VERBOSE: MultiDisplay.cpp:396: setDisplayPose 0 x 0 y 0 w 1440 h 2560 dpi 0 emulator: VERBOSE: load_config.cpp:242: Verified boot params were not found. emulator: Found 1 DNS servers: 127.0.0.53 Content of hardware configuration file: hw.cpu.arch = x86 hw.cpu.model = qemu32 hw.cpu.ncore = 1 hw.ramSize = 1536 hw.screen = multi-touch hw.mainKeys = false hw.trackBall = false hw.keyboard = false 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/*****/.android/avd/pixel_4_21.avd/sdcard.img disk.cachePartition = true disk.cachePartition.path = /home/*****/.android/avd/pixel_4_21.avd/cache.img disk.cachePartition.size = 66m test.quitAfterBootTimeOut = -1 test.delayAdbTillBootComplete = 0 test.monitorAdb = 0 hw.lcd.width = 1440 hw.lcd.height = 2560 hw.lcd.depth = 16 hw.lcd.density = 560 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.displayRegion.0.2.xOffset = -1 hw.displayRegion.0.2.yOffset = -1 hw.displayRegion.0.2.width = 0 hw.displayRegion.0.2.height = 0 hw.displayRegion.0.3.xOffset = -1 hw.displayRegion.0.3.yOffset = -1 hw.displayRegion.0.3.width = 0 hw.displayRegion.0.3.height = 0 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 = emulated hw.camera.front = none 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.sensor.hinge = true hw.sensor.hinge.count = 0 hw.sensor.hinge.type = 0 hw.sensor.hinge.sub_type = 0 hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture = 1 hw.sensor.roll = false hw.sensor.roll.count = 0 hw.sensor.roll.resize_to_displayRegion.0.1_at_posture = 6 hw.sensor.roll.resize_to_displayRegion.0.2_at_posture = 6 hw.sensor.roll.resize_to_displayRegion.0.3_at_posture = 6 hw.useext4 = true hw.arc = false hw.arc.autologin = false kernel.path = /home/*****/Android/Sdk/system-images/android-21/default/x86//kernel-ranchu kernel.newDeviceNaming = yes kernel.supportsYaffs2 = no disk.ramdisk.path = /home/*****/Android/Sdk/system-images/android-21/default/x86//ramdisk.img disk.systemPartition.initPath = /home/*****/Android/Sdk/system-images/android-21/default/x86//system.img disk.systemPartition.size = 800m disk.vendorPartition.size = 0 disk.dataPartition.path = /home/*****/.android/avd/pixel_4_21.avd/userdata-qemu.img disk.dataPartition.size = 800m PlayStore.enabled = false avd.name = pixel_4_21 avd.id = pixel_4_21 fastboot.forceColdBoot = true android.sdk.root = /home/*****/Android/Sdk android.avd.home = /home/*****/.android/avd . QEMU options list: emulator: argv[00] = "/home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386" emulator: argv[01] = "-dns-server" emulator: argv[02] = "127.0.0.53" emulator: argv[03] = "-serial" emulator: argv[04] = "null" emulator: argv[05] = "-device" emulator: argv[06] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/*****/.android/avd/pixel_4_21.avd/data/misc/pstore/pstore.bin" emulator: argv[07] = "-cpu" emulator: argv[08] = "android32" emulator: argv[09] = "-enable-kvm" emulator: argv[10] = "-m" emulator: argv[11] = "1536" emulator: argv[12] = "-lcd-density" emulator: argv[13] = "560" emulator: argv[14] = "-object" emulator: argv[15] = "iothread,id=disk-iothread" emulator: argv[16] = "-nodefaults" emulator: argv[17] = "-kernel" emulator: argv[18] = "/home/*****/Android/Sdk/system-images/android-21/default/x86//kernel-ranchu" emulator: argv[19] = "-initrd" emulator: argv[20] = "/home/*****/Android/Sdk/system-images/android-21/default/x86//ramdisk.img" emulator: argv[21] = "-drive" emulator: argv[22] = "if=none,index=0,id=system,if=none,file=/home/*****/Android/Sdk/system-images/android-21/default/x86//system.img,read-only" emulator: argv[23] = "-device" emulator: argv[24] = "virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify" emulator: argv[25] = "-drive" emulator: argv[26] = "if=none,index=1,id=cache,if=none,file=/home/*****/.android/avd/pixel_4_21.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576" emulator: argv[27] = "-device" emulator: argv[28] = "virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify" emulator: argv[29] = "-drive" emulator: argv[30] = "if=none,index=2,id=userdata,if=none,file=/home/*****/.android/avd/pixel_4_21.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576" emulator: argv[31] = "-device" emulator: argv[32] = "virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify" emulator: argv[33] = "-drive" emulator: argv[34] = "if=none,index=3,id=sdcard,if=none,file=/home/*****/.android/avd/pixel_4_21.avd/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576" emulator: argv[35] = "-device" emulator: argv[36] = "virtio-blk-pci,drive=sdcard,iothread=disk-iothread,modern-pio-notify" emulator: argv[37] = "-netdev" emulator: argv[38] = "user,id=mynet" emulator: argv[39] = "-device" emulator: argv[40] = "virtio-net-pci,netdev=mynet" emulator: argv[41] = "-device" emulator: argv[42] = "virtio-rng-pci" emulator: argv[43] = "-show-cursor" emulator: argv[44] = "-L" emulator: argv[45] = "/home/*****/Android/Sdk/emulator/lib/pc-bios" emulator: argv[46] = "-soundhw" emulator: argv[47] = "hda" emulator: argv[48] = "-vga" emulator: argv[49] = "none" emulator: argv[50] = "-append" emulator: argv[51] = "qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X2X6X0 clocksource=pit no-kvmclock android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=196608 qemu.uirenderer=skiagl cma=314M@0-4G androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=384m" emulator: argv[52] = "-android-hw" emulator: argv[53] = "/home/*****/.android/avd/pixel_4_21.avd/hardware-qemu.ini" Concatenated QEMU options: /home/*****/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-i386 -dns-server 127.0.0.53 -serial null -device goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/*****/.android/avd/pixel_4_21.avd/data/misc/pstore/pstore.bin -cpu android32 -enable-kvm -m 1536 -lcd-density 560 -object iothread,id=disk-iothread -nodefaults -kernel /home/*****/Android/Sdk/system-images/android-21/default/x86//kernel-ranchu -initrd /home/*****/Android/Sdk/system-images/android-21/default/x86//ramdisk.img -drive if=none,index=0,id=system,if=none,file=/home/*****/Android/Sdk/system-images/android-21/default/x86//system.img,read-only -device virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify -drive if=none,index=1,id=cache,if=none,file=/home/*****/.android/avd/pixel_4_21.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,if=none,file=/home/*****/.android/avd/pixel_4_21.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=sdcard,if=none,file=/home/*****/.android/avd/pixel_4_21.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 /home/*****/Android/Sdk/emulator/lib/pc-bios -soundhw hda -vga none -append 'qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR30X2X6X0 clocksource=pit no-kvmclock android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=196608 qemu.uirenderer=skiagl cma=314M@0-4G androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=384m' -android-hw /home/*****/.android/avd/pixel_4_21.avd/hardware-qemu.ini emulator: Android qemu version 30.2.6.0 (build_id 6962233) (CL:N/A)
emulator: Starting QEMU main loop emulator: Adding boot property: 'ro.opengles.version' = '196608' emulator: Adding boot property: 'qemu.sf.fake_camera' = 'back' emulator: Adding boot property: 'dalvik.vm.heapsize' = '384m' emulator: Adding boot property: 'qemu.hw.mainkeys' = '0' emulator: Adding boot property: 'qemu.sf.lcd_density' = '560' 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: true emulator: control console listening on port 5554, ADB on port 5555 host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9] Not using any http proxy emulator: Adding boot property: 'qemu.timezone' = 'Europe/Moscow' emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized
emulator: VERBOSE: GrpcServices.cpp:286: Started GRPC server at 127.0.0.1:8554, security: Local emulator: emulator_window_fb_rotate
emulator: No acpi ini file provided, using default
emulator: OpenGL Vendor=[Google (X.Org)] emulator: OpenGL Renderer=[Android Emulator OpenGL ES Translator (AMD RV730 (DRM 2.50.0 / 5.4.0-58-generic, LLVM 10.0.0))] emulator: OpenGL Version=[OpenGL ES 3.0 (3.3 (Core Profile) Mesa 20.0.8)] emulator: No acpi ini file provided, using default
emulator: VERBOSE: AdbInterface.cpp:355: no root specified: emulator: VERBOSE: AdbInterface.cpp:385: Found: 1 adb executables emulator: VERBOSE: AdbInterface.cpp:387: Adb: /home/*****/Android/Sdk/platform-tools/adb emulator: VERBOSE: AdbInterface.cpp:408: Path:/home/*****/Android/Sdk/platform-tools/adb protocol version: 41 emulator: onGuestSendCommand: [0x5437790] Adb connected, start proxing data
|
|
|
15
|
Qt / Установка, сборка, отладка, тестирование / Re: QT Creator под Андроид
|
: Январь 02, 2021, 23:28
|
Я бы, для начала, почитал, что такое acct. А потом бы нормально настроил систему. Если она вообще у вас в "эмуляторе" настраивается. Отсюда ведь не видно, что за "эмулятор" вы поставили и как настраивали. Уже читал. acct - это открытый исходный кодом, который используется для мониторинга активности пользователей в системе. Они работают в фоновом режиме отслеживания активности пользователя в системе и потребляют ресурсы от сервисов MySQL, Apache, FTP, SSH, и др. У меня этот пакет не установлен. Откуда папки не знаю. Версия эмулятора ******System-Product-Name:~/Android/Sdk/tools$ ./emulator -version Android emulator version 30.2.6.0 (build_id 6962233) (CL:N/A) Copyright (C) 2006-2017 The Android Open Source Project and many others. This program is a derivative of the QEMU CPU emulator (www.qemu.org).
This software is licensed under the terms of the GNU General Public License version 2, as published by the Free Software Foundation, and may be copied, distributed, and modified under those terms.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
$ ./emulator -list-avds pixel_4_21
У меня уже их каких только не стояло. Этот ставился средствами qtcreator. настроек нет, все по умолчанию. Запускается с опциями -netdelay none -netspeed full. Запустил в терминале. System-Product-Name:~/Android/Sdk/tools$ ./emulator @pixel_4_21 emulator: WARNING: encryption is off emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3 Hardware-accelerated emulation may not work properly! emulator: INFO: QtLogger.cpp:68: Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) ((null):0, (null))
emulator: INFO: QtLogger.cpp:68: Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() ((null):0, (null))
host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9] emulator: ERROR: AdbHostServer.cpp:102: Unable to connect to adb daemon on port: 5037
|
|
|
|
|