Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Indexing also runs indefinitely here with Android studio 3.3 and a project that contains a NDK library (native engine + game). Previous versions, for instance 3.2.1, worked fine. Still occurs after clearing the caches and deleting the .idea folder. On a desktop with 32 GB of RAM it's not running out of memory but it indexes forever, pegging an entire CPU and disk access to 100%, and it never stops. The same thing occurs with gradle 4.6 or 4.10. If I enable the experimental scan active configuration only setting, everything is basically broken - no syntax highlighting, cpp files don't show. Waiting to see if there's a workaround before reverting to 3.2.1 and being much more cautious about updating in the future ..
Description
Warn developers when
Lifecycle.repeatOnLifecycle
is not used properly.They should definitely NOT be used in the
onStart
,onResume
View callbacks. In Activities, this API should be used in theonCreate
.onViewCreated
in the case of Fragments.