<?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[Incorrect APK directory]]></title><description><![CDATA[<p dir="auto">When building my project I get this error:</p>
<p dir="auto"><strong>Unable to open 'C:/QtProjects/build-MyApp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-release/android-build//build/outputs/apk/android-build-release-unsigned.apk' as zip archive<br />
zipalign command failed.</strong></p>
<p dir="auto">Of course it failed because the unsigned APK is not in this directory. There are 2 errors in the path. The first one, which probably wouldn't cause problems, is the duplicate slash between android-build//build. The more serious error in the path is the missing last subdirectory "release". So the correct path should be: <strong>C:/QtProjects/build-MyApp-Android_for_armeabi_v7a_GCC_4_9_Qt_5_9_3_for_Android_armv7-release/android-build/build/outputs/apk/release/android-build-release-unsigned.apk</strong></p>
<p dir="auto">Why is the directory wrong and how can I fix it?</p>
]]></description><link>https://forum.qt.io/topic/86570/incorrect-apk-directory</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 05:06:11 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/86570.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jan 2018 18:25:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Incorrect APK directory on Tue, 09 Jan 2018 14:28:56 GMT]]></title><description><![CDATA[<p dir="auto">Somebody already filled <a href="https://bugreports.qt.io/browse/QTCREATORBUG-19553" target="_blank" rel="noopener noreferrer nofollow ugc">this bug report</a>.</p>
]]></description><link>https://forum.qt.io/post/435643</link><guid isPermaLink="true">https://forum.qt.io/post/435643</guid><dc:creator><![CDATA[vlada]]></dc:creator><pubDate>Tue, 09 Jan 2018 14:28:56 GMT</pubDate></item><item><title><![CDATA[Reply to Incorrect APK directory on Mon, 08 Jan 2018 10:52:42 GMT]]></title><description><![CDATA[<p dir="auto">I did some more research and testing and the problem was probably the updated gradle plugin version in <strong>build.gradle</strong>. Originally there was this:</p>
<pre><code>buildscript {
    repositories {
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
    }
}
</code></pre>
<p dir="auto">But Android Studio updated it to the latest version by changing the plugin version to 3.0.1. That should mean that Gradle 4.1+ will be used and QtCreator probably isn't compatible with it.</p>
]]></description><link>https://forum.qt.io/post/435291</link><guid isPermaLink="true">https://forum.qt.io/post/435291</guid><dc:creator><![CDATA[vlada]]></dc:creator><pubDate>Mon, 08 Jan 2018 10:52:42 GMT</pubDate></item><item><title><![CDATA[Reply to Incorrect APK directory on Sun, 07 Jan 2018 22:53:12 GMT]]></title><description><![CDATA[<p dir="auto">I'm using the latest QtCreator (4.5) and tried it with both Qt 5.9 and 5.10. What I did was to update Android SDK (including NDK and Gradle) and changed the paths in settings to point to the current versions.</p>
<p dir="auto">The unsigned APK is built in the same directory as before but then QtCreator for some reason thinks it is somewhere else.</p>
<p dir="auto">Where does the path come from? I tried a fulltext search for the path in all files but I didn't find anything useful. Of course I tried to clean the build directory and cleaned all temporary files. But with no result.</p>
]]></description><link>https://forum.qt.io/post/435214</link><guid isPermaLink="true">https://forum.qt.io/post/435214</guid><dc:creator><![CDATA[vlada]]></dc:creator><pubDate>Sun, 07 Jan 2018 22:53:12 GMT</pubDate></item><item><title><![CDATA[Reply to Incorrect APK directory on Sun, 07 Jan 2018 21:13:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What version of Qt Creator are you using ?</p>
<p dir="auto">Did you modify any settings in it ?</p>
]]></description><link>https://forum.qt.io/post/435200</link><guid isPermaLink="true">https://forum.qt.io/post/435200</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 07 Jan 2018 21:13:09 GMT</pubDate></item></channel></rss>