android studio log cat messages: FATAL EXCEPTION: main
Process: com.example.myapplication, PID: 16998
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.myapplication/com.example.myapplication.DetailsActivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?
	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2427)
	at android.app.Instrumentation.execStartActivity(Instrumentation.java:2005)
	at android.app.Activity.startActivityForResult(Activity.java:5860)
	at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:704)
	at android.app.Activity.startActivityForResult(Activity.java:5818)
	at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:683)
	at android.app.Activity.startActivity(Activity.java:6315)
	at android.app.Activity.startActivity(Activity.java:6282)
	at com.example.myapplication.MainActivity.lambda$onCreate$0$com-example-myapplication-MainActivity(MainActivity.java:37)
	at com.example.myapplication.MainActivity$$ExternalSyntheticLambda0.onItemClick(D8$$SyntheticClass:0)
	at android.widget.AdapterView.performItemClick(AdapterView.java:330)
	at android.widget.AbsListView.performItemClick(AbsListView.java:1271)
	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3284)
	at android.widget.AbsListView.onTouchUp(AbsListView.java:4262)
	at android.widget.AbsListView.onTouchEvent(AbsListView.java:4003)
	at android.view.View.performOnTouchCallback(View.java:16384)
	at android.view.View.dispatchTouchEvent(View.java:16341)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3119)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2792)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806)
	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125)
	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806)
	at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:499)
	at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1955)
	at android.app.Activity.dispatchTouchEvent(Activity.java:4521)
	at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:70)
	at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:457)
	at android.view.View.dispatchPointerEvent(View.java:16666)
	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7658)
	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7425)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6822)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6879)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6845)
	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:7011)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6853)
	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:7068)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6826)
	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6879)
	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6845)
	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6853)
	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6826)
	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9942)
	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9893)
	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9862)
	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:10084)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:295)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:349)
	at android.os.Looper.loopOnce(Looper.java:189)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8628)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Sending signal. PID: 16998 SIG: 9
GIVE ME HOW TO RESOLVE IT