# activity_alias Ensures that each `` declared in the `AndroidManifest.xml` is valid. ## Will Skip If * `AndroidManifest.xml` does not contain any `` nodes. ## Will Fail If * An `` has a `targetActivity` which does not exist in the `AndroidManifest.xml`. * An `` does not contain an `` or... * An `` does not include ``. * An `` does not include ``. ## Exports The `` nodes present. ### Example ```json { "aliases":[ { "name":"com.unity3d.player.UnityPlayerActivity", "targetActivity":"io.teak.sdk.wrapper.unity.TeakUnityPlayerActivity" } ] } ``` ## Reason When an app changes the class of its main `` any shortcut that the app, or the user, has created will be removed. To avoid this, apps can use `` to redirect any reference to the old activity to a new activity. An `` must point to a valid `` and must include intent filters which will redirect the `android.intent.action.MAIN` action and `android.intent.category.LAUNCHER` category, otherwise shortcuts will not be preserved. ## Resolution Make sure your `` has a `targetActivity` which points to an `` defined in `AndroidManifest.xml` ```xml ```