<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Build APK in QT 5.8 [error &#x2F;ant&#x2F;build.xml:649]]]></title><description><![CDATA[<p dir="auto">i want build apk and get this error,</p>
<pre><code>BUILD FAILED
C:\Users\Ilham Firdaus\AppData\Local\Android\android-sdk\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\Users\Ilham Firdaus\AppData\Local\Android\android-sdk\tools\ant\build.xml:694: null returned: 1

Total time: 1 second
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Building the android package failed!
  -- For more information, run this command with --verbose.
14:08:22: The process "C:\Qt\Qt5.8.0\5.8\android_armv7\bin\androiddeployqt.exe" exited with code 14.
Error while building/deploying project untitled (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.8.0))
When executing step "Build Android APK"
</code></pre>
<p dir="auto">and this is in ../ant/build.xml</p>
<pre><code>    &lt;!-- Code Generation: compile resources (aapt -&gt; R.java), aidl, renderscript --&gt;
    &lt;target name="-code-gen"&gt;
        &lt;!-- always merge manifest --&gt;
        &lt;mergemanifest
                appManifest="${manifest.abs.file}"
                outManifest="${out.manifest.abs.file}"
                enabled="${manifestmerger.enabled}"&gt;
            &lt;library refid="project.library.manifest.file.path" /&gt;
        &lt;/mergemanifest&gt;

        &lt;do-only-if-manifest-hasCode
                elseText="hasCode = false. Skipping aidl/renderscript/R.java"&gt; //this is in line 649
            &lt;echo level="info"&gt;Handling aidl files...&lt;/echo&gt;
            &lt;aidl executable="${aidl}"
                    framework="${project.target.framework.aidl}"
                    libraryBinAidlFolderPathRefid="project.library.bin.aidl.folder.path"
                    genFolder="${gen.absolute.dir}"
                    aidlOutFolder="${out.aidl.absolute.dir}"&gt;
                &lt;source path="${source.absolute.dir}"/&gt;
            &lt;/aidl&gt;
</code></pre>
<p dir="auto">i don't know about this error, can anyone help me?</p>
]]></description><link>https://forum.qt.io/topic/95507/build-apk-in-qt-5-8-error-ant-build-xml-649</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Nov 2026 03:35:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/95507.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Oct 2018 07:21:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Build APK in QT 5.8 [error &#x2F;ant&#x2F;build.xml:649] on Sat, 13 Oct 2018 03:23:07 GMT]]></title><description><![CDATA[<p dir="auto">Its solved, try to change the android target in <strong>Projects &gt; Android Build SDK</strong> or update your API in SDK tools, thanks Qt :*</p>
]]></description><link>https://forum.qt.io/post/486694</link><guid isPermaLink="true">https://forum.qt.io/post/486694</guid><dc:creator><![CDATA[Caktozz]]></dc:creator><pubDate>Sat, 13 Oct 2018 03:23:07 GMT</pubDate></item></channel></rss>