Skip to content Skip to sidebar Skip to footer

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:

publicclassTestingextendsActivity {
    privatestaticfinalStringTAG="TEST";
    @OverridepublicvoidonCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        FileappsDir=newFile("/data/app");

        String[] files = appsDir.list();

        for (inti=0 ; i < files.length ; i++ ) {
            Log.d(TAG, "File: "+files[i]);

        }
    }

Solution 2:

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?"