In this article, we will discuss that how to check the file explorer and see all the folders inside the android. This is useful when you are working on a local SQL database and want to know where the database is saving in the device, and when we are working on a chat-like app where we want our images, audio files to be saved in separate directories.
Step by Step Implementation
Step 1: Create a new project
To create a new project in Android Studio please refer to How to Create/Start a New Project in Android Studio. Note that select Java as the programming language.
Step 2: Simply Run the Hello World App on your Emulator
Step 3: Now click on the AVD Manager Button
Step 4: Now Create a Virtual Device
Select your Desired API level and create an emulator. You may also refer to How to install Android Virtual Device(AVD).
Step 5: Now Play the Emulator button
Step 6: Emulator launch
Wait till the emulator is launched fully. Now click on the run button in android studio or press (shift + F10) to install App on the device, and start debugging session. Now go to the View > Tool Windows > Device File Explorer as shown in the below image.
Step 7: The Device File Explorer window will pop up
As we see the explorer window is popped up and now we can see our files in the Emulator. You can also navigate in the created app data folder.
- Click “data” in device explorer.
- Again click another “data” folder
- Now find “com.example.gfg” folder.
You will find all the data related to this app as shown in the below screenshot.