Setup Guide
Follow these steps to configure your environment and prepare your Android device for using the @d11/de-frost
package effectively.
Step 1: Enable USB Debugging
To allow your laptop to interact with your Android device, you need to enable USB Debugging.
- Open the Settings app on your Android device.
- Scroll down and select About phone.
- Tap Build number 7 times to enable Developer options. You will see a message indicating that Developer options have been enabled.
- Go back to Settings, then tap Developer options.
- Locate and enable the USB Debugging option.
Step 2: Enable “Profile HWUI Rendering”
To collect accurate frame rendering data, you need to enable Profile HWUI Rendering.
- Go to Settings on your Android device.
- Scroll down and tap on Developer options.
- Find and select Profile HWUI Rendering.
- A pop-up window will appear with three options:
- Off
- Screenbars
- adb shell dumpsys gfxinfo
- Select adb shell dumpsys gfxinfo.
Step 3: Verify ADB Connection
Ensure that your Android device is recognized by ADB (Android Debug Bridge).
- Connect your Android device to your laptop using a USB cable.
- Open a terminal on your laptop and run the following command:
adb devices
- If your device is recognized, you will see it listed in the terminal output. For example:
List of devices attacheddevice-id device
Step 4: Additional Notes
- Grant Files and Media permissions to the app after installing the APK for proper logging and data storage.
- Ensure that your device is prepared for testing with all required configurations completed.
You’re now ready to use the @d11/de-frost
package! Head over to the Quick Start section to begin creating builds and analyzing frozen frames.