Comments (14)
@farmerjohngit WiKi中修复流程第3步中有句话,“并在proguard的配置中apply 第一步保存下来的mappping文件(如果有的话)”,这句话是什么意思,怎么操作
from aceso.
@zlg2338781286
1.NewLoginActivity做了什么改动?检查下宿主工程com/businesshall/activity/NewLoginActivity$4 是否有onClick.(Landroid/view/View;)V方法。
2.google 'proguard apply mapping'
from aceso.
@farmerjohngit 谢谢,跟据你的提示,查到是混淆的问题,applymapping后可以正常编译打包了,但是修复的内容没有体现出来。根据我查看别人的issue,#11,#15。我使用0.0.2版本的aceso,gradle编译失败,Error:Could not download aceso-build.jar (com.mogujie.aceso:aceso-build:0.0.2): No cached version available for offline mode
from aceso.
你开了离线模式: offline mode
from aceso.
你们解决了没有?在修复工程 proguard -applymapping D:\mapping\aceso-mapping.txt不起作用啊?
from aceso.
@xiejinsorry @farmerjohngit 没有解决,尝试了很多次,只要把混淆开起来修改的内容就没提现出来,打包都很正常了。我在demo中把混淆的mainactivity注释掉,在proguard加上-applymapping /Users/apple/Downloads/Aceso-master2/aceso-demo/app/build/intermediates/aceso/aceso-mapping/full/release/aceso-mapping.txt,也没起作用,不知道该怎么破
from aceso.
我的错误就是这个 library class com.ng.mangazone.action.MangaAction depends on program class com.ng.mangazone.action.AdUnitAction
但是 尝试了 proguard -applymapping D:\mapping\aceso-mapping.txt 不起作用,提问 也没人回答 真是伤脑筋
from aceso.
@zlg2338781286 proguard中要apply proguard产出的mapping,位置在build/output/mapping下。不是aceso-mapping.txt
from aceso.
@zlg2338781286 你是怎么做的? 能不能说详细一点? 我是 从 主工程的output 的maping 下面拷贝文件mappint.txt到 D盘
mapping文件夹 然后在 修复工程proguard-project.txt里加上-applymapping D:\mapping\mapping.txt经测试不起作用
from aceso.
@farmerjohngit 你是怎么做的? 能不能说详细一点? 我是 从 主工程的output 的maping 下面拷贝文件mappint.txt到 D盘
mapping文件夹 然后在 修复工程proguard-project.txt里加上-applymapping D:\mapping\mapping.txt经测试不起作用
from aceso.
@farmerjohngit Warning: com.ng.mangazone.activity.MainActivity$2: field 'android.widget.RelativeLayout val$baseLayout' is not being kept as 'a', but remapped t
from aceso.
is not being kept as ..., but remapped ..
这是proguard的warning,你可以去它官网看下。出现这个的原因多半是改了类结构(新增/删除字段、方法或修改方法定义)。
from aceso.
@farmerjohngit * What went wrong:
Execution failed for task ':app:transformClassesWithDexForRelease'.
the method : onDestroy.()V in class : com/ng/mangazone/a/b not found in the aceso-mapping.
sure you aceso-mapping is right and no new method.
from aceso.
新增/修改了方法? 宿主工程的allclass.jar中能找到 onDestroy.()V in class : com/ng/mangazone/a/b 这个方法吗
from aceso.
Related Issues (20)
- 有几个疑问 HOT 1
- patch apk中无patch内容 HOT 4
- mapping.txt这个是自动生成的吗? HOT 5
- 想问下. 这个补丁的生成 HOT 4
- 需要修复的类中代码有使用到抽象报错 HOT 2
- java.lang.ClassNotFoundException: com.android.tools.fd.runtime.AppPatchesLoaderImpl HOT 10
- not support 'com.android.tools.build:gradle:2.3.0' HOT 6
- 第三方aar或者jar包里的方法可以热更新吗 HOT 5
- 什么时候支持gradle2.3.0 HOT 1
- acesoRelease过程报错 HOT 1
- 你们那个fix工程怎么编译成apk呢? HOT 3
- AbstractPatchesLoaderImpl这个类会和Instant Run的冲突 HOT 1
- java.lang.NoSuchMethodError: No direct method <init>(Lme/ele/qichat/utils/v;Ljava/lang/String;Landroid/view/View;)V in class Lme/ele/qichat/utils/v$1; or its super classes (declaration of 'me.ele.qichat.utils.v$1' appears in /data/app/me.ele.qichat-2/base.apk:classes2.dex) HOT 3
- 支持kotlin吗 HOT 1
- 支持kotlin插件kotlin-android-extensions热修复么 HOT 1
- “在Fix工程中切出一个单独的分支”这是什么意思? HOT 1
- 已加载生成 fix.dex HOT 2
- Bug project.applicationVariants.all 找不到all()方法 HOT 1
- 3.0.1 编译JarMerger找不到 HOT 2
- android 8.0.0 修复失败 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aceso.