Enable Remote LogCat
Required for Android 4.0 Ice Cream Sandwich or earlier. (Not required for 4.1 or later)
DeployGate offers a remote LogCat feature that allows you to browse LogCat wirelessly. When selecting a device from the dashboard, a request is issued to the device’s DeployGate Client. It will then call the SDK embedded within the app and start the LogCat transfer.
On devices running Android 4.0 Ice Cream Sandwich or earlier, you must add permissions to AndroidManifest.xml using the following steps to view LogCat logs from the app.
LogCat is sent when requested remotely or when an app crashes
Steps for activation
-
Open AndroidManifest.xml
-
Add the following uses-permissions statement into
<manifest>
tags.
<uses-permission android:name="android.permission.READ_LOGS" />
- Rebuild and push the app
DeployGate SDK automatically detects these changes and will be ready to accept requests. You should be able to view LogCat of the installed device from the app’s dashboard.