shwenzhang / AndResGuard

proguard resource for Android by wechat team
Apache License 2.0
8.54k stars 1.54k forks source link

resource_mapping_xxx.txt是原始与混淆后代码间的映射吗? #94

Closed JakeWoki closed 8 years ago

JakeWoki commented 8 years ago

图片 看了里面的东西,怎么感觉没有对类,方法和字段名进行混淆呢?@simpleton

simpleton commented 8 years ago

这个repo只是混淆资源。类、方法可以用Proguard。

On Mon, Sep 26, 2016 at 3:03 PM, Jake Woki notifications@github.com wrote:

图片 https://github.com/JakeWoki/android-open-project/blob/master/QQ%E5%9B%BE%E7%89%8720160926145310.png?raw=true 看了里面的东西,怎么感觉没有对类,方法和字段名进行混淆呢?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/94, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYqdUKy3p-o0Msm0xAB-kTpAxdnkpks5qt24ogaJpZM4KGMqX .

JakeWoki commented 8 years ago

@simpleton 能具体说一下是怎么操作的吗?我已经配置好proguard-rules,但是好像没有执行

simpleton commented 8 years ago

具体使用方法可以参照readme。

On Mon, Sep 26, 2016 at 3:14 PM, Jake Woki notifications@github.com wrote:

@simpleton https://github.com/simpleton 能具体说一下是怎么操作的吗?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/94#issuecomment-249495893, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYi7c4PyzFRnYsY7U01boN2xYdu2Aks5qt3DagaJpZM4KGMqX .

JakeWoki commented 8 years ago

readme是eclipse的使用方法吧,as怎么用?

simpleton commented 8 years ago

请再读一遍readme,AndResGuard-example https://github.com/shwenzhang/AndResGuard/tree/master/AndResGuard-example 下有一个简单例子也可以参考。

On Mon, Sep 26, 2016 at 3:28 PM, Jake Woki notifications@github.com wrote:

readme是eclipse的使用方法吧,as怎么用?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shwenzhang/AndResGuard/issues/94#issuecomment-249498132, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbvYrTVWJk3YdFN1e4TNVuyafyZeqabks5qt3QJgaJpZM4KGMqX .

magenchen commented 8 years ago

运行andresguard/resguard的gradle任务,可以得到资源混淆的安装包 命令行可直接运行./gradlew resguard 这句话的意思是可以通过两种方式得到资源混淆的安装包么? image gradle任务 是app中那个tasks>abdresguard>resguard任务么?

simpleton commented 8 years ago

@magenchen 是的。这个task是依赖assembleRelease的,为了改变所有默认task的行为,andresguard就增加了这个task。

simpleton commented 8 years ago

@JakeWoki 是的。我稍后更新下readme,做一些更详细的说明。