Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find ****.apk + android

Tags:

android

Whenever i am trying to run my project, i am getting this error in the console. "Could not find **.apk"

Operating system: windows XP

IDE: Eclipse SDK Version: 3.4.2 Build id: M20090211-1700

Android: 1.6

ADT: ADT 10.0.0

FYI: it is only happening with a single project, other projects are running fine..

like image 220
mudit Avatar asked Mar 11 '11 12:03

mudit


People also ask

Can t find installed APK?

If you want to locate the APK files in your Android phones, you can find the APK for user-installed apps under /data/app/directory while the preinstalled ones are located in /system/app folder and you can access them by using ES File Explorer.

How to open. APK files on Android?

Just open your browser, find the APK file you want to download, and tap it – you should then be able to see it downloading on the top bar of your device. Once it's downloaded, open Downloads, tap on the APK file and tap Yes when prompted. The app will begin installing on your device. Simple.

What is APK format * Your answer?

An APK (Android Package Kit) is the file format for applications used on the Android operating system. APK files are compiled with Android Studio, which is the official integrated development environment (IDE) for building Android software. An APK file includes all of the software program's code and assets.


2 Answers

I think this can happen when you rename the library project out from underneath the dependent project. Eclipse is reasonably good about about updating dependencies in most cases but this one seems fragile.

First try removing and then re-adding your library in Project > Properties > Android > Library.

If that doesn't work try cleaning your projects, exiting Eclipse, and opening the ".classpath" file in your project's root directory. If you see a line that references your library project under a previous name, just delete it, save the file, and relaunch Eclipse. Build the library project and then your dependent one. You may need to re-add the library like I mentioned above. This is what worked for me at least.

Edit note: I also found some stale references in my .project files. They didn't seem to be causing any problems but I removed them too. If you do that, be sure to search for the old name in that file as there was a whole "link" section near the bottom that also referenced it.

like image 141
Melinda Green Avatar answered Oct 05 '22 17:10

Melinda Green


Make sure after updating your android sdk sdk build tools are updated properly. You can check it by Open sdk manager -"Android Sdk Build Tools" status must be installed. if the status is not installed then install Android Sdk Build Tools for the same.

like image 27
prakash singh Avatar answered Oct 05 '22 17:10

prakash singh