Google Introduces Android KTX, Designed to Make Writing Kotlin Code for Developers

Tidio Live Chat Software - Add Tidio live chat software to your website in minutes. Contact visitors and turn them into happy customers. Enhance their experience and boost your sales. Get it for Free

WP Rocket - WordPress Caching Plugin

Must Read

Moupiya Dutta
Moupiya Dutta
She finds it interesting to learn and analyze society. she keeps herself updated, emphasizing technology, social media, and science. She loves to pen down her thoughts, interested in music, art, and exploration around the globe.

Google has announced the preview of Android KTX. It is a set of extensions designed to make writing Kotlin code for Android more concise, pleasant, and idiomatic. The company promises to provide a nice API layer on top of Android Frameworks and the Support library to make writing the Kotlin code more natural.

Google announced that Android officially supports the Kotlin programming language, in addition to Java and C++ at its I/O 2017 developer conference in May. Android studio 3.0 with Kotlin support was also followed in May. Presently it promises an API layer on top of the Android framework and support library. The former is available on GitHub. Google also promises to make the other parts of Android KTX that cover the Android Support Library will be available in upcoming Support Library releases.

Also Read

The following should be added to the app module’s build.gradle file for using the Android KTX in an Android Kotlin projects:

  • repositories {
    dependencies {
    // Android KTX for framework API
    implementation ‘androidx.core:core-ktx:0.1’


After the project gets synced, the extensions will appear automatically in the IDE’s autocomplete list, and to add them to the necessary import statement to the file, we need to choose any of them.

Elegant Themes - The most popular WordPress theme in the world and the ultimate WordPress Page Builder. Get a 30-day money-back guarantee. Get it for Free

Google alerts that the APIs are likely to change during the preview period. It warns the developers to not use it in their main Android projects as there are chances of changes before the stable version arrives. Google confirms that the preview launch is just the beginning. As soon as the API stabilizes and Google commits to API compatibility, KTX will be released as a part of the Android Support Library.

It is also brought to notice that Android KTX uses package names that begin with androidx. This is the new package name prefix that will be used in future versions of Android Support Library.

The difference between android. and androidx. is that which APIs are bundled with the platform and which are static libraries for app developers for different versions of Android.

iThemes WordPress Hosting

Stay updated

Subscribe to our newsletter and never miss an update on the latest tech, gaming, startup, how to guide, deals and more.



- Advertisement -
- Advertisement -


Grow Your Business

Place your brand in front of tech-savvy audience. Partner with us to build brand awareness, increase website traffic, generate qualified leads, and grow your business.

- Advertisement -

Grow Your Business

Get these business solutions, tools and services to help your business grow.

Elementor -Join 5,000,000+ Professionals Who Build Better Sites With Elementor. Build your website with 100% visual design that loads faster and speeds up the process of building them.

WP Rocket

WP Rocket - Speed up your website with the most powerful caching plugin in the world. The website speed increase means better SEO ranking, user experience, and conversation. It’s a fact that Google loves a fast site.


Kinsta - If you are looking for WordPress managed hosting, Kinsta is in the leading front. Kinsta provides WordPress hosting for a small or large business that helps take care of all your needs regarding your website with cutting-edge technology.


OptinMonster - Instantly boost leads and grow revenue with the #1 most powerful conversion optimization toolkit in the world. 700,000+ websites are using OptinMonster to turn their traffic into leads, subscribers, and sales.


- Advertisement -
- Advertisement -
India to Produce Upcoming iPhones: Trade Minister Japanese Professor Developed A Power Semiconductor made of Diamond Google Releases New Product for India’s Merchants Indian EV Startup Unveil Two AutoBalancing Electric Scooters OPPO Find X6 Pro Images Render via Weibo Sony Develops New Tech to Reduce Noise of Image Sensors Tesla’s S & Y Models Earn Best-in-Class Cars of 2022 India Approved $320m to Promote Homegrown Payments Network Twitter Roll Out TikTok-like ‘For You’ Timeline on iOS Nothing Phone Enters US with Beta Membership Program
Finally! Apple’s VR Headset Coming this Spring Harvard Scientists Develop New Cell Therapy to Kill, and Prevent Brain Cancer HTC Vive XR Elite VR/AR Headset Now Selling for $1099 Realme 10 Launched in India with Helio G99 Gaming Chipset Twitter Data Breach Revealing User’s Private Information Instagram New Feature to Create Albums With Friend Redmi Note12 Pro Plus Launched in India POCO C50 Launched in India