I generated a signed APK of my app to send to my friend. Before sending it I went back into Android Studio to keep working on it but the app wouldn't open up. It was as if files were missing from it. Apparently this isn't the case but I didn't modify it and it seemed the app folder that was generated was lost from my application. I tried putting the folder back but it didn't work.
How can I load my app back into android studio from the signed apk file that I created?
Sorry my friend, unfortunately its imposible to load app back to androidstudio from an apk. Unless you had a project copy you missed. You can try to decompile apk and get some classes and resources.
link :
http://www.javadecompilers.com/apk
Related
i want to move my android studio project to another pc but when im moving files from pc one to pc two and i'm trying to run the same app it's not launching and asking to remove old(the same package) app, but i want to save app signature how can i do it? for example i want to work at home, after i'm going to work and continue my project at work is it possible and how? and yes, sorry for my bad english...
image
but i want to save app signature how can i do it?
Each Android Studio installation will generate its own debug keystore for signing a debug apk. Quoting from the documentation on app signing:
"The first time you run or debug your project in Android Studio, the IDE automatically creates the debug keystore and certificate in $HOME/.android/debug.keystore, and sets the keystore and key passwords."
Apps signed with a different debug key are perceived to be different apps. So you need to copy one of the debug keystores to the $HOME/.android/ folder on the other development machine.
Download GitHub desktop and sign up. Then create repository and push project in repository. At the work in Android Studio go to File -> New -> Import Project and past a link to created repository.
https://desktop.github.com/
To see how to transfer the debug.keystore that is required so you don't get the message "The device already has an application with the same application but a different signature. In order to proceed you will have to uninstall the existing application." (and lose your data). See Update the app in another machine with same debug.keystore in android
I am currently working on an android app but my hard drive unfortunately crashed and I lost all the data on it... I am trying to recover my source code from the debug APK I had installed on my phone (using dex2jar and jd-gui) however, it seems like the classes are not present in the classes.dex and classes2.dex (both files are tiny and do not contain any of the classes in my code, see photo).
I used apk extractor to get the apk from my installed app and I cant seem to get anything close to my original classes... I am wondering if I am doing something wrong to get the APK from the installed app; any help would be greatly appreciated.
Thanks.
For de-compiling your APK to Java classes you can go to this site -
http://www.javadecompilers.com/apk
Just upload your apk and click on decompile. It should work for you !
I am developing an android app project and I am able to directly load it on my android phone. But I am unable to find the .apk file corresponding to the app. I have already checked out a few stackoverflow pages for how to resolve this, but I am unable to do so.
I do not have a bin folder at all anywhere within my project. The only .apks I am able to find within the folders are the app-debug.apk and related ones.
How do I force generate the apk when I run the project within Android Studio? Such problems do not exist in Eclipse.
Android Studio puts resulting apks in the <your-project-name>/<your-app-name>/build/outputs/apk/ directory. Look here.
If you want to debug the application you can use the app-debug. Otherwise go up to build and press generate signed apk and choose release (if you want it as the final app) or debug for debugging.
I know there are a bunch of questions about errors that occur when Generate Signed APK is invoked in Android Studio. However, I can't even get there!
I'm working with Unity and cough cough this is my first time trying to make an Android build. At first I thought maybe Unity would export an Eclipse build but it seems to be more up to date than that.
Anyway, I downloaded Android Studio, and loaded the project, but the button is disabled. I read somewhere about someone having to install gradle manually, but when I looked in the plugins folder of the app, gradle is there.
I thought it might be something to do with not having connected a key store but, apparently you're supposed to do that after you select Generate Signed APK.
Any ideas? Thank you, I'm tearing my hair out.
I am working on an android project. The project is shared through git. Each time I need to create a signed apk it's a hassle. The apk gets created but when I try to use the app, some file is always missing. Then I try disconnecting my local copy from the git sharing, then reconnecting, then rebasing, etc. Then it would create a good apk that works with no crash for supposed missing classes. (Note: the classes aren't really missing. They are classes I personally create inside the project)
My problem is, every time I need to create a signed apk, I have to emotionally gear up for a battle. And I have not figured out a repeatable process that is guaranteed to give me a good apk.
I only have this problem when exporting a signed apk. If I simply connect the device and build the code, that version of the app works. But that is not an exported apk, as it is using the debug key.
Does anyone know how to get exported apk to work with my git setup?
MORE DETAILS:
I am using
ADT eclipse
Egit