【问题标题】:Proguard obfuscation keywords for kotlinkotlin 的 Proguard 混淆关键字
【发布时间】:2017-08-21 18:16:16
【问题描述】:

我在 android-java 项目中将这个 keywords 用于 混淆proguard

do
if
for
int
new
try
byte
case
char
else
goto
long
this
void
break
catch
class
const
final
float
short
super
throw
while
double
import
native
public
return
static
switch
throws
boolean
default
extends
finally
package
private
abstract
continue
strictfp
volatile
interface
protected
transient
implements
instanceof
synchronized

但我正在切换到 Kotlin,现在的问题是我应该为 Kotlin 使用哪些关键字?

我找到了this,但我应该全部使用吗?

【问题讨论】:

    标签: android kotlin proguard


    【解决方案1】:

    您误解了 proguard 混淆了什么。 Proguard 在 Java 字节码上运行。给它一个来自 JVM 语言的关键字列表确实对你的混淆没有任何作用。

    【讨论】:

    猜你喜欢
    • 2018-02-16
    • 1970-01-01
    • 1970-01-01
    • 2019-07-20
    • 2013-09-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-19
    相关资源
    最近更新 更多