# Failed to build Qgroundcontrol android

**URL:** <https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662>\
**Category:** Development\
**Created:** [October 22, 2021, 8:15am UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662 "2021-10-22T08:15:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![RookieNumber](https://discuss.px4.io/user_avatar/discuss.px4.io/rookienumber/32/9566_2.png) [@RookieNumber](https://discuss.px4.io/u/RookieNumber)\
**Post date:** [October 22, 2021, 8:15am UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/1 "2021-10-22T08:15:00Z")

</div>

Hello there ~ I was trying to build qgrouncontrol for android but this error appear

 ![image](https://discuss.px4.io/uploads/default/original/2X/4/431e3ad8a502808766f8a371b0963d3cb2804074.png)

any idea how to fix this? thanks

---

<div class="post-metadata">

**Author:** ![Rohan](https://discuss.px4.io/user_avatar/discuss.px4.io/rohan/32/9560_2.png) [@Rohan](https://discuss.px4.io/u/Rohan)\
**Post date:** [October 22, 2021, 10:24am UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/2 "2021-10-22T10:24:56Z")

</div>

QGC has been updated for the Android compatability which requires QT 5.15.2.

---

<div class="post-metadata">

**Author:** ![schurch](https://discuss.px4.io/user_avatar/discuss.px4.io/schurch/32/8308_2.png) [@schurch](https://discuss.px4.io/u/schurch)\
**Post date:** [October 22, 2021, 1:10pm UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/3 "2021-10-22T13:10:23Z")

</div>

Navigate to the android.pri file in qt creator and comment out lines 10-19. I posted an issue on GitHub because that should only be a temporary fix. I encountered this issue the other day as well.

---

<div class="post-metadata">

**Author:** ![RookieNumber](https://discuss.px4.io/user_avatar/discuss.px4.io/rookienumber/32/9566_2.png) [@RookieNumber](https://discuss.px4.io/u/RookieNumber)\
**Post date:** [October 25, 2021, 2:56am UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/4 "2021-10-25T02:56:21Z")

</div>

its’s still not working, I’ve been trying to clean it and rebuild it, but it’s still give the same result, but thanks for the suggestion tho, appreciate it

---

<div class="post-metadata">

**Author:** ![RookieNumber](https://discuss.px4.io/user_avatar/discuss.px4.io/rookienumber/32/9566_2.png) [@RookieNumber](https://discuss.px4.io/u/RookieNumber)\
**Post date:** [October 25, 2021, 2:57am UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/5 "2021-10-25T02:57:12Z")

</div>

I already use 5.15.2, with android ndk 21

---

<div class="post-metadata">

**Author:** ![schurch](https://discuss.px4.io/user_avatar/discuss.px4.io/schurch/32/8308_2.png) [@schurch](https://discuss.px4.io/u/schurch)\
**Post date:** [October 25, 2021, 1:14pm UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/6 "2021-10-25T13:14:35Z")

</div>

you can disable the make install step, however, if you do, you have to move the specific architectures that were built to their respective folders within the build folder.

---

<div class="post-metadata">

**Author:** ![RookieNumber](https://discuss.px4.io/user_avatar/discuss.px4.io/rookienumber/32/9566_2.png) [@RookieNumber](https://discuss.px4.io/u/RookieNumber)\
**Post date:** [October 26, 2021, 7:45am UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/7 "2021-10-26T07:45:48Z")

</div>

done, but it seems we create another error ![image](https://discuss.px4.io/uploads/default/original/2X/5/5cbd3fbee91a55e98e76d1da202712259580609c.png)

what did I do? I copy all the files from armeabi-v7a to staging/android-build/libs/armeabi-v7a, and then click at build button, so, what went wrong?

---

<div class="post-metadata">

**Author:** ![schurch](https://discuss.px4.io/user_avatar/discuss.px4.io/schurch/32/8308_2.png) [@schurch](https://discuss.px4.io/u/schurch)\
**Post date:** [October 26, 2021, 1:09pm UTC](https://discuss.px4.io/t/failed-to-build-qgroundcontrol-android/24662/8 "2021-10-26T13:09:45Z")

</div>

I believe that this could be a different jdk could be used. I am currently using the Android Studio JDK. When you open the device settings in Qt Creator this is JDK and NDK settings I have:

 ![image](https://discuss.px4.io/uploads/default/original/2X/a/a1bcb9263219fc56cff0705dafa4cf91d262af35.png)
