I am using Ubuntu 18.04. From Android Studio with the following code I am getting file directory
Context ctx = getApplicationContext(); final File filesDir = ctx.getFilesDir(); which is /data/user/0/com.example.ipfs/files/. I am running my app on Android Emulator. How do I go to the /data/user/0/com.example.ipfs/files/ folder from my PC?
userdebugROM so that ADBD runs with root privileges, then simply doadb root; adb shell ls /data/user/0/com.example.ipfs/files/. If it's a finaluserbuild (usually the one with Play Services), then you first need to root your emulator (MagiskOnEmulator). See Why are superuser permissions needed to acess /data partition? and Why “adb root” does nothing?