使用 Vuforia 配置 Proguard 时出错

Error in the configuration Proguard using Vuforia

我正在尝试将 Vuforia 置于 proguard 设置中,并且正在显示错误日志:

Warning:com.qualcomm.ar.pl.ODGR7Controller: can't find referenced class com.osterhoutgroup.api.ext.ExtendDisplay

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView$Layout

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView$RenderMode

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView$Layout

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView$RenderMode

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView$Layout

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView$RenderMode

Warning:com.qualcomm.ar.pl.ODGX6Controller: can't find referenced class com.ti.s3d.S3DView

Warning:there were 11 unresolved references to classes or interfaces.

Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.

Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForDebug'.

java.io.IOException: Please correct the above warnings first.

我的混淆器:

#tests

#-keep class com.qualcomm.** { *; }

-keep class com.vuforia.** { *; }

#-keep class com.qualcomm.ar.pl.** { *; }

-keep class com.vuforia.ar.pl.** { *; }

#-dontwarn class com.qualcomm.ar.pl.** { *; }

#-dontwarn class com.vuforia.ar.pl.**

fwiw 我正在使用以下

-keep class com.vuforia.** { *; }
-keep interface com.vuforia.** { *; }

-keep class com.osterhoutgroup.** { *; }
-keep class com.ti.s3d.** { *; }

-dontwarn com.vuforia.ar.**