Fixed
Status Update
Comments
ra...@google.com <ra...@google.com>
je...@google.com <je...@google.com>
ko...@gmail.com <ko...@gmail.com> #2
I also have the same issue so it seems to be a real problem.
ka...@droidsonroids.pl <ka...@droidsonroids.pl> #4
why is this marked has Obsolete? this is still a bug that is happening and its difficult to fix.
for all who are looking for a solution use this:
http://stackoverflow.com/questions/16200972/android-css-positionfixed-after-a-device-rotate
for all who are looking for a solution use this:
im...@google.com <im...@google.com> #5
Ah I missed that, thanks for pointing it out. I'll check it out and keep you updated.
ko...@gmail.com <ko...@gmail.com> #6
Hi, any update on this issue?
im...@google.com <im...@google.com>
am...@google.com <am...@google.com>
am...@google.com <am...@google.com> #7
I understand that this is an old issue and I am just starting to investigate this. Is this still a problem?
ko...@gmail.com <ko...@gmail.com> #8
I've just updated sample project dependencies to the latest AGP and Gradle versions and problem still occurs with additional StackOverflow issue.
Description
We've used AGP 4.2.2 in project and all android tests under library modules worked fine. After upgrading AGP to version 7.0.0 (and later 7.0.1) we are not able to compile android tests.
For sample project call: ./gradlew :customView:assembleDebugAndroidTest
Result: > Cannot find resource: id view_1
Expected: Successful compilation
Changing AGP version in sample project to 4.2.2 solves issue.
Missing resource id is used in kotlin code as reference for Espresso.
Build: AI-203.7717.56.2031.7583922, 202107261959,
AI-203.7717.56.2031.7583922, JRE 11.0.10+0-b96-7281165x64 JetBrains s.r.o., OS Mac OS X(x86_64) v10.15.7, screens 2880.0x1800.0, 1920.0x1080.0
AS: Arctic Fox | 2020.3.1; Kotlin plugin: 203-1.5.21-release-328-AS7717.8; Android Gradle Plugin: 4.2.2; Gradle: 7.0.2; Gradle JDK: version 11.0.10; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read