Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Warning] --> javassist.NotFoundException: androidx.fragment.app.FragmentActivity #1053

Open
robin8yeung opened this issue Feb 3, 2023 · 0 comments

Comments

@robin8yeung
Copy link

问题详细描述 Detailed description of the problem

Plugin使用FragmentActivity会导致plugin打包时无法把该Activity替换为PluginFragmentXActivity,提示:
[Warning] --> javassist.NotFoundException: androidx.fragment.app.FragmentActivity

复现问题步骤 Steps to reproduce the problem

  1. 把demo1中的MainActivity改为继承FragmentActivity
  2. 打包demo1
  3. 这导致MainActivity的超类完全没有被替换,最终导致由host打开demo1的MainActivity时R.layout.main索引到错误资源导致崩溃

其它重要信息 Other important information

replugin-host-lib/gradle Version: 3.0.0
rePlugin-plugin-lib/gradle Version: 3.0.0

Android API Version:
Android 手机型号&ROM(Phone model & ROM):

Logcat上下文 Logcat context

[Warning] --> javassist.NotFoundException: androidx.fragment.app.FragmentActivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant