importing project in android studio and generating .apk









up vote
1
down vote

favorite












I have a source code given by someone in which I have to make some changes. when I generate .apk from it in android studio whether signed or debug .apk. It does not run in my device by saying "app was already expired please use another version". But he also provides me a .apk from the same source which works. I don't know why the .apk generated in my android studio is not working. Is the files lock or what the problem. Please help me. Thanks,










share|improve this question























  • Some api key is used by that app?
    – Ghulam Moinul Quadir
    Nov 10 at 17:56










  • Yes, google map api key is used.
    – Zahoor Ktk
    Nov 10 at 18:01










  • You will have to create your own api key to generate apk from your machine. You can get more details about generating api key from here : developers.google.com/maps/documentation/android-sdk/signup
    – Ghulam Moinul Quadir
    Nov 10 at 18:07











  • I generate my own api key and add it but it still give me the same message.
    – Zahoor Ktk
    Nov 10 at 18:34










  • Did you change the package name of the project?
    – Ghulam Moinul Quadir
    Nov 10 at 18:47














up vote
1
down vote

favorite












I have a source code given by someone in which I have to make some changes. when I generate .apk from it in android studio whether signed or debug .apk. It does not run in my device by saying "app was already expired please use another version". But he also provides me a .apk from the same source which works. I don't know why the .apk generated in my android studio is not working. Is the files lock or what the problem. Please help me. Thanks,










share|improve this question























  • Some api key is used by that app?
    – Ghulam Moinul Quadir
    Nov 10 at 17:56










  • Yes, google map api key is used.
    – Zahoor Ktk
    Nov 10 at 18:01










  • You will have to create your own api key to generate apk from your machine. You can get more details about generating api key from here : developers.google.com/maps/documentation/android-sdk/signup
    – Ghulam Moinul Quadir
    Nov 10 at 18:07











  • I generate my own api key and add it but it still give me the same message.
    – Zahoor Ktk
    Nov 10 at 18:34










  • Did you change the package name of the project?
    – Ghulam Moinul Quadir
    Nov 10 at 18:47












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have a source code given by someone in which I have to make some changes. when I generate .apk from it in android studio whether signed or debug .apk. It does not run in my device by saying "app was already expired please use another version". But he also provides me a .apk from the same source which works. I don't know why the .apk generated in my android studio is not working. Is the files lock or what the problem. Please help me. Thanks,










share|improve this question















I have a source code given by someone in which I have to make some changes. when I generate .apk from it in android studio whether signed or debug .apk. It does not run in my device by saying "app was already expired please use another version". But he also provides me a .apk from the same source which works. I don't know why the .apk generated in my android studio is not working. Is the files lock or what the problem. Please help me. Thanks,







android apk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 11 at 0:48









Mostafa Aryannejad

379313




379313










asked Nov 10 at 17:38









Zahoor Ktk

62




62











  • Some api key is used by that app?
    – Ghulam Moinul Quadir
    Nov 10 at 17:56










  • Yes, google map api key is used.
    – Zahoor Ktk
    Nov 10 at 18:01










  • You will have to create your own api key to generate apk from your machine. You can get more details about generating api key from here : developers.google.com/maps/documentation/android-sdk/signup
    – Ghulam Moinul Quadir
    Nov 10 at 18:07











  • I generate my own api key and add it but it still give me the same message.
    – Zahoor Ktk
    Nov 10 at 18:34










  • Did you change the package name of the project?
    – Ghulam Moinul Quadir
    Nov 10 at 18:47
















  • Some api key is used by that app?
    – Ghulam Moinul Quadir
    Nov 10 at 17:56










  • Yes, google map api key is used.
    – Zahoor Ktk
    Nov 10 at 18:01










  • You will have to create your own api key to generate apk from your machine. You can get more details about generating api key from here : developers.google.com/maps/documentation/android-sdk/signup
    – Ghulam Moinul Quadir
    Nov 10 at 18:07











  • I generate my own api key and add it but it still give me the same message.
    – Zahoor Ktk
    Nov 10 at 18:34










  • Did you change the package name of the project?
    – Ghulam Moinul Quadir
    Nov 10 at 18:47















Some api key is used by that app?
– Ghulam Moinul Quadir
Nov 10 at 17:56




Some api key is used by that app?
– Ghulam Moinul Quadir
Nov 10 at 17:56












Yes, google map api key is used.
– Zahoor Ktk
Nov 10 at 18:01




Yes, google map api key is used.
– Zahoor Ktk
Nov 10 at 18:01












You will have to create your own api key to generate apk from your machine. You can get more details about generating api key from here : developers.google.com/maps/documentation/android-sdk/signup
– Ghulam Moinul Quadir
Nov 10 at 18:07





You will have to create your own api key to generate apk from your machine. You can get more details about generating api key from here : developers.google.com/maps/documentation/android-sdk/signup
– Ghulam Moinul Quadir
Nov 10 at 18:07













I generate my own api key and add it but it still give me the same message.
– Zahoor Ktk
Nov 10 at 18:34




I generate my own api key and add it but it still give me the same message.
– Zahoor Ktk
Nov 10 at 18:34












Did you change the package name of the project?
– Ghulam Moinul Quadir
Nov 10 at 18:47




Did you change the package name of the project?
– Ghulam Moinul Quadir
Nov 10 at 18:47

















active

oldest

votes











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',
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%2f53241670%2fimporting-project-in-android-studio-and-generating-apk%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241670%2fimporting-project-in-android-studio-and-generating-apk%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







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3

Museum of Modern and Contemporary Art of Trento and Rovereto