@swmansion/argent 0.28.1-next.14 → 0.28.1-next.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tool-server.cjs +2 -1
- package/package.json +1 -1
package/dist/tool-server.cjs
CHANGED
|
@@ -122710,8 +122710,9 @@ async function resolveLauncherActivity(udid, bundleId, isTv = false) {
|
|
|
122710
122710
|
}
|
|
122711
122711
|
const launcher = await resolveFor();
|
|
122712
122712
|
if (launcher) return launcher;
|
|
122713
|
+
const pmPath = await adbShell(udid, `pm path ${shellQuote(bundleId)}; true`);
|
|
122713
122714
|
throw new FailureError(
|
|
122714
|
-
`Could not resolve a ${isTv ? "LEANBACK_LAUNCHER or LAUNCHER" : "LAUNCHER"} activity for ${bundleId}.
|
|
122715
|
+
`Could not resolve a ${isTv ? "LEANBACK_LAUNCHER or LAUNCHER" : "LAUNCHER"} activity for ${bundleId}. ` + (pmPath.includes("package:") ? `It is installed but declares no such activity: pass an explicit \`activity\`. ` : `It is not installed on ${udid}: install it with \`reinstall-app\`. `) + `(resolve-activity output: ${lastRaw.trim() || "empty"})`,
|
|
122715
122716
|
{
|
|
122716
122717
|
error_code: FAILURE_CODES.ANDROID_LAUNCH_ACTIVITY_RESOLVE_FAILED,
|
|
122717
122718
|
failure_stage: "android_launch_resolve_activity",
|
package/package.json
CHANGED