3
\$\begingroup\$

What is the basic procedure to create the signed apk for my libGDX project? I am new to libGDX so provide some guidance.

I am talking about deploying apk to the Android market. I have to ask this question because my Galaxy SX2 display only blank screen.

\$\endgroup\$
4
  • \$\begingroup\$ -1 Question shows no research effort. \$\endgroup\$
    – House
    Apr 19, 2012 at 13:51
  • \$\begingroup\$ I have to ask this question because my Galaxy SX2 display only blank screen \$\endgroup\$
    – Siddharth
    Apr 20, 2012 at 8:03
  • 1
    \$\begingroup\$ That's important information for your question. Your question should include what you've tried, and why you think it didn't work. \$\endgroup\$
    – House
    Apr 20, 2012 at 13:58
  • \$\begingroup\$ I want to launch the game in android market so I required signed apk so I require basic steps to create signed apk in libGDX \$\endgroup\$
    – Siddharth
    Apr 21, 2012 at 6:18

1 Answer 1

2
\$\begingroup\$

If you mean the APK for debugging on Android, I wouldn't worry. Once you have your project setup, plugging your phone in will make Eclipse automatically upload and run the APK on your phone.

The Android project in your workspace will generate the APK in \bin. In my case, I had a game-core project and an android-specific project, and my APK shows up in \android-specific\bin.

Edit: since you mentioned deploying your app to the store, you need to sign it. Detailed instructions here here on their wiki:

  • Right click your Android project and select "Export"
  • Select "Android -> Export Android Application"
  • Make sure the project you want to export is your project, select next
  • Select or create your keystore. If you are new to Android development, a keystore is used to sign your applications and is required for putting your application on the market. More information is available at: http://developer.android.com/tools/publishing/app-signing.html
  • Select your alias to sign with and enter the password. If you don't have an alias or want to create a new alias, select create new key and select next.
  • Now select the destination of where you want your app being exported to. This will export an .apk file in the selected directory capable of being uploaded to Google Play (formerly Android Market) and alternative app stores.
  • Select finish and your .apk will be built!
\$\endgroup\$
4
  • \$\begingroup\$ I want to launch the game in android market so I required signed apk so I require basic steps to create signed apk in libGDX \$\endgroup\$
    – Siddharth
    Apr 21, 2012 at 6:18
  • \$\begingroup\$ Are you talking about deploying your app to the Andriod market, or running debug versions? \$\endgroup\$
    – ashes999
    Apr 22, 2012 at 10:26
  • 3
    \$\begingroup\$ I am talking about deploying apk to the Android market \$\endgroup\$
    – Siddharth
    Apr 23, 2012 at 4:52
  • \$\begingroup\$ Updated @Siddharth \$\endgroup\$
    – ashes999
    Aug 2, 2014 at 19:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .