-2

I can easly convert java code into kotlin in android studio3.0 but can any help to convert it again into android java code.

Shyam Sundar
  • 77
  • 1
  • 8
  • Only by hand. Can you explain *why* do you want this? What's the motivation? – Eugen Pechanec Nov 05 '17 at 12:38
  • 1
    You can find your answer: [ here](https://stackoverflow.com/questions/34588117/how-can-i-convert-a-part-of-java-source-file-to-kotlin) – Reza Hamzehei Nov 05 '17 at 12:42
  • 1
    Possible duplicate of [How to convert a kotlin source file to a java source file](https://stackoverflow.com/questions/34957430/how-to-convert-a-kotlin-source-file-to-a-java-source-file) – yacc Nov 05 '17 at 12:42

1 Answers1

0

in IntelliJ or Android Studio, you just have to do the following to get java code from kotlin:

  1. Menu > Tools > Kotlin > Show Kotlin Bytecode
  2. Click on the Decompile button
  3. Copy the java code
Abdul Waheed
  • 3,994
  • 4
  • 30
  • 49