在哪里可以找到现有 Android 应用程序的软件包名称(例如 com.android.browser、com.android.phone、com.android.contacts)?
Where do I find the package name (eg. com.android.browser, com.android.phone, com.android.contacts) of an existing Android App?
我正在学习如何使用 Espresso 来验证意图。 documentation 有以下示例:
intended(allOf(..., toPackage("com.android.browser")));
在哪里可以找到其他现有应用程序(例如 Gmail)的软件包名称?
答案可以在 https://support.google.com/admob/answer/3086746?hl=en:
找到
- 转到 Google Play 商店页面。
- 搜索您的应用(例如 Gmail)并转到应用页面。
- Google 播放 URL 使用以下格式:
https://play.google.com/store/apps/details?id=<package_name>
另一种方法是 运行 一个失败的测试,看看会出现什么。
我正在学习如何使用 Espresso 来验证意图。 documentation 有以下示例:
intended(allOf(..., toPackage("com.android.browser")));
在哪里可以找到其他现有应用程序(例如 Gmail)的软件包名称?
答案可以在 https://support.google.com/admob/answer/3086746?hl=en:
找到- 转到 Google Play 商店页面。
- 搜索您的应用(例如 Gmail)并转到应用页面。
- Google 播放 URL 使用以下格式:
https://play.google.com/store/apps/details?id=<package_name>
另一种方法是 运行 一个失败的测试,看看会出现什么。