This was making me crazy. I wanted to be able to create a log in my app to show some stuff and then look at it.
And nothing I did would let me find the package on any of my devices!
But I finally found a way after trying different google searches.
First, you open an adb command session on your device (assumes only one device connected):
1. Connect your device via USB (and have USB debugging turned on, of course)
2. Open a DOS Prompt command window on your PC (if not readily available, open the Start panel on Windows, type 'cmd' into the 'Search programs and files' input and press return, right click and pin to start menu {for later convenience}, click on it to start {you might need to use 'run as administrator' from the right click menu})
3. Navigate to C:\Android\android-sdk\platform-tools (assumes you have the Android SDK installed there, if not, change the path accordingly)
4. Type in 'adb shell' and hit the enter key
You should now see 'shell@android:/ $' on your screen.
If you enter 'll' (el el, not one one) it will show a bunch of stuff. One of which is the data directory, which is our target. But you cannot access it if you are unrooted.
But you can access your app like by typing in the command 'run-as com.yourcompany.yourapp'. (Naturally, you replace com.yourcompany.yourapp with the actual package name for your app.)
Once you do that, the prompt changes to 'shell@android:/data/data/com.yourcompany.yourapp $'.
Doing the list command (ll) now shows cache, files and probably lib pointing to another directory.
Change to the files directory with the command 'cd files'.
The files directory is the one where you will find the temporary files created when your app runs and any files that you open and write to in your app.
Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master