<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>#APK Archives - anteelo</title>
	<atom:link href="https://anteelo.com/tag/apk/feed/" rel="self" type="application/rss+xml" />
	<link>https://anteelo.com/tag/apk/</link>
	<description>Leading Digital Solution Firm</description>
	<lastBuildDate>Fri, 21 May 2021 09:13:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://anteelo.com/wp-content/uploads/2020/01/cantlogo.png</url>
	<title>#APK Archives - anteelo</title>
	<link>https://anteelo.com/tag/apk/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Pace up The Gradle Builds</title>
		<link>https://anteelo.com/pace-up-the-gradle-builds/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pace-up-the-gradle-builds</link>
		
		<dc:creator><![CDATA[Anteelo Master]]></dc:creator>
		<pubDate>Mon, 11 Jan 2021 09:12:35 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[#android]]></category>
		<category><![CDATA[#APK]]></category>
		<category><![CDATA[#Gradle]]></category>
		<category><![CDATA[#GradleBuild]]></category>
		<category><![CDATA[#PNG]]></category>
		<guid isPermaLink="false">https://anteelo.com/?p=3517</guid>

					<description><![CDATA[<p>It’s been some time since Google I/O 2017 was released and there are lots of new things for Android developers. We all have to suffer from the Gradle build speed issue. Sometimes it takes ages to build an APK. But in this I/O session, Google team presented some cool tips on how you can speed up your Gradle [&#8230;]</p>
<p>The post <a href="https://anteelo.com/pace-up-the-gradle-builds/">Pace up The Gradle Builds</a> appeared first on <a href="https://anteelo.com">anteelo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div align="justify">It’s been some time since <a href="https://anteelo.com/">Google</a> I/O 2017 was released and there are lots of new things for Android developers. We all have to suffer from the Gradle build speed issue. Sometimes it takes ages to build an APK. But in this I/O session, Google team presented some cool tips on how you can speed up your Gradle builds and it looks promising. After listening to the complete session, I decided to extract some cool tips for your reference.</div>
<div align="justify"><img fetchpriority="high" decoding="async" class="aligncenter" src="https://i.stack.imgur.com/3zx6i.png" alt="How to fix build.gradle error while using &quot; classpath 'com.android.tools. build:gradle:2.3.3' &quot; - Stack Overflow" width="617" height="385" /></div>
<div align="justify">
<h3>1. Always use the latest Gradle plugin for Android</h3>
<p>The tool team is working hard to improve the performance of the Gradle plugin for Android, so it’s better to check the latest build and always keep updating.</p>
<h3>2. Don’t use legacy MultiDex</h3>
<p>If you are using legacy MultiDex in a device having a lower Android version, then it can impact your app performance. Always try to use the latest version of MultiDex so that it can be supported by all Android versions without impacting the performance of the app.</p>
<h3>3. Turn Off multi-build APK</h3>
<p>If you are in development phase, then it would be better to disable this as it slows down build time.</p>
<p>You can also set this using <a href="https://www.instagram.com/anteelodesign/">Android Studio</a>. For this, open <em class="markup--em markup--p-em">Preferences -&gt; Build, Execution, Deployment -&gt; Compiler</em> settings in Android Studio and add <em class="markup--em markup--p-em">-PdevBuild</em> to the <em class="markup--em markup--p-em">Command-line options.</em></p>
<h3>4. Use only required resources</h3>
<p>Resources occupy some space while generating APK file and also impact the build time. If you are in development phase, then let Gradle know to only take care of the required resources. Also, you can set the preference of the device for which you are developing the application.</p>
<h3>5. Turn off PNG grinding</h3>
<p>PNG optimization is not necessary for the development builds so you can turn it off, as by default it is on. It will definitely speed up the build time.</p>
<h3>6. Give Instant Run a try</h3>
<p>There is a bad reputation of the <em>instant run</em>, but when it works, it works like a charm. The tooling team has worked on it and now in Android 3.0, it is more stable as compared to earlier versions. So you can give it a try and speed up the build performance.</p>
<h3>7. Avoid using dynamic dependencies</h3>
<p>Using dynamic dependency version causes Gradle to check for the new version in every 24 hours. So it’s highly recommended not to use the dynamic dependency.</p>
<h3>8. Always take care of memory</h3>
<p>You should keep your eyes on how much memory you are giving to the Gradle. You can watch this video to know more on Gradle memory setting and Dex in the process.</p>
<h3>9. Turn on Gradle caching</h3>
<p>Gradle caching is introduced in Gradle version 3.5. It reuses the outputs from the previous build. It can work across the projects and gives a high performance when used with Android Studio 3.0. So let’s give it a try as well.</p>
<h3>10. Disable Crashlytics plugin</h3>
<p>We generally add crashlytics plugin in Android Studio to find the cause of the issue/crash, but it slows down the build time as it generates new ID every time we generate a build. It’s better to disable this in development builds using below-mentioned code snippet.</p>
</div>
<p>The post <a href="https://anteelo.com/pace-up-the-gradle-builds/">Pace up The Gradle Builds</a> appeared first on <a href="https://anteelo.com">anteelo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
