1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    3
    oknoeno is on a distinguished road

      1  

    Default Android APK upload failed in Play Store - Architect Bug workaround

    Android APK upload failed in Play Store - Architect Bug workaround


    Hello,

    we are trying to deploy a Android APK packaged with the Sencha Architect and CMD. After uploading the APK in the Google Play developer console, the following error appears:

    Upload failed

    You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode.
    You uploaded an APK signed with a certificate that expires too soon. You need to sign your APK with a certificate that expires farther into the future.



    We are using a valid certificate and set the package configuration to "production".

    Sencha Architect 2.1.0 Build 678.
    Sencha Cmd 3.0.0.250

    Is it possible to create a valid APK file for the Play Store? Any ideas how to fix this problem?

    Thanks in advance,
    Marc

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    4
    Vote Rating
    3
    oknoeno is on a distinguished road

      2  

    Default FIXED

    FIXED


    After a lot of testing we finally found the problem. The package property configuration: "production" is incorrect. We manually changed the value in the package.json to "Release" and than it worked. The problem ist that in Sencha Architect you can only choose between "debug" and "production".

    I hope it helps other Android developers using Sencha Architect.

    Best,
    Marc

  3. #3
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,939
    Vote Rating
    64
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Oh no! You're right. This is fixed in the 2.2 release (out soon). I should have pushed this in the 678 patch release.

    I'm going to sticky this thread.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  4. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    134
    Vote Rating
    0
    rballman is on a distinguished road

      0  

    Default


    when I build native with "debug" config it produces an APK file, however, when I build with "release" config, there is no APK file. any ideas? I get no errors from Sencha CMD

  5. #5
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,939
    Vote Rating
    64
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    sorry I just saw this one...

    try running the sencha build command with --debug
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

Thread Participants: 2

Tags for this Thread