Troubleshooting docs structure refactored

Summary: Troubleshooting docs structure refactored. This should fix publishing of docs on GitHub which is currently failing, because of link to fb-only page from public page: https://github.com/facebook/flipper/actions/runs/2351680003.

Reviewed By: passy

Differential Revision: D36513180

fbshipit-source-id: c0339d437f560464e771e46dfc0a55782faf6a54
This commit is contained in:
Anton Nikolaev
2022-05-19 07:43:09 -07:00
committed by Facebook GitHub Bot
parent 2704ce5a8e
commit 566f7108c9
8 changed files with 85 additions and 215 deletions

View File

@@ -2,11 +2,30 @@
id: android
title: Troubleshooting Android Issues
sidebar_label: Android Issues
custom_edit_url: https://www.internalfb.com/intern/diffusion/FBS/browsefile/master/xplat/sonar/docs/android.mdx
custom_edit_url: https://www.internalfb.com/intern/diffusion/FBS/browsefile/master/xplat/sonar/docs/getting-started/troubleshooting/android.mdx
---
import InternalAndroid from './fb/_android.mdx';
Flipper is a work in progress and issues may occur. This page contains known issues associated with the Android platform and provides steps you can take to try to resolve them.
<InternalAndroid />
<OssOnly>
## In-app diagnostics
The Flipper SDK includes an in-app connection diagnostics screen to help you diagnose problems.
Replace `<APP_PACKAGE>` below with the package name of your app, for example, such as `com.facebook.flipper.sample`.
On a terminal, run the following:
```bash
adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
```
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](./getting-started/android-native.mdx#diagnostics) for help.
## Exception from call site #4 bootstrap method
Build error after including the Flipper dependency:
@@ -61,3 +80,5 @@ implementation("com.facebook.react:react-native:+") {
exclude group:'com.facebook.fbjni'
}
```
</OssOnly>