OK. Let me ask the question differently:
Options --stacktrace, --debug, etc. are used when debugging in AndroidStudio. But I can’t open my project in AndroidStudio. So right?
How can I find the line in the application with the build error in this case? Especially if the App runs without errors?
have you tried debugging locally like explained in that doc? using expo run:android
this does enable you to open the project in android studio (by running expo prebuild) and you can debug all you need that way and then clear out the files created by prebuild when you’re done. the doc also outlines other approaches to troubleshooting if you’re not comfortable with that, and then how to formulate your question to get help if you still end up stuck.