Bug P4
Status Update
Comments
pa...@google.com <pa...@google.com> #2
Hi, can you confirm if you are still seeing this issue from command line or Studio with latest versions of Android Gradle plugin and Studio? Thanks!
al...@gmail.com <al...@gmail.com> #3
I can confirm that I am getting updates but not in an idea or anything standard. Please contact whoever you know. I have been stuck in this type of situation since covid started.
'Blocked by 0/0' the limit is called unspecified in older books.
Also, 0x0000000000...
'Blocked by 0/0' the limit is called unspecified in older books.
Also, 0x0000000000...
ae...@google.com <ae...@google.com> #4
This bug has not been updated in the last year. Please reopen if we still need to look into this.
Description
Version used:
implementation 'androidx.fragment:fragment:1.3.4'
implementation 'androidx.activity:activity:1.2.3'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
Devices/Android versions reproduced on: API 27
- Relevant code to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
Attached Screenshot
When I run the tests using below command it fails on emulator running on api 27
./gradlew connectedAndroidTest
It works on api 28 and above
I have the GrantPermissionRule configured in the test.
On API 27 I can see the pm grant statements being executed but still the the app ask for permission using the popup causing the test to fail
Surprisingly it works with android studio, but fails when run using command - ./gradlew connectedAndroidTest