Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9007625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:44:26+00:00 2026-06-16T01:44:26+00:00

I am desperately trying to upload an Android-App that has been developed and packaged

  • 0

I am desperately trying to upload an Android-App that has been developed and packaged with Adobe Flex SDK 4.6 using Intellij IDEA. The PKCS#12 was created using openSSL (I just want to mention this, but I don’t think this is the problem).

Everything worked fine until I got the silly desire to publish the App into the Google Play store. It destroyed all my dreams with this simple sentence:

Google Play requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml.

Okay, its not a secret that you can not define the Android versionCode from Flex SDK directly. You have to use the -Tag, which I did. Actually I tried this in several different combinations (of course only one at a time) like:

<versionNumber>0</versionNumber>
<versionNumber>1</versionNumber>
<versionNumber>2</versionNumber>
<versionNumber>0.0.1</versionNumber>
<versionNumber>1.0.0</versionNumber>
<versionNumber>2.0.1</versionNumber>

… and whatever you can imagine …

But whatever I did, when I upload the APK, the status bar is going to 100% and starts counting backwards as if it was laughing at me and ends up with the above error message.

From the Adobe Community I learned that on Android, the AIR version a.b.c is translated to the Android version code using the formula: a*1000000 + b*1000 + c.

Well, using this formula all my values for the -Tag should become a 32-Bit Integer.

Any Ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:44:28+00:00Added an answer on June 16, 2026 at 1:44 am

    The Flex SDK has a bug which is listed here so that I had to choose a workaround that I would like to share with you here.

    My solution is to unpack the APK-File, edit the AndroidManifest.xml, pack the APK-File again and sign it. I use the apktool and jarsigner (part of JDK).

    java -jar apktool.jar d MyApp.apk // unpack
    // edit AndroidManifest.xml
    java -jar apktool.jar b MyApp_patched.apk // repack
    jarsigner -verbose -sigalg MD5withRSA -digestalg SHA1 -storetype pkcs12 -keystore ../AndroidCertificates.p12 MyApp_fixed.apk "1" // sign
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our company site has a JavaScript problem that I'm desperately trying to solve, but
I am desperately trying and failing to hook CallWndProc using EasyHook. Intptr addr =
What I am desperately trying to achieve is to launch my app when the
I've got a Sony network camera (SNC-RZ25N) that I am trying desperately to get
I'm trying, desperately, to get into C++ programming with DirectX. It's been a steep
I work in C and i am trying(desperately) to make a random generator that
I'm trying to upload a file using AJAX, process data in the file and
I'm desperately trying to find a way to make a custom UIAlertView that allows
I am currently trying to test the Android SDK/API, and to do so have
For several days I've been desperately trying to get my videos stream on BlackBerry

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.