Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java instead of Kotlin #82

Closed
utarit opened this issue Sep 2, 2020 · 6 comments · Fixed by #129
Closed

Java instead of Kotlin #82

utarit opened this issue Sep 2, 2020 · 6 comments · Fixed by #129

Comments

@utarit
Copy link

utarit commented Sep 2, 2020

Hi, is it possible that I use java instead of kotlin on Android side? If possible how can I do it?

Thanks in advance

@ghost
Copy link

ghost commented Sep 15, 2020

Any info?

@krizzu
Copy link
Collaborator

krizzu commented Sep 15, 2020

You can open the project in Android Studio and select Menu > Tools > Kotlin -> Decompile Kotlin to Java to get Java instead of Kotlin

@huang-ju
Copy link

image
Menu > Tools > Kotlin -> Decompile Kotlin to Java Can not be selected
 

@krizzu
Copy link
Collaborator

krizzu commented Sep 18, 2020

That works only for compiled kt classes (app/build/tmp/kotlin-classes/). Other than that, you can select Tools -> Kotlin -> Show Kotlin Bytecode and in the new window Decompile to get the same result (Java code).

@aprilmintacpineda
Copy link

aprilmintacpineda commented Oct 7, 2020

I think these should be included in the options

  • Java and Swift
  • Java and Objective-C

@mtzfactory
Copy link

mtzfactory commented Dec 30, 2020

Yeah, would be nice to have the option to create a library in Java for Android...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants