java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dmool.anime/com.kuaikan.comic.reader.ui.ComicDetailActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
lidynast opened this issue · comments
lidynast commented
lidynast commented
准确的说是后面那个代码:FastUtil.getRootView(activity)
Aries Hoo²⁰²¹ commented
从你的错误日志来看没看出是指向FastLib的某个类的问题,你是如何确定的?
从你错误日志来看是你requestWindowFeature的调用时机的问题?
你再确认下
lidynast commented
问题我已经解决了,我把Fastlib用module引入方式,然后去掉那句日志打印就可以了
requestWindowFeature这个句代码是我接入一个SDK里面的Activity中使用的,没办法去修改
Aries Hoo²⁰²¹ commented
解决了就好发自我的华为手机-------- 原始邮件 --------发件人: lidynast ***@***.***>日期: 2021年3月24日周三 17:48收件人: AriesHoo/FastLib ***@***.***>抄送: Aries Hoo²⁰²¹ ***@***.***>, State change ***@***.***>主 题: Re: [AriesHoo/FastLib] java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dmool.anime/com.kuaikan.comic.reader.ui.ComicDetailActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content (#78)
问题我已经解决了,我把Fastlib用module引入方式,然后去掉那句日志打印就可以了
requestWindowFeature这个句代码是我接入一个SDK里面的Activity中使用的,没办法去修改
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.