How Install the APK signed with your PRODUCTION certificate to a test device?How do I obtain crash-data from my Android application?Is quitting an application frowned upon?Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE error on AndroidAndroid error: Failed to install *.apk on device *: timeoutHow can I access my localhost from my Android device?Can't start Eclipse - Java was started but returned exit code=13How to avoid reverse engineering of an APK file?Android Studio: Add jar as library?How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device?android.os.FileUriExposedException: file:///storage/emulated/0/test.txt exposed beyond app through Intent.getData()

What is the opposite of 'gravitas'?

At which point does a character regain all their Hit Dice?

Is there any easy technique written in Bhagavad GITA to control lust?

Why did Kant, Hegel, and Adorno leave some words and phrases in the Greek alphabet?

Is the destination of a commercial flight important for the pilot?

Is expanding the research of a group into machine learning as a PhD student risky?

Why "be dealt cards" rather than "be dealing cards"?

Is a roofing delivery truck likely to crack my driveway slab?

Do there exist finite commutative rings with identity that are not Bézout rings?

How to be diplomatic in refusing to write code that breaches the privacy of our users

Why are on-board computers allowed to change controls without notifying the pilots?

Valid Badminton Score?

How does residential electricity work?

Failed to fetch jessie backports repository

How do I define a right arrow with bar in LaTeX?

Will it be accepted, if there is no ''Main Character" stereotype?

Generic lambda vs generic function give different behaviour

Was Spock the First Vulcan in Starfleet?

How does it work when somebody invests in my business?

What is the oldest known work of fiction?

Can a monster with multiattack use this ability if they are missing a limb?

voltage of sounds of mp3files

Is it okay / does it make sense for another player to join a running game of Munchkin?

Coordinate position not precise



How Install the APK signed with your PRODUCTION certificate to a test device?


How do I obtain crash-data from my Android application?Is quitting an application frowned upon?Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE error on AndroidAndroid error: Failed to install *.apk on device *: timeoutHow can I access my localhost from my Android device?Can't start Eclipse - Java was started but returned exit code=13How to avoid reverse engineering of an APK file?Android Studio: Add jar as library?How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device?android.os.FileUriExposedException: file:///storage/emulated/0/test.txt exposed beyond app through Intent.getData()













0















I'm trying to test google in app purchase system.



  • If I download from the app from google play, in app purchase works.


  • However if I run the app directly from android studio, I can't because of error code 5 or 0.


I think its because when running through android studio on test device its not signed. how do i do that ?










share|improve this question
























  • Set up an appropriate signing configuration. See developer.android.com/studio/publish/app-signing

    – Michael
    Mar 8 at 10:10











  • You can Upload your app in BETA for testing the app.

    – g.brahma Datta
    Mar 8 at 10:10











  • @g.brahmaDatta i cant see logs when i run from google play

    – jos
    Mar 8 at 10:14











  • Oh your app is already upload to google play but you are unable to install ? @jos

    – g.brahma Datta
    Mar 8 at 10:25















0















I'm trying to test google in app purchase system.



  • If I download from the app from google play, in app purchase works.


  • However if I run the app directly from android studio, I can't because of error code 5 or 0.


I think its because when running through android studio on test device its not signed. how do i do that ?










share|improve this question
























  • Set up an appropriate signing configuration. See developer.android.com/studio/publish/app-signing

    – Michael
    Mar 8 at 10:10











  • You can Upload your app in BETA for testing the app.

    – g.brahma Datta
    Mar 8 at 10:10











  • @g.brahmaDatta i cant see logs when i run from google play

    – jos
    Mar 8 at 10:14











  • Oh your app is already upload to google play but you are unable to install ? @jos

    – g.brahma Datta
    Mar 8 at 10:25













0












0








0








I'm trying to test google in app purchase system.



  • If I download from the app from google play, in app purchase works.


  • However if I run the app directly from android studio, I can't because of error code 5 or 0.


I think its because when running through android studio on test device its not signed. how do i do that ?










share|improve this question
















I'm trying to test google in app purchase system.



  • If I download from the app from google play, in app purchase works.


  • However if I run the app directly from android studio, I can't because of error code 5 or 0.


I think its because when running through android studio on test device its not signed. how do i do that ?







android






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 13:18









Vrushi Patel

392321




392321










asked Mar 8 at 10:07









josjos

171




171












  • Set up an appropriate signing configuration. See developer.android.com/studio/publish/app-signing

    – Michael
    Mar 8 at 10:10











  • You can Upload your app in BETA for testing the app.

    – g.brahma Datta
    Mar 8 at 10:10











  • @g.brahmaDatta i cant see logs when i run from google play

    – jos
    Mar 8 at 10:14











  • Oh your app is already upload to google play but you are unable to install ? @jos

    – g.brahma Datta
    Mar 8 at 10:25

















  • Set up an appropriate signing configuration. See developer.android.com/studio/publish/app-signing

    – Michael
    Mar 8 at 10:10











  • You can Upload your app in BETA for testing the app.

    – g.brahma Datta
    Mar 8 at 10:10











  • @g.brahmaDatta i cant see logs when i run from google play

    – jos
    Mar 8 at 10:14











  • Oh your app is already upload to google play but you are unable to install ? @jos

    – g.brahma Datta
    Mar 8 at 10:25
















Set up an appropriate signing configuration. See developer.android.com/studio/publish/app-signing

– Michael
Mar 8 at 10:10





Set up an appropriate signing configuration. See developer.android.com/studio/publish/app-signing

– Michael
Mar 8 at 10:10













You can Upload your app in BETA for testing the app.

– g.brahma Datta
Mar 8 at 10:10





You can Upload your app in BETA for testing the app.

– g.brahma Datta
Mar 8 at 10:10













@g.brahmaDatta i cant see logs when i run from google play

– jos
Mar 8 at 10:14





@g.brahmaDatta i cant see logs when i run from google play

– jos
Mar 8 at 10:14













Oh your app is already upload to google play but you are unable to install ? @jos

– g.brahma Datta
Mar 8 at 10:25





Oh your app is already upload to google play but you are unable to install ? @jos

– g.brahma Datta
Mar 8 at 10:25












1 Answer
1






active

oldest

votes


















1














You need to sign it manually with your production keystore:



jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore "PATH" -storepass KEYSTORE_FILE app-unsigned.apk ALIAS_NAME


Then you maybe need to zipalign:



zipalign "-v" "4" "PATH TO SIGNED APK" out.apk





share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060898%2fhow-install-the-apk-signed-with-your-production-certificate-to-a-test-device%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    You need to sign it manually with your production keystore:



    jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore "PATH" -storepass KEYSTORE_FILE app-unsigned.apk ALIAS_NAME


    Then you maybe need to zipalign:



    zipalign "-v" "4" "PATH TO SIGNED APK" out.apk





    share|improve this answer



























      1














      You need to sign it manually with your production keystore:



      jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore "PATH" -storepass KEYSTORE_FILE app-unsigned.apk ALIAS_NAME


      Then you maybe need to zipalign:



      zipalign "-v" "4" "PATH TO SIGNED APK" out.apk





      share|improve this answer

























        1












        1








        1







        You need to sign it manually with your production keystore:



        jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore "PATH" -storepass KEYSTORE_FILE app-unsigned.apk ALIAS_NAME


        Then you maybe need to zipalign:



        zipalign "-v" "4" "PATH TO SIGNED APK" out.apk





        share|improve this answer













        You need to sign it manually with your production keystore:



        jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore "PATH" -storepass KEYSTORE_FILE app-unsigned.apk ALIAS_NAME


        Then you maybe need to zipalign:



        zipalign "-v" "4" "PATH TO SIGNED APK" out.apk






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 at 10:15









        ferminx360ferminx360

        537




        537





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55060898%2fhow-install-the-apk-signed-with-your-production-certificate-to-a-test-device%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

            Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

            2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived