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()
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
add a comment |
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
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
add a comment |
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
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
android
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Mar 8 at 10:15
ferminx360ferminx360
537
537
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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