- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
最近将 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/
https://www.guardsquare.com/en/proguard/manual/optimizations说 class/unboxing/enum Simplifies enum ty
我想使用 ProGuard 重命名变量和函数。我希望生成的类文件在所有方面都与源 jar 相同,除了名称。有没有办法做到这一点? 我尝试使用 dontoptimize 和 dontshrink 无效。
例如,这条规则在 proguard 中意味着什么: -keep class myjava.** {*;} 我理解 {*;} 部分意味着类中的所有成员和方法。但是包名中的 2 个星号是什么意思? 提前致
我有一个即将使用 ProGuard 混淆的库。 “图书馆模式”几乎适用于我的用例,即保留所有公共(public)和 protected 类和类成员几乎没问题。 然而,由于 Java 的可见性要求,一些
在我的 Playstore 中,我注意到去混淆后的代码包含相当多的 在堆栈跟踪中。 (例如 at .onAttach(ProfileLandingFragment.java) )。 有什么用真正意思?
我收到了一封来自 Google 的关于 unsafe implementation of TrustManager 的电子邮件唯一的线索是有问题的代码在 com.b.a.af 类中。显然,这是混淆的名
我读自 http://proguard.sourceforge.net/manual/usage.html关于assumenosideeffects的使用。我的问题涉及以下段落: -assumenos
什么是智能 ProGuard 配置来混淆特定类 com.acme.Algorithm 的私有(private)方法和常量? 我想对此进行混淆,因为它包含一个算法,当意外打开 .jar 时,该算法不应该
最近将 Pushwoosh 库集成到我的 Android 应用程序中。它运作良好。但是在导出为签名应用程序时遇到以下错误。请帮忙。提前致谢。 Proguard returned with error
有没有人有使用ProGuard的经验是否已经有超出类加载时间的应用程序性能测量? 我有一个相当复杂的应用程序,可能需要改进,但为 ProGuard 准备它需要几天时间,所以我想先听听一些意见。 最佳答
当我尝试使用 android studio 3.2 canary 17 构建应用程序包时,我收到以下错误消息。我不知道我所有的 proguard 文件中缺少什么角括号,一切似乎都很好,并且在旧版本的
我遇到了 proguard 的问题,我刚刚配置了 Bugsense 并且使用了它们的配置建议,我在 google 和 stackoverflow 上进行了搜索,通常 ppl 可以在控制台中看到该行或问
我第一次尝试使用 Proguard,我收到此错误,有人可以帮我吗?谢谢 [2014-09-03 11:44:58 - P - Photos] Proguard returned with error
当我收到此错误时,我正在尝试导出启用了 proguard 的 android 应用程序:- Proguard returned with error code 1. See console pro
看起来有两个用于运行 ProGuard 的 SBT 插件。任何人都可以谈谈他们的相对优势和劣势吗?我还没有在网上找到比较。 xsbt-proguard-plugin - https://github.
Proguard 会条纹 kotlin.Unit 独立对象(在 Kotlin 运行时库中),如果您使用此类型,则会导致编译错误。以下规则无助于保留此元素(可能是因为 Unit 不是一个类,它是一个对象
构建 Android 发行版 apk 时,Smack 4.1 的正确 ProGuard 规则是什么? 目前,我正在使用 aSmack github 存储库上 README.asmack 文件中的 aS
尝试使用 Proguard Maven 插件时出现 OutOfMemoryErrors。我尝试通过将 MAVEN_OPTS 环境变量设置为 -Xmx2g 来为 Maven 分配更多内存,但这没有任何区
我有一个 pom.xml 文件如下。当我运行 mvn clean install 时,出现错误 [proguard] Error: Can't read [C:\Program Files\Java\
我已经将支持库从 v22.2.1 更新到 v23.0.0,在构建应用程序后(使用 minifyEnabled true)我有“AppCompat 不支持当前主题功能”异常: 08-23 05:46:1
我是一名优秀的程序员,十分优秀!