Skip to content

Commit 63e6fb6

Browse files
authored
Gradle: Run the clean task before anything else to make sure nothing is "cached". (kivy#2705)
* Gradle: Run the clean task before anything else to make sure nothing is cached. * Reference the PR for the future
1 parent 538266d commit 63e6fb6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,10 @@ def _build_package(self, args, package_type):
11081108
else:
11091109
raise BuildInterruptingException(
11101110
"Unknown build mode {} for apk()".format(args.build_mode))
1111-
output = shprint(gradlew, gradle_task, _tail=20,
1111+
1112+
# WARNING: We should make sure to clean the build directory before building.
1113+
# See PR: kivy/python-for-android#2705
1114+
output = shprint(gradlew, "clean", gradle_task, _tail=20,
11121115
_critical=True, _env=env)
11131116
return output, build_args
11141117

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy