Created
June 22, 2022 12:58
-
-
Save DastanIqbal/c53fb566366b4362e90a23a985bd86c6 to your computer and use it in GitHub Desktop.
Debug app while building app to find the crash cause, mark the breakpoint where it's crashing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./gradlew assembleProdDebug --no-daemon -Dorg.gradle.debug=true -Dkotlin.compiler.execution.strategy="in-process" -Dkotlin.daemon.jvm.options="-agentlib:jdwp=transport=dt_socket\,server=y\,suspend=n\,address=5005" | |
#Android Studio -> Edit Configuration -> Remote Debugging -> Okay | |
# Enable allow parllel run, choose java jdk | |
# press debug or ctrl + D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment