mirror of
https://github.com/adelphes/android-dev-ext.git
synced 2026-02-06 16:05:07 +00:00
Launch task not waiting for build to finish #52
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @puchm on 2/17/2021
Hi,
I have the problem that when I make changes to my app and restart it, I always need to do it twice. I found that the gradle build actually still runs when the app launches on my phone so what I think is happening is that it launches an old version of the app. When I restart again it has all the recent changes.
Here are my files:
launch.json
tasks.json
Since I am running the task from a different folder than where the gradlew file is in I needed to specify
--project-dirsince it didn't findassembleDebugotherwise. I also changed the paths at all places where it was necessary because of the same reason (I added/app-android).What can I do to only have to restart once?
Also, is there a way to watch for changes and automatically restart the app?
Thank you for your help in advance!
-Moritz