Okta intgration with java android

Hi,
I have downloaded the below sample project and tried to run it.
GitHub - okta/samples-android: samples-android
I have done all the configurations in the okta dashboard. But when i run the app I get the below error.

invalid_redirect_uri onActivityResult onError Authorization error
AuthorizationException: {“type”:4,“code”:4001,“error”:“invalid_redirect_uri”,“errorDescription”:“No uri registered to handle redirect or multiple applications registered”}
at com.okta.oidc.clients.web.SyncWebAuthClientImpl.signIn(SyncWebAuthClientImpl.java:224)
at com.okta.oidc.clients.web.WebAuthClientImpl.lambda$signIn$3$com-okta-oidc-clients-web-WebAuthClientImpl(WebAuthClientImpl.java:149)
at com.okta.oidc.clients.web.WebAuthClientImpl$$ExternalSyntheticLambda1.run(Unknown Source:6)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

I don’t have any other applications installed with the same redirect url.Can someone please help me to solve this issue?
Thanks in advance.

Can you make sure you’ve added com.okta.example:/callback as a “Sign-in redirect URI” for the Native OIDC app you created within Okta?

yes i have added that.

Did you register the URI scheme?

yes, I did register.