Tuesday, February 21, 2023

Handling multiple build variants (flavors) resources with Gradle script (Android)

 

Requirements

Well, we've been asked to create a project which can generate different apps with different package names, and each of them has a different icon/png set and string values.

We want the user can handle all the APK generating and signing jobs by himself ( with minimum knowledge in Android programming).

I've seen some good example in StackOverflow but most of them doesn't really meet what I want so I'm creating one for myself.

Howto: Upgrade(Migrate) Your t2.micro EC2 instance

My first EC2 instance was created in 2015, and was a t2.micro for Free Tier. I've been using it for testing.

Since it's been years so I'm no longer eligible for Free Tier, so I keep paying for it.
Until recently I found that I need it to be faster and with larger storage (it was 30GB for Free Tier).

Googled for how to migrate your EC2 instance and saw many TLDR documents, not sure why do they have to use such a long article instead of an easy step by step instructions.