Why does gradle think it's 1970?

37 Views Asked by At

When I execute the following code:

./gradlew clean
./gradlew --profile --offline --rerun-tasks assembleDevelopmentDebug

enter image description here

Is there any way to correct the time and date?

1

There are 1 best solutions below

0
Henning On

Found it. I needed to prepend :app: to the gradle task like this:

./gradlew --profile --offline --rerun-tasks :app:assembleDevelopmentDebug