Flutter unity integration not working

This two error occurs in vs code when i’m trying to integrate flutter and unity.
Main thing is according to the error i specify compilesdkversion in build gradle and xrmanifest.androidlib file is also in unity Library, but still show this errors . i’m using 2022.3.3f1 unity version.

  • What went wrong:
    A problem occurred configuring project ‘:unityLibrary’.

com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
And
A problem occurred evaluating project ‘:unityLibrary’.
Project with path ‘xrmanifest.androidlib’ could not be found in project ‘:unity Library’.
please help anyone how to solve this ?