androidapkgluonjavafxportscharm

Javafxports and Gluon charm - How to generate apk without connecting an Android to PC


I have tested an Android application by connecting my PC to my smartphone ARCHOS Diamond. With Eclipse, from Java program including JavaFX, I can generate an .apk file by executing the install Gradle task.

But, this .apk is dedicated to my phone

Now, I want to spread my application on other Android phones. But I don't want to get as many kinds of phones for generating their .apk.

How can I do to generate .apk dedicated to HW and Android versions, without having these phones? And, if it possible to generate them, how to be sure that these apk work fine?

Thanks


Solution

  • If you are using the Eclipse plugin.

    Right click on the project > Android Tools > Export Signed Application Package

    Follow the instructions for creating a .keystore file and you're sorted!