[英]java.lang.IllegalStateException: Hilt Activity must be attached to an @AndroidEntryPoint Application Found: class dv.file.transh.app.FileExplorer
The app crashes as soon as it gets installed and throws the weird error above该应用程序在安装后立即崩溃并抛出上面的奇怪错误
enter image description here在此处输入图像描述
and the logcat of the crash和崩溃的日志
Did you declare your Application class in the manifest?您是否在清单中声明了您的申请 class?
<application
android:name=".HiltApplication"
....
/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.