gpt4 book ai didi

android - Proguard - Proguard 返回错误代码 1

转载 作者:行者123 更新时间:2023-11-29 17:44:51 27 4
gpt4 key购买 nike

最近将 Pushwoosh 库集成到我的 Android 应用程序中。它运作良好。但是在导出为签名应用程序时遇到以下错误。请帮忙。提前致谢。

 Proguard returned with error code 1. See console
Warning: com.arellomobile.android.push.MessageAlertReceiver: can't find superclass or interface com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find superclass or interface com.amazon.device.messaging.ADMMessageHandlerBase
Warning: com.arellomobile.android.push.PushAmazonIntentService$MessageAlertReceiver: can't find superclass or interface com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.ADMRegistrar: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.ADMRegistrar: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.ADMRegistrar: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find referenced class com.amazon.device.messaging.ADMMessageHandlerBase
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find referenced method 'android.content.Context getApplicationContext()' in class com.arellomobile.android.push.PushAmazonIntentService
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find referenced class com.amazon.device.messaging.ADMMessageHandlerBase
Warning: com.arellomobile.android.push.PushAmazonIntentService$MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.PushAmazonIntentService$MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
You should check if you need to specify additional program jars.
Warning: there were 17 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars').
Warning: there were 1 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile them and try again.
Alternatively, you may have to specify the option
'-dontskipnonpubliclibraryclassmembers'.
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:321)
at proguard.ProGuard.initialize(ProGuard.java:211)
at proguard.ProGuard.execute(ProGuard.java:86)
at proguard.ProGuard.main(ProGuard.java:492)
Proguard returned with error code 1. See console
proguard.ParseException: Expecting opening '{' at 'public' in line 22 of file 'D:\Android-pjt-build\Dec14\test\proguard-project.txt',
included from argument number 4
at proguard.ConfigurationParser.parseClassSpecificationArguments(ConfigurationParser.java:678)
at proguard.ConfigurationParser.parseKeepClassSpecificationArguments(ConfigurationParser.java:490)
at proguard.ConfigurationParser.parse(ConfigurationParser.java:139)
at proguard.ProGuard.main(ProGuard.java:484)
testProguard returned with error code 1. See console
testproguard.ParseException: Unknown option '-dontskipnonpubliclibraryclassmembers.**' in line 24 of file 'D:\Android-pjt-build\Dec14\test\proguard-project.txt',
test included from argument number 4
test at proguard.ConfigurationParser.parse(ConfigurationParser.java:191)
test at proguard.ProGuard.main(ProGuard.java:484)
Proguard returned with error code 1. See console
Warning: com.arellomobile.android.push.MessageAlertReceiver: can't find superclass or interface com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find superclass or interface com.amazon.device.messaging.ADMMessageHandlerBase
Warning: com.arellomobile.android.push.PushAmazonIntentService$MessageAlertReceiver: can't find superclass or interface com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.ADMRegistrar: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.ADMRegistrar: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.ADMRegistrar: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find referenced class com.amazon.device.messaging.ADMMessageHandlerBase
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find referenced method 'android.content.Context getApplicationContext()' in class com.arellomobile.android.push.PushAmazonIntentService
Warning: com.arellomobile.android.push.PushAmazonIntentService: can't find referenced class com.amazon.device.messaging.ADMMessageHandlerBase
Warning: com.arellomobile.android.push.PushAmazonIntentService$MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.PushAmazonIntentService$MessageAlertReceiver: can't find referenced class com.amazon.device.messaging.ADMMessageReceiver
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
Warning: com.arellomobile.android.push.registrar.PushRegistrarADM: can't find referenced class com.amazon.device.messaging.ADM
You should check if you need to specify additional program jars.
Warning: there were 17 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars').
Warning: there were 1 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile them and try again.
Alternatively, you may have to specify the option
'-dontskipnonpubliclibraryclassmembers'.
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:321)
at proguard.ProGuard.initialize(ProGuard.java:211)
at proguard.ProGuard.execute(ProGuard.java:86)
at proguard.ProGuard.main(ProGuard.java:492)

最佳答案

不要混淆 Pushwoosh 类,以及 com.arellomobile.android.*

关于android - Proguard - Proguard 返回错误代码 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27345966/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com