• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

The first use of Android emulator

tomyf

Lurker
Feb 18, 2017
7
0
Hi guys,

By Qt Creator 5.8, and using AVD_for_Nexus_4_by_Google API 22 armeabi kit, I created an app named App1 following the Creating the Project section.
Then created an AVD like the following the ran the app and chose that AVD > OK and waited and waited.

image.jpg


No virtual device will be shown to see my app work there and got the followings in the "Compile Output":

// ...(Many lines here ended to build successful)

BUILD SUCCESSFUL
Total time: 5.413 secs
Android package built successfully in 14.136 ms.
-- File: C:/Users/CS/Documents/Qt/App1/build-App1- Android_for_armeabi_v7a_GCC_4_9_Qt_5_8_0-Debug/android- build//build/outputs/apk/android-build-debug.apk
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
12:26:30: The process "C:\Qt\Qt5.8.0\5.8\android_armv7\bin\androiddeployqt.exe" exited normally.
Error while building/deploying project App1 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0))
When executing step "Deploy to Android device"
12:28:35: Elapsed time: 02:20.


What is your idea about the problem please? And is there any way to solve it please?
 
I just created another AVD using Android Studio, with the following details:


Name: Nexus_7_API_21_2
CPU/ABI: ARM (armeabi-v7a)
Path: C:\Users\CS\.android\avd\Nexus_7_API_21_2.avd
Target: default [] (API level 21)
Skin: nexus_7_2013
SD Card: C:\Users\CS\.android\avd\Nexus_7_API_21_2.avd\sdcard.img
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Nexus 7 2013
vm.heapSize: 64
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.initialOrientation: Portrait
image.androidVersion.api: 21
hw.audioInput: yes
image.sysdir.1: system-images\android-21\default\armeabi-v7a\
hw.cpu.model: cortex-a8
tag.id: default
showDeviceFrame: yes
hw.camera.back: emulated
hw.mainKeys: no
AvdId: Nexus_7_API_21_2
hw.camera.front: emulated
hw.lcd.density: 320
avd.ini.displayname: Nexus 7 API 21 2
hw.gpu.mode: auto
hw.device.hash2: MD5:47dc70fd92541dd16c19f9efa3e9db62
hw.ramSize: 760
hw.trackBall: no
hw.battery: yes
hw.cpu.ncore: 2
hw.sdCard: yes
tag.display:
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: no
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes


I got exactly the same error. :(

The problem whatever is, it belongs to the kit.
I created another project.
Whatever I create I get that error.

Error while building/deploying project QApp_1 (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0)) When executing step "Deploy to Android device"

It took about 10 days so that I could have the system images on SDK. Now that it was solved I have this new issue. :( :(
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones