qt creator android Build Fail build.xml:283: null returned: 1

前端 未结 2 1452
臣服心动
臣服心动 2021-01-16 12:44

I\'m trying to build an android app using qt creator but I have a problem. It usually works just fine but now it give me this error:

[dx] Error occurr

相关标签:
2条回答
  • 2021-01-16 13:01

    Seems you have apache ant problem.

    you should set SDK, NDK, JDK, apache ant to your Qt Creator.

    More information :Getting Started with Qt for Android

    download apache ant from here

    For start build and run Qt Android examples to make sure all of those are working fine on your device.

    0 讨论(0)
  • 2021-01-16 13:08

    Use Gradle instead of Ant. Actualy ant is deprecated.

    0 讨论(0)
提交回复
热议问题