Can't find apk file [duplicate] - android

This question already has answers here:
Location of .apk file
(6 answers)
Closed 8 years ago.
I made my first android app and it works on the emulator.
But now I want to test it on my phone and I can't find the apk file.
Do I have to make it and how do I do that?

Just check the bin folder of your Project source code folder.

followin way to find .apk build file...
open your project
open "bin" folder
get your project's build (.apk) file.
You show in Image where it is.

In eclipse right click on your project and in that menu select Android tools->Export signed Application package .
And In that appearing dialog follow the instructions.

You can find last build apk file in this directory : /projectFolder/bin/yourapp.apk
here yourapp.apk is just an example
OR
you can do something following
1.right-click the project in the Package Explorer
2.select Android Tools > Export Signed Application Package.
3.Then specify the file location for the signed .apk.

check Bin folder in project structure
OR attach phone with debugger on & run on phone
OR Right click on project & andorid tools -> export sign package

Related

How build apk file in android studio?

I'm new in android studio . I wrote an application and this run on gent motion successfully , gent motion android version is 4.1., then I want to get apk file , but this don't work . I go build>generate... then keystore is build but apk file don't.
And I go build>buildbundles>apks... but too don't build apk file. I find one apk file in my project folder in:
project>res>apk >apk_realese.apk
and send this to my phone but don't install.
My phone android version is 7.1, and my project android version is 4.
I don't know what do.
Please help.
In menu go to Build-> Build Bundles/APK ->Build APK .It will build your apk file.Once successfully finished, dialog will appear at bottom and just click locate it will move to the debug folder and you can get the apk file.It will install in all mobiles.
If you dont see apk file in that folder just follow the instructions in this link.
After Android Studio 3.1.1 update, the 'locate' link does not open generated APK folder
refer this too:
Apk location in New Android Studio
If you already have successfully build your project then apk file will be stored in your project/app/build/outputs/apk/debug/ folder.

Where is .apk file for android studio 2.1? like in eclipse its in "bin" folder

I am new in android studio, till now I am work on eclipse but now move to android studio, so Where is .apk file for android studio 2.1? like in eclipse its in "bin" folder.
there are 2 app-debug-unaligned.apk & app-debug.apk file. But when I take that APK file in my mobile for running test app. than after installed its crash
so basically i want to generate .apk file for external use. like when i am using eclipse, apk file in bin folder . when i take that apk file to my mobile that perfectly working
Hope you would find this helpful.
Find your apk here
YourProject/app/build/outputs/apk/app-debug.apk
Find your apk #,
YOUR_APP_PATH\app\build\outputs\apk\app-debug.apk
YOUR_APP_PATH\app\build\outputs\apk\app-debug-unaligned.apk
This may helps you
Open Project
1. Click on Your App
2. Click on Build
3. Click on outputs
4. Click on apk
5. Here You get app-debug.apk which is apk file
You can find it from android studio by changing the view structure to project
view the picture for reference
It depends on your configuration,When you are generating signed apk by default your apk will fall under the below mentioned folder.
Your_Projects_Folder/app/app-release.apk
All your debug apk file will generate in build folder like Sathis Kumar J metioned,Unsigned Debug Build

How to get .apk file from /bin/folder? [duplicate]

I recently built an Android application using Eclipse (Galileo) on my PC/Xp. I'm a noob to Android development and it took me 2 months to build my app while reading/experimenting with all the Java and other programming ups/downs. The project runs fine on Eclipse. I now want to sign the application (currently reading on how to do this) in preparation to releasing it to the Android Market. At this point, I am stumped. The "signing your application" talks about signing the .apk file with your private key. My question is: where is the .apk file located on my PC/Eclipse files. I know where the src, res, manifest, and R.java files are located because I've been using them for the past 2 months. Where is the .apk file located? Hopefully someone can help me.
In Eclipse the default location for a compiled *.apk file is in the bin directory under the project workspace.
For example, my Eclipse workspace is under c:\Users\crsierra\workspace and my Eclipse Project is named HelloWorld. Therefore the HelloWorld.apk file will be located under c:\Users\crsierra\workspace\HelloWorld\bin\HelloWorld.apk
In eclipse right click on your project and in that menu select Android tools->Export signed Application package .
And In that appearing dialog follow the instructions.
You can export signed and unsigned .apk file using eclipse, as well as can generate private key too just use Project folder -- > right click --> Android tools
If you already running your project on emulator,you just close that emulator.And goes to
Project->clean
Project->BuildProject.
And then run your project in emulator and then check it out
bin/res/your.apk file
Typically in the bin folder.
Its Simple, Go to :
Workspace -> YourApp folder & in that folder type in the search bar(top-right) for your YourApp.apk !

eclipse is not generating apk file for any app developed in it?

I've been developing some applications in android using eclipse IDE.
All of those apps run fine on emulator but eclipse is not generating their .apk file and i am not able to install apps in any device.
Also its not giving any error or warning while running apps on emulator.
Please help me there.Thanks in advance for any help.
If it is not generated itself, you have to right click on the project you want the apk for, then Android Tools will lead to the Exporting the apk file. You have to create a key one time and you can use it further in your apk generation.
When you run the project on the emulator, the .apk is generated on the bin directory. Keep in mind that just building the project (and not running it) will not output the apk file into the bin directory.
Have you checked the bin directory?
Right Click on Your Project-> Build Project
Check in your Bin folder, it will have your application apk file.
If you do not find it,try restarting your eclipse and building project.
To run application on your device, make sure your device is discovered and in Device Settings "Allow Mock Locations" is checked
try to upgrade your ADT and SDK, I had a same problem this morning.
Google just introduced a new build system.
http://developer.android.com/tools/sdk/eclipse-adt.html
in eclipse from package explorer right click on your application -> Export ->Android -> export android application -> after this follow the steps from wizard and get your signed apk
Try to switch off Antivir or firewall

Location of .apk file

I recently built an Android application using Eclipse (Galileo) on my PC/Xp. I'm a noob to Android development and it took me 2 months to build my app while reading/experimenting with all the Java and other programming ups/downs. The project runs fine on Eclipse. I now want to sign the application (currently reading on how to do this) in preparation to releasing it to the Android Market. At this point, I am stumped. The "signing your application" talks about signing the .apk file with your private key. My question is: where is the .apk file located on my PC/Eclipse files. I know where the src, res, manifest, and R.java files are located because I've been using them for the past 2 months. Where is the .apk file located? Hopefully someone can help me.
In Eclipse the default location for a compiled *.apk file is in the bin directory under the project workspace.
For example, my Eclipse workspace is under c:\Users\crsierra\workspace and my Eclipse Project is named HelloWorld. Therefore the HelloWorld.apk file will be located under c:\Users\crsierra\workspace\HelloWorld\bin\HelloWorld.apk
In eclipse right click on your project and in that menu select Android tools->Export signed Application package .
And In that appearing dialog follow the instructions.
You can export signed and unsigned .apk file using eclipse, as well as can generate private key too just use Project folder -- > right click --> Android tools
If you already running your project on emulator,you just close that emulator.And goes to
Project->clean
Project->BuildProject.
And then run your project in emulator and then check it out
bin/res/your.apk file
Typically in the bin folder.
Its Simple, Go to :
Workspace -> YourApp folder & in that folder type in the search bar(top-right) for your YourApp.apk !

Categories

Resources