0.5.0最新版本,API23,第一次修复成功,当再次启动时会报异常
- Dominant language
- C++
- Stars
- 7k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
我是才开始使用0.5,0,写了一个简单的demo,修改了一个主页activity_main的一个TextView显示内容,还有一个Toast提示内容,第一次修改后成功了,提示内容改变了。但是当退出app,再次打开时就会报java.lang.IllegalAccessError: Method 'void android.support.v7.app.AppCompatActivity.onCreate(android.os.Bundle)' is inaccessible to class 'com.example.administrator.andfixdemo.MainActivity_CF',这个异常。我看了下,好像是因为多次修改同一个方法,但是我只做了一次加载啊,换了个版本0.3.1就可以使用。希望能够解决一下这个问题。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported failure with AndFix 0.5.0 on API 23 using the described demo, then compare the same relaunch flow with 0.3.1. Trace the generated MainActivity_CF and the AppCompatActivity.onCreate access error; done means the app can be closed and reopened without the IllegalAccessError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100