The Android team at Orion Labs has been using Tuple for a few months now. Our team is distributed across the country and using Tuple has really helped synchronous connections on the team. I thought I would share a few simple tips/tricks to get the most of the experience.
Tag: coding
Understanding Different Gradle Caches for Android Projects, part 2
This is part 2 in a series about different caches available to Android Gradle projects. In part 1 I wrote about the benefits provided by Gradle’s cache of incremental builds and the build cache directory. In the second half here, I write about Android’s build cache, the Gradle daemon, and dependency caching
Continue reading “Understanding Different Gradle Caches for Android Projects, part 2”
Understanding Different Gradle Caches for Android Projects, part 1.
There are several ways Gradle stores information between builds to drastically reduce subsequent build times. You may be familiar with some of these methods, but what’s important is that they build upon each other gradually improving build speed. If you are only benefiting from one, then you have something to gain by also looking into the others.
Continue reading “Understanding Different Gradle Caches for Android Projects, part 1.”
Profile Your Lint Tasks
I recently read a post by Tor Norbye about increasing Lint performance. I also watches a talk by Aurimas Liutikas about profiling your app builds. I thought I would combine these two ideas to try to profile my lint tasks.
Spoon and test apk WRITE_STORAGE_PERMISSION
I want to get this out quick without a lot of polish because something is better than nothing.
We use Spoon to aggregate our end-to-end tests and capture screenshots of our Android app. In order to save these screenshots, our app’s AndroidManifest.xml
needs to declare the WRITE_STORAGE_PERMISSION
permission.
However this is the only reason that our app needs this permission. We don’t write to external storage any other time in the actual app. So my goal was to remove this permission from our app manifest and see if I could instead declare it our test .apk
.
Continue reading “Spoon and test apk WRITE_STORAGE_PERMISSION”