Fixed
Status Update
Comments
uc...@google.com <uc...@google.com> #2
Thank you for your feedback. Team may reach out for more feedback in reproducing or triaging this issue.
vs...@google.com <vs...@google.com> #3
error_log.PNG shows that we tried installing using:
pm install null -g -t -r "/data/local/tmp/com.mcmurtry.testoftests"
It looks like we somehow failed to detect the test package name properly in some scenario?
pm install null -g -t -r "/data/local/tmp/com.mcmurtry.testoftests"
It looks like we somehow failed to detect the test package name properly in some scenario?
an...@google.com <an...@google.com> #4
Could there be something wrong with the gradle script that tries to install the test? Without "null" it should work. Here's a screenshot of that same instrumentation test run from Android Studio 2.3.2. It shows a different install command and it runs fine.
an...@google.com <an...@google.com> #5
It turns out, the command is generated in Android Studio. I have a fix in progress at ag/2625171. I'll write a unit test for it and send it for review next week.
Description
AI-171.4195411, JRE 1.8.0_152-release-884-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 2400x1350
IMPORTANT: Please read
Gradle version: 4.1
Android plugin version: 3.0.0-alpha8
Module compile SDK version: API 26
Module build tools version: 26.0.0
Android SDK tools version: 26.0.2
Target OS: Android things 0.4.1-devpreview
Target hardware: Raspberry Pi
Host OS: Windows 10
When running an instrumentation test against a simple app, the app fails to install to the target device.
1) Right click 'androidTest' folder in project structure and select 'Run Tests'. There is just have one test.
2) Select the hardware device
3) "The installation fails with 'Installation failed with message null. " - as per the attached screenshot.
4) Choose to continue attempting to uninstall the existing application
5) The uninstall fails with DELETE_FAILED_INTERNAL_ERROR and 'Error while Installing APK'.
The project I have been using is located at
I am happy to supply any more information if required.
Kind regards,
Andy