When run 'patrol test', the app installs but doesn't start #1183
Replies: 4 comments 3 replies
-
@jmvalenciz Facing the same issue on 2201117SI device. Have you found any solution? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm facing the same problem on latest patrol 3.6.1, SDK 34 and gradle 8.7. Standalone app starts fine on both native and web. |
Beta Was this translation helpful? Give feedback.
-
I'm on Apple silicon as well, trying to run patrol tests for an android only flutter app. I redid the whole setup twice to ensure I don't do typos or skip steps by mistake. Yet poth Here are some relevant code snips: |
Beta Was this translation helpful? Give feedback.
-
Hi there.
I'm configuring Patrol with Native automation (I already finished the setup guide) in one of my flutter projects and I'm facing an error (I configured a minimal example of the project):
When I execute
patrol test
, the app installs correctly in the device but it doesn't start by itself andpatrol_cli
gets stuck indefinitely so I decided to look at the logs and this is what I found:Logs
Command:
flutter logs
Output:
Command:
adb logcat | grep -i PatrolServer
Output:
Execution environment
patrol version: ^1.0.8
patrol_cli version: v1.1.3
flutter --version
:OS: Arch Linux
Android Device: Xiaomi Redmi Note 11S (2201117SG)
Extra data
I also tried to start the app manually from the
adb shell
with the commandam start -n com.example.test_patrol/.MainActivity
or just clicking the app icon and it works as expected.Beta Was this translation helpful? Give feedback.
All reactions