Answer the question
In order to leave comments, you need to log in
What to use to write an android application in Java?
Hello, maybe I'm asking an extremely stupid question, but help me figure it out. Here's the thing: I wrote a simple application in IntelliJ IDEA, went to Android studio to build the apk, but swing doesn't want to be imported there. I searched the Internet and found out that swing for android applications cannot be used, because. android has its own mechanisms for this. But doesn't this contradict the phrase "write once - work on all platforms"? Is it still possible to use swing for android applications? If not, then what to use for this? I also do not quite understand how to build apk or exe at all, can I have instructions for the "especially gifted"? As for the latter, in IntelliJ IDEA I was able to build a .jar, but how to make an .exe?
Answer the question
In order to leave comments, you need to log in
Nothing is clear at all! Android development - in Android Studio (most often), but not in IntelliJ IDEA.
Under Android, you can develop in Java, but the code will not be executed by the JVM, so it’s not clear why “I wrote it once - it works on all platforms”
Is it still possible to use swing for android applications?
If not, then what to use for this?
I managed to build .jar, but how to make exactly .exe?
I also do not quite understand how to collect apk at all
Here's the thing: I wrote a simple application in IntelliJ IDEA, went to Android studio to build the apk, but swing doesn't want to be imported there.
As for the latter, in IntelliJ IDEA I was able to build a .jar, but how to make an .exe?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question