Major Train Accidents and Railaways Safety in India

The fatal accident that killed 288 people in Balasore, Odisha on June 2, once again raised questions about Indian Railways' safety. However, in the past years, there has been a continuous decrease in…


独家优惠奖金 100% 高达 1 BTC + 180 免费旋转

Compile AOSP dialer with Gradle

As you might now AOSP and by inheritance, LineageOS uses makefile based build system to build system components like apps.

I wanted to play around with the AOSP/LineageOS dialer code to add some features I’d like to have in it, but unfortunately, AOSP build system doesn’t work with Android studio, and I couldn’t figure out a way to run it stand alone from the AOSP ecosystem, so I decided to write a Gradle script to do the job.

I didn’t want to modify the Dialer code to get it compiling because I think it might make it harder to merge upstream modifications to the code. So I came up with a somewhat hacky Gradle script/some other dependencies to compile it.

You can see the code here,

Both branches use git submodules so make sure you deal with them properly. Build targets api 28, but you might have to target api 27 to get the app to properly run due to some hidden apis being blocked in pie.

Add a comment

Related posts:

Do I have Imposter syndrome?

I own a green leather bag. It’s meant to be a shopping bag from reputable UK retailer, but the make is so exquisite that almost everyone does a double take after seeing it. She had given me the bag…

AI Tools That Can Help You Monitor and Improve Your Health

Technology continues to develop to help us in all kinds of ways. I encourage you to take a closer look at your health now so you can live a long, healthy life. Taking care of your mental health is…

Take Me and Bathe Me in Dreams

rejuvinating body and soul and return to creative writing refreshed and ready