Ошибка Proguard для ссылок на неизвестные классы, не удается найти динамически ссылающийся класс и OutOfMemoryError - PullRequest
0 голосов
/ 20 апреля 2020

Я получаю приведенную ниже ошибку от proguard.

  • Как устранить ошибку 'Предупреждение: исключение при обработке задачи java .lang.OutOfMemoryError: Java пространство кучи'
  • Как устранить предупреждение 'Примечание : конфигурация ссылается на неизвестный класс x '
  • Как мне разрешить' Примечание: com.yz: не удается найти динамически ссылающийся класс x '

ошибка:

Note: there were 7 references to unknown classes.
You should check your configuration for typos.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unknownclass)

Note: there were 11 unresolved dynamic references to classes or interfaces.
You should check if you need to specify additional program jars.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dynamicalclass)

Note: you're ignoring all warnings!
Ignoring unused library classes...
Original number of library classes: 4803
Final number of library classes:1654

Warning: Exception while processing task java.lang.OutOfMemoryError: Java heap space
Thread(Tasks limiter_5): destruction

Task :app:transformClassesAndResourcesWithProguardForRelease FAILED
38 actionable tasks: 11 executed, 27 up-to-date

FAILURE: Build failed with an exception.
...