Abi is incompatible



  • QT version 5.9.1
    Mobile:- One Plus X Cyanogen Mod Nougat

    Whenever I try to run the android app from qt it says Abi is incompatible.


  • Moderators

    @Avtansh-Sharma Which EXACT Qt version do you use? Is it for ARM, x86? You most probably built for x86 and try to execute it on ARM.



  • Error while building/deploying project splinechart (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.9.0 for Android armv7))

    I am building for arm only


  • Moderators

    @Avtansh-Sharma Can you please post the build log?



  • 14:08:35: Running steps for project splinechart...
    14:08:35: Configuration unchanged, skipping qmake step.
    14:08:35: Starting: "/usr/bin/make"
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o main.o ../splinechart/main.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o devicedata.o ../splinechart/devicedata.cpp
    ../splinechart/devicedata.cpp:141:37: warning: unused parameter 'b_terminate' [-Wunused-parameter]
    int DeviceData::syncDeviceData(bool b_terminate)
    ^
    ../splinechart/devicedata.cpp: In member function 'QList<QString> DeviceData::getData(QString)':
    ../splinechart/devicedata.cpp:269:9: warning: unused variable 'i' [-Wunused-variable]
    int i=0;
    ^
    ../splinechart/devicedata.cpp: In member function 'int DeviceData::SaveData(QString, QString)':
    ../splinechart/devicedata.cpp:317:13: warning: unused variable 'dataa' [-Wunused-variable]
    int dataa=Str_data.toInt();
    ^
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o devicethread.o ../splinechart/devicethread.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o updatedata.o ../splinechart/updatedata.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o healthcharts.o ../splinechart/healthcharts.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o themewidget.o ../splinechart/themewidget.cpp
    ../splinechart/themewidget.cpp: In member function 'void ThemeWidget::updateUIData()':
    ../splinechart/themewidget.cpp:469:5: warning: unused variable 'str_BodyTempVal' [-Wunused-variable]
    int str_BodyTempVal=0;
    ^
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -dM -E -o moc_predefs.h ../../Qt5.9.0/5.9/android_armv7/mkspecs/features/data/dummy.cpp
    /home/user/Qt5.9.0/5.9/android_armv7/bin/moc -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/user/Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -I/home/user/Downloads/splinechart -I/home/user/Qt5.9.0/5.9/android_armv7/include -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCharts -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtWidgets -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtGui -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtSql -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm//usr/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include ../splinechart/devicedata.h -o moc_devicedata.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o moc_devicedata.o moc_devicedata.cpp
    /home/user/Qt5.9.0/5.9/android_armv7/bin/moc -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/user/Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -I/home/user/Downloads/splinechart -I/home/user/Qt5.9.0/5.9/android_armv7/include -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCharts -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtWidgets -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtGui -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtSql -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm//usr/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include ../splinechart/devicethread.h -o moc_devicethread.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o moc_devicethread.o moc_devicethread.cpp
    /home/user/Qt5.9.0/5.9/android_armv7/bin/moc -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/user/Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -I/home/user/Downloads/splinechart -I/home/user/Qt5.9.0/5.9/android_armv7/include -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCharts -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtWidgets -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtGui -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtSql -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm//usr/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include ../splinechart/updatedata.h -o moc_updatedata.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o moc_updatedata.o moc_updatedata.cpp
    /home/user/Qt5.9.0/5.9/android_armv7/bin/moc -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/home/user/Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -I/home/user/Downloads/splinechart -I/home/user/Qt5.9.0/5.9/android_armv7/include -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCharts -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtWidgets -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtGui -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtSql -I/home/user/Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm//usr/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include -I/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include-fixed -I/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include ../splinechart/themewidget.h -o moc_themewidget.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ -c -fstack-protector-strong -DANDROID -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-builtin-memmove --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -g -g -marm -O0 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_BLUETOOTH_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I../splinechart -I. -I../../Qt5.9.0/5.9/android_armv7/include -I../../Qt5.9.0/5.9/android_armv7/include/QtCharts -I../../Qt5.9.0/5.9/android_armv7/include/QtWidgets -I../../Qt5.9.0/5.9/android_armv7/include/QtGui -I../../Qt5.9.0/5.9/android_armv7/include/QtBluetooth -I../../Qt5.9.0/5.9/android_armv7/include/QtSql -I../../Qt5.9.0/5.9/android_armv7/include/QtCore -I. -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/include -I../AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I../AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/usr/include -I../../Qt5.9.0/5.9/android_armv7/mkspecs/android-g++ -o moc_themewidget.o moc_themewidget.cpp
    /home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm/ -Wl,-soname,libsplinechart.so -Wl,-rpath=/home/user/Qt5.9.0/5.9/android_armv7/lib -Wl,-rpath-link=/home/user/Qt5.9.0/5.9/android_armv7/lib -Wl,--no-undefined -Wl,-z,noexecstack -shared -o libsplinechart.so main.o devicedata.o devicethread.o updatedata.o healthcharts.o themewidget.o moc_devicedata.o moc_devicethread.o moc_updatedata.o moc_themewidget.o -L/home/user/Downloads/AndroidNdk/android-ndk-r15/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/home/user/Downloads/AndroidNdk/android-ndk-r15/platforms/android-16/arch-arm//usr/lib -L/home/user/Downloads/AndroidNdk/android-ndk-r15/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x -L/home/user/Qt5.9.0/5.9/android_armv7/lib -lQt5Charts -L/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/opt/android/ndk/platforms/android-16/arch-arm//usr/lib -L/opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9 -lQt5Widgets -lQt5Gui -lQt5Bluetooth -lQt5Sql -lQt5Core -lGLESv2 -lgnustl_shared -llog -lz -lm -ldl -lc -lgcc
    14:08:46: The process "/usr/bin/make" exited normally.
    14:08:46: Removing directory /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build/assets
    14:08:46: Removing directory /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build/libs
    14:08:46: Starting: "/usr/bin/make" INSTALL_ROOT=/home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build install
    /home/user/Qt5.9.0/5.9/android_armv7/bin/qmake -install qinstall program libsplinechart.so /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build/libs/armeabi-v7a/libsplinechart.so
    14:08:46: The process "/usr/bin/make" exited normally.
    14:08:46: Starting: "/home/user/Qt5.9.0/5.9/android_armv7/bin/androiddeployqt" --input /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-libsplinechart.so-deployment-settings.json --output /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build --deployment bundled --android-platform android-26 --jdk /home/user/Downloads/jdk1.8.0_131 --gradle
    Generating Android Package
    Input file: /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-libsplinechart.so-deployment-settings.json
    Output directory: /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build/
    Application binary: /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/libsplinechart.so
    Android build platform: android-26
    Install to device: No
    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.
    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
    :preBuild UP-TO-DATE
    :preDebugBuild UP-TO-DATE
    :checkDebugManifest
    :prepareDebugDependencies
    :compileDebugAidl UP-TO-DATE
    :compileDebugRenderscript UP-TO-DATE
    :generateDebugBuildConfig UP-TO-DATE
    :generateDebugResValues UP-TO-DATE
    :generateDebugResources UP-TO-DATE
    :mergeDebugResources UP-TO-DATE
    :processDebugManifest UP-TO-DATE
    :processDebugResources UP-TO-DATE
    :generateDebugSources UP-TO-DATE
    :incrementalDebugJavaCompilationSafeguard UP-TO-DATE
    :compileDebugJavaWithJavac UP-TO-DATE
    :compileDebugNdk NO-SOURCE
    :compileDebugSources UP-TO-DATE
    :mergeDebugShaders UP-TO-DATE
    :compileDebugShaders UP-TO-DATE
    :generateDebugAssets UP-TO-DATE
    :mergeDebugAssets UP-TO-DATE
    :transformClassesWithDexForDebug UP-TO-DATE
    :mergeDebugJniLibFolders UP-TO-DATE
    :transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
    :processDebugJavaRes NO-SOURCE
    :transformResourcesWithMergeJavaResForDebug UP-TO-DATE
    :validateSigningDebug
    :packageDebug UP-TO-DATE
    :assembleDebug UP-TO-DATE

    BUILD SUCCESSFUL

    Total time: 5.643 secs
    Android package built successfully in 6.335 ms.
    -- File: /home/user/Downloads/build-splinechart-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_0_for_Android_armv7-Debug/android-build//build/outputs/apk/android-build-debug.apk
    14:08:53: The process "/home/user/Qt5.9.0/5.9/android_armv7/bin/androiddeployqt" exited normally.
    14:08:53: Elapsed time: 00:18.


  • Moderators

    @Avtansh-Sharma I only see some warnings no errors.
    So do you get the error when you try to execute your app? If so can you post the whole error?



  • No error I only get popup that splash this message


  • Moderators

    @Avtansh-Sharma So, you try to start your app from QtCreator on your device?



  • Yes I try to startup app from QTCreator


  • Moderators

    @Avtansh-Sharma Can you show the log from QtCreator when it tries to start your app?



  • Hi,

    Problem is solved by replacing usb cable and changing the usb port.


    Regards,
    Avtansh Sharma


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.