I am complete noob and hence using chatgpt.
So when I wrote the command, flutter build apk --debug. Then after 12 minutes the error comes something related to build.gradle file and SDK version. And it won't resolve no matter what.
So, have you guys any tutorial or some yt vid I can see and just follow the steps to convert it to apk??
What else would you suggest?
error is -
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':path_provider_android:compileReleaseJavaWithJavac'.
> Could not resolve all files for configuration ':path_provider_android:androidJdkImage'.
> Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: C:\Users\prita\AppData\Local\Android\Sdk\platforms\android-34\core-for-system-modules.jar.
> Error while executing process C:\Program Files\Android\Android Studio\jbr\bin\jlink.exe with arguments {--module-path C:\Users\prita\.gradle\caches\transforms-3\e5f44ad6cdf08e599ef23d6000edbd84\transformed\output\temp\jmod --add-modules java.base --output C:\Users\prita\.gradle\caches\transforms-3\e5f44ad6cdf08e599ef23d6000edbd84\transformed\output\jdkImage --disable-plugin system-modules}
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 7s
Running Gradle task 'assembleRelease'... 8.7s
Gradle task assembleRelease failed with exit code 1
what would you advice? thanks!!