Status Update
Comments
ze...@google.com <ze...@google.com> #2
Please note that this is unrelated to Lint. This is IntelliJ indexing failing to resolve the class.
Where does these binding classes come from?
sp...@gmail.com <sp...@gmail.com> #3
Could you please try "Build -> Run Generate Sources Gradle Tasks", and let us know if that fixes the problem?
sp...@gmail.com <sp...@gmail.com> #4
From the layouts in the project.
Have seen similar in3.5.Cx , not so often in 3.6.Cx , but more in 4.0.Cx and
now in 4.1.C1. Normally it was like a "red flood" for 15-20 secs (suspected
AS to do some "catching up"), but in 4.0 and 4.1 it didn't get resolved
until a complete rebuild. More often after opening project or restart of AS.
RG
man. 2. mar. 2020, 19:26 skrev <buganizer-system@google.com>:
Have seen similar in
now in 4.1.C1. Normally it was like a "red flood" for 15-20 secs (suspected
AS to do some "catching up"), but in 4.0 and 4.1 it didn't get resolved
until a complete rebuild. More often after opening project or restart of AS.
RG
man. 2. mar. 2020, 19:26 skrev <buganizer-system@google.com>:
ze...@google.com <ze...@google.com> #5
Sorry, we bypassed...
I'll try your suggestion.
RG
man. 2. mar. 2020, 19:57 skrev <buganizer-system@google.com>:
I'll try your suggestion.
RG
man. 2. mar. 2020, 19:57 skrev <buganizer-system@google.com>:
sp...@gmail.com <sp...@gmail.com> #6
Hi, ran back to office to check out...(puuh!!...)
Yess! Your suggestion remedies the situation, and the false errors disappeared.
Anyway, before I ran the command, I took zip of my logs, maybe you see the reason for the issue there.
RG
Yess! Your suggestion remedies the situation, and the false errors disappeared.
Anyway, before I ran the command, I took zip of my logs, maybe you see the reason for the issue there.
RG
js...@google.com <js...@google.com> #7
...
sp...@gmail.com <sp...@gmail.com> #8
Apologies for the delay in getting to this.
This seems like a duplicate of
If this is still an issue with recent versions of Studio & AGP please could you file a new issue referencing this one?
Description
1. Trying to build APK for release or debug (Bundle works fine)
2. ProGuard is enabled
Build fails with " java.lang.NullPointerException (no error message)", using
* com.android.tools.build:gradle:3.4.0
* compileSdkVersion 28
* targetSdkVersion 28
* minSdkVersion 19
Error Log:
> Task :app:transformClassesAndResourcesWithR8ForRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithR8ForRelease'.
> java.lang.NullPointerException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at