Error while building/deploying project
Hi guys,
I am having problem deploying a simple qml project. I encountered this error:
Error while building/deploying project test (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.3.2))
When executing step "Deploy to Android device"
I found out that the AVD i created is not compatible:
ABI is incompatible, device supports ABIs: armeabi
Here is my environment:
OS: windows 7 (64 bit)
Qt: Qt Creator 3.2.1 based on Qt 5.3.2 (MSVC 2010, 32 bit)
JDK: jdk1.8.0_25
SDK: Androind SDK Tools 23.0.5 with API 21 and 10 installed
NDK: Android NDK r10c
Ant: apache-ant-1.9.4
Basically, i am using the updated Android tools.
I already tried adding ANDROID_TARGET_ARCH build variable based on some recommendations on the internet but still the same issue.
I noticed from build variables, the following variables are using forward slash instead of backward slash.
ANDROID_HOME
ANDROID_SDK_ROOT
JAVA_HOME
Should I be concerned with that?
TIA!
Re: Error while building/deploying project
Is the device you are deploying to ARMv7 compatible? If not then you have to use the generic ARM architecture toolchain.
Re: Error while building/deploying project
Quote:
Originally Posted by
wysota
Is the device you are deploying to ARMv7 compatible? If not then you have to use the generic ARM architecture toolchain.
Wow! How come I didn't tried that kit. Thank you for your response.
However, I've encountered these errors while deploying:
Quote:
W/Qt ( 533): eglconvenience\qeglconvenience.cpp:314 (void* QEglConfigChooser::chooseConfig()): Cant find EGLConfig, returning null config
W/Qt ( 533): scenegraph\qsgcontext.cpp:432 (virtual void QSGRenderContext::initialize(QOpenGLContext*)): QSGContext::initialize: depth buffer support missing, expect rendering errors
W/Qt ( 533): scenegraph\qsgcontext.cpp:434 (virtual void QSGRenderContext::initialize(QOpenGLContext*)): QSGContext::initialize: stencil buffer support missing, expect rendering errors
I/ARMAssembler( 533): generated scanline__00000077:03010108_00000A08_00000000 [ 4 ipp] (25 ins) at [0x45ba41e8:0x45ba424c] in 1985690 ns
E/libEGL ( 533): called unimplemented OpenGL ES API
E/libEGL ( 522): called unimplemented OpenGL ES API
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:322 (bool QOpenGLShaderPrivate::compile(QOpenGLShader*)): QOpenGLShader::compile(Vertex): failed
E/libEGL ( 522): called unimplemented OpenGL ES API
E/libEGL ( 522): called unimplemented OpenGL ES API
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:322 (bool QOpenGLShaderPrivate::compile(QOpenGLShader*)): QOpenGLShader::compile(Fragment): failed
E/libEGL ( 522): called unimplemented OpenGL ES API
E/libEGL ( 522): called unimplemented OpenGL ES API
W/Qt ( 522): scenegraph\coreapi\qsgmaterial.cpp:369 (virtual void QSGMaterialShader::compile()): QSGMaterialShader: Shader compilation failed:
W/Qt ( 522): scenegraph\coreapi\qsgmaterial.cpp:370 (virtual void QSGMaterialShader::compile()): ""
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
W/Qt ( 522): opengl\qopenglshaderprogram.cpp:1781 (int QOpenGLShaderProgram::uniformLocation(const char*) const): QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
E/libEGL ( 522): called unimplemented OpenGL ES API
Any thoughts on this error? TIA.
Re: Error while building/deploying project
Does your device have support for OpenGLES in the version required by your application (2.0+)?
Re: Error while building/deploying project
Quote:
Originally Posted by
wysota
Does your device have support for OpenGLES in the version required by your application (2.0+)?
Wysota, i didn't encountered such error this time when I'm using actual device.
Thank you for all your support, everything is working now.
Re: Error while building/deploying project