alibaba / alibaba/freeline

Direct method count off: 15 vs 16

Open
#593 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.4k
Forks
620
PR merge metrics
No merged PRs in 30d

Description

java.lang.IncompatibleClassChangeError: Structural change of com.xxx.xxx is hazardous (/data/app/com.xxx.xxx-1/oat/arm/base.odex at compile time, /data/user/0/com.xxx.xxx/cache/temp/opt/86a1cac5b4192c5f3d21af84ded67e3e/merged.dex at runtime): Direct method count off: 15 vs 16。
某个页面修改,用freeline编译,进入到该页面直接奔溃。这个一般会是什么原因?
我环境是:
macOS 10.12.2
Android 2.2.3
freelien 0.8.4
真机Android 7.0.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the crash after modifying a page and compiling with Freeline 0.8.4 on the reported Android 7.0 device. Compare the structural-change error involving base.odex and merged.dex, then determine the cause and document a reproducible fix or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.