tinker icon indicating copy to clipboard operation
tinker copied to clipboard

新增Activity抛出ActivityNotFoundException

Open 670832188 opened this issue 5 years ago • 2 comments

异常类型:app运行时异常

手机型号:小米MIX 2s

手机系统版本:Android 10

tinker版本:1.9.14.6

gradle版本:5.4.1

是否使用热更新SDK: 否

系统:Win7

使用文档说已经支持新增Activity,启动新增Activity时出错。新增Activity在manifest中配置如下:

堆栈/日志: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.cy.ipc.tinkertest/com.cy.ipc.tinkertest.activity.TestActivity}; have you declared this activity in your AndroidManifest.xml?

670832188 avatar Apr 23 '20 08:04 670832188

文档忘记更新了,在 Android 10 上已经无法支持新增 Activity 了。

tys282000 avatar May 10 '20 11:05 tys282000

文档忘记更新了,在 Android 10 上已经无法支持新增 Activity 了。

未来还考虑支持安卓10吗

hhhaiai avatar Oct 18 '22 08:10 hhhaiai