Posted by James Lau, Product Manager (@jmslau) When using the Java programming language, one of the most common pitfalls is trying to access a member of a null reference, causing a NullPointerException to be thrown. Kotlin offers protection against this by baking nullable and non-nullable types into the type system. This helps eliminate NullPointerExceptions from your code and improve your app's o
![Android Pie SDK is now more Kotlin-friendly](https://cdn-ak-scissors.b.st-hatena.com/image/square/270da265741afbd4a504b63f24ac78ead33ff3bb/height=288;version=1;width=512/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEiBep_BP5Rtc_aFIS_riv4BeCgujJmY8wbBDTmDcIAM35nQfk5hj9Rld_NbE_4XWHfoSby-EQRCesIzt7j7DfEiEneHJKBKfBqZ-JR4W6xb_7rEWvyGA4G6IVuIw0r0GiGtebmBMl2xRZs%2Fs1600%2Fpasted%2Bimage%2B0%2B%25252812%252529image1.png)