Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question
    
-1 Question shows no research effort. –  Byte56 Apr 19 '12 at 13:51
    
I have to ask this question because my Galaxy SX2 display only blank screen –  Siddharth Apr 20 '12 at 8:03
1  
That's important information for your question. Your question should include what you've tried, and why you think it didn't work. –  Byte56 Apr 20 '12 at 13:58
    
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 –  Siddharth Apr 21 '12 at 6:18

1 Answer 1

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!
share|improve this answer
    
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 –  Siddharth Apr 21 '12 at 6:18
    
Are you talking about deploying your app to the Andriod market, or running debug versions? –  ashes999 Apr 22 '12 at 10:26
3  
I am talking about deploying apk to the Android market –  Siddharth Apr 23 '12 at 4:52
    
Updated @Siddharth –  ashes999 Aug 2 at 19:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.