Je suis confronté à un problème de proguard.
Attention: jp.co.opto.opnsdk.BluetoothService: ne peut pas trouver référencé classe jp.co.opto.opnsdk.R string $ Avertissement: jp.co.opto.opnsdk.BluetoothService: peut 't trouver référencé class jp.co.opto.opnsdk.R Avertissement: jp.co.opto.opnsdk.Command: ne peut pas trouver la référence de la classe jp.co.opto.opnsdk.R $ string Attention: jp. co.opto.opnsdk.Command: ne peut pas trouver référencé classe jp.co.opto.opnsdk.R
Voici ce que j'ai essayé sans résultat. Je crois que le problème est le R. Comment référencer les ressources pour garder ou ne pas avertir?
-dontwarn jp.co.opto.opnsdk.**
-dontwarn jp.co.opto.opnsdk.BluetoothService.**
-dontwarn jp.co.opto.opnsdk.BluetoothServiceState.**
-dontwarn jp.co.opto.opnsdk.Command.**
-dontwarn jp.co.opto.opnsdk.Opn2002BluetoothService.**
-keep class jp.co.opto.opnsdk.** { *; }
-keep class jp.co.opto.opnsdk.BluetoothService.** { *; }
-keep class jp.co.opto.opnsdk.BluetoothServiceState.** { *; }
-keep class jp.co.opto.opnsdk.Command.** { *; }
-keep class jp.co.opto.opnsdk.Opn2002BluetoothService.** { *; }