Skip to content Skip to sidebar Skip to footer

Kotlin Activity Not Included In Apk

Am introducing my first Kotlin code (a new activity) into an established Android app. Using Android Studio 2.3.3, Gradle 3.3. I am able to build and run the app but at the point o

Solution 1:

I once had the same issue and basically the fix was to instead of Android Studio 2.x download the Android Studio 3.0 Beta. This should fix your problem even if the code highlighting does work when using the 2.x version.

When you look at the New Features tab you can see that it features support for Kotlin language which kind of suggests it was lacking before (I think in this case it was just built into Android Studio and enhanced specifically for Android Studio's requirements (such as including the class to the dex file)).

: with the exception of multidex as I didn't need it

Post a Comment for "Kotlin Activity Not Included In Apk"