Lost keystore in android studio - android-studio

I am using android studio 1.4 and I made a keystore but I accidently deleted that folder. Now how can I make a new keystore? I use android studio just for the purpose of learning as of now. I have no recent plans to publish on google play. I am trying to create new keystore but I am not able to create a new keystore. Please help me out with this problem.

Related

SDK problem after GitHub import to Android Studio

I am new to programming.
I have never coded and I have never used Android Studio and GitHub.
Sorry if I ask stupid questions.
I downloaded this project in ZIP on GitHub: https://github.com/raghavtilak/Paint
When I open it in Android Studio, I get an error message:
"The SDK path 'C:\Sdk\Sdk' does not belong to a directory.
Android Studio will use this Android SDK instead : 'C:\Users\jane\AppData\Local\Android\Sdk' and will modify the projectct's local."
What should I do to solve this problem?
Thank you in advance.
When you open the project in Android Studio it should ask you to change the SDK path automatically. If it does you can just accept it and it will change the path without you noticing and without any problems.
If it does not ask you, just search your SDK Path (on your computer) and change it in your local.properties in the project panel (or the windows explorer) in android studio.

JKS and KEYSTORE

I'm trying to generate an apk to publish on Play Store with Unity.
I've had to regenerate the keystore, cause I've lost the previously, so I've had to do it with Android Studio to sent the CEM to Google Support.
The problem is that Android Studio makes .jks and Unity asks me a .keystore file. How can I convert it to build an apk file to publish on Google Developer Console?
Thank you!
From this other answer
https://stackoverflow.com/a/9010561/9248718
You should be good to go to sign your app with the .jks file.
If you lost your old keystore I think your only solution will be to just create a new one and publish your app as another independent app as the Google Docs say

Is it possible to make Android Studio use a specific key store when building debug APK?

I do not want Android Studio to use the (automatically created) debug.keystore, instead I want to use my release keystore. The reason for this is that Push Notifications do not work when the APK is signed with the debug key.
I have googled, but I cannot find a way.
The change you want is in your build.gradle, not in Android studio itself, per-se. You can configure the signing keystore using Android Studio, but under the hood your build.gradle will be edited by the IDE. The documentation is available here.
The section on securing your key describes how to add this into your build.gradle in a secure/safe way, assuming you don't want your signing details checked into version control.

Location of debug keystore in Android Studio, does it exist?

After a lay off, I migrated my Android development from Eclipse under Windows to a new machine with Android Studio running under Ubuntu.
Because I wished to port an existing project using Google Maps v1 (which no longer issues new API keys) I copied the release and debug keystores to the new machine.
Under Eclipse there was no need to know the location of the debug keystore which was created automatically and debug loads signed with it.
Under Android Studio, does the same principle apply? If there is a system created debug keystore, where is it, or do I have to define one explicitly?
As described here in the documentation: http://developer.android.com/tools/publishing/app-signing.html
You can find the debug keystore in $HOME/.android/debug.keystore
Yes, a debug.keystore file is created for you by Android Studio. It is in your user home directory under .android/debug.keystore (i.e., on Linux/Mac at ~/.android/debug.keystore

Android studio doesn't create project structure

I am new to Android studio. I tried to create my first project and there is no project structure only gradle files. What am I doing wrong? I keep getting these files with creation of another new project.
Update SDK via Android SDK Manager. You need all packages in Tools to be installed.
But even after doing so, I can't make it to auto generate resources. So I continue to deal with it...
I found what was my problem. I updated Android studio from version 1.x to 2.x. On official site is written that if you try to install version 2.x into same location Android studio might not work properly and there could be some unexpected behavior.
So just removing Android studio and then reinstaling it, worked perfectly.

Resources