error when trying to build apk using VS Code w/ Flutter for mobile app
"Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Running Gradle task 'assembleRelease'... 204.7s
Gradle build failed to produce an .apk file. It's likely that this file was generated under C:\Users[I hid this part], but the tool couldn't find it."
2 Replies
you might want to provided more information about your setup, what you tried to do, why you think it failed, what you tried to fix it...
you can check https://discord.com/channels/436251713830125568/1355871422639112322 for pointer on how to make your answer easier for people to answer.
and people note that most people here only do web development, so it's very much possible that no-one here can help you with your issue. You might want to try to find a community more focussed on flutter / java / android stuff to increase your chances at an answer
Reading comprehension is key when trying to debug. So your first step should be to do what the error message says and "Recompile with -Xlint:deprecation for details." So whatever command you typed to try to compile add
-Xlint:deprecation
to find out what's wrong.