Where Is My APK Stored When I Run Program On A Android Device?
When i just run my program through eclipse on my device it gets installed (since i can open it again from my apps browser). However i cannot find the .APK anywhere. Is there a way
Solution 1:
In your Eclipse, it will be under the /bin
folder.
In your device, your app will be in /data/app
folder.
Does Android keep the .apk files? if so where?
Try this code in your app:
public class Testing extends Activity {
private static final String TAG = "TEST";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
File appsDir = new File("/data/app");
String[] files = appsDir.list();
for (int i = 0 ; i < files.length ; i++ ) {
Log.d(TAG, "File: "+files[i]);
}
}
Solution 2:
Its in /bin/
directory in your project path
Solution 3:
It is in your bin folder bin/appname.apk
Post a Comment for "Where Is My APK Stored When I Run Program On A Android Device?"