# Android build fails with random errors!

**URL:** <https://discuss.px4.io/t/android-build-fails-with-random-errors/27437>\
**Category:** QGroundControl\
**Created:** [May 15, 2022, 11:26am UTC](https://discuss.px4.io/t/android-build-fails-with-random-errors/27437 "2022-05-15T11:26:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamshid](https://discuss.px4.io/user_avatar/discuss.px4.io/jamshid/32/10724_2.png) [@Jamshid](https://discuss.px4.io/u/Jamshid)\
**Post date:** [May 15, 2022, 11:26am UTC](https://discuss.px4.io/t/android-build-fails-with-random-errors/27437/1 "2022-05-15T11:26:37Z")

</div>

Hi  
I’m trying to build android version of QGrouncontrol.  
I’ve installed Qt5.15.2, JDK 11, NDK 21 and configured an android device.  
But every time I try to build the project I get new and strange error and can’t find the source of error. for example:

**error: [Makefile:303783: armeabi-v7a\moc\_GLVideoItemStub.obj] Error 1**  
and  
 ![image](https://discuss.px4.io/uploads/default/original/2X/5/58c9336d5612839453abcd3c60ee81f36966957e.png)

this is my android device config:

 ![image](https://discuss.px4.io/uploads/default/original/2X/9/97f16fdb92f23a9ae1fbcc594d0b34db83cd4d5f.png)  
 ![image](https://discuss.px4.io/uploads/default/original/2X/2/2b485d512519383f106fe7079c14d15f4a9837e6.png)

any help appreciated.
