Application Deployment On Android Issue.
-
wrote on 13 Aug 2018, 12:38 last edited by
Hi all,
There is a problem on deploying an application on Android and application gets crashed when I include the following piece of code in .pro file. This code is mandate to deploy application on Android. Help me to solve it.contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_EXTRA_LIBS =
$$PWD/android/libs/libABC.so
$$PWD/android/libs/libXYZ.so
}Thank you
-
when you deploy the apk you should be getting some error on the application windows. What is that error ? Can you check ? Does it say failing to load some ".so" files ?
-
when you deploy the apk you should be getting some error on the application windows. What is that error ? Can you check ? Does it say failing to load some ".so" files ?
wrote on 14 Aug 2018, 05:13 last edited by@dheerendra
Yes the error message is saying that libQt5Network.so is missing. -
@dheerendra
Yes the error message is saying that libQt5Network.so is missing.wrote on 14 Aug 2018, 05:40 last edited by@KiranRudigi said in Application Deployment On Android Issue.:
error message is saying that libQt5Network.so is missing.
Did you use
androiddeployqt
for deployment ?
http://doc.qt.io/qt-5/deployment-android.html#androiddeployqt -
look like you missed adding network in your pro file configuration. Can you check it ? If it is not added, android deployment will not include that in library bundling.
-
look like you missed adding network in your pro file configuration. Can you check it ? If it is not added, android deployment will not include that in library bundling.
wrote on 14 Aug 2018, 15:00 last edited by@dheerendra
yes I had missed to include it in pro file. Now it's working fine. Thanks for your help. -
@dheerendra
yes I had missed to include it in pro file. Now it's working fine. Thanks for your help.wrote on 14 Aug 2018, 17:08 last edited by@KiranRudigi please don't forget to mark your post as such. Thanks.
1/7