while make apk expo throwing two issues which cause build failed

for apk i am doing
eas build -p android --profile preview

:robot: Android build failed:
Gradle build failed with unknown error. See logs for the “Run gradlew” () phase for more information.

expo logs two issues found
1 - Could not set unknown property ‘classifier’ for task ‘:expo-constants:androidSourcesJar’ of type org.gradle.api.tasks.bundling.Jar.

2 - compileSdkVersion is not specified. Please add it to build.gradle

can anyone help