23 Jul 2020 |
wb9688 | Neither do I think the base system is the issue, as the few differences I mentions shouldn't impact anything. | 12:10:25 |
_hc | I wonder if it could be the gradle version, I forget if gradlew-fdroid uses the version that ./gradlew uses | 12:10:51 |
_hc | it should | 12:10:55 |
wb9688 | _hc: Could I access the VM it'll spin up afterwards to check such things? | 12:11:45 |
wb9688 | As in how would I do that? | 12:11:58 |
wb9688 | Iirc vagrant ssh is a thing? | 12:12:09 |
cdesai | yes | 12:12:39 |
_hc | yes, cd ~/fdroiddata/builder; vagrant ssh | 12:12:49 |
_hc | oops, first vagrant up | 12:12:59 |
_hc | but there isn't a way to keep the state, the VM is always wiped after a build | 12:13:15 |
_hc | add this as the last step in your build recipe sleep 10000 | 12:13:40 |
_hc | or where you want it to pause | 12:13:48 |
_hc | then use vagrant ssh | 12:13:53 |
wb9688 | "build recipe" Where? | 12:14:19 |
_hc | metadata file | 12:14:30 |
| Kelvino (Old) joined the room. | 12:18:22 |
wb9688 | That doesn't allow running some command *after* Gradle if I read https://f-droid.org/en/docs/Build_Metadata_Reference/ correctly, right? | 12:18:42 |
wb9688 | Well, actually that doesn't really matter | 12:21:02 |
wb9688 | The only difference I found is platform-tools and tools version. platforms;android-29 and build-tools;29.0.3 are the same and the Gradle version is also correct. | 12:40:00 |
wb9688 | And when installing the same versions there, it still happens. | 12:55:13 |
wb9688 | I give up. | 12:56:26 |
wb9688 | We'll probably just disable shrinkResources | 12:56:41 |
kitsunyan |
We'll probably just disable shrinkResources
Reasonable :>
| 13:04:06 |
| M86xKC joined the room. | 13:14:31 |
| M86xKC left the room. | 13:14:51 |
| M86xKC joined the room. | 13:15:11 |
_hc | wb9688: I'm guessing the platform-tools version could be responsible. you can override calling gradle with build: IIRC | 13:53:51 |
wb9688 | _hc: No, I did try installing the version I have (plus gradle assembleRelease --rerun-tasks and sha512sum of course) in vagrant ssh | 13:58:26 |
wb9688 | The only thing I didn't try is downloading Android SDK manually with the same commands that I used in my chroot | 14:00:10 |
_hc | that would be valid in a metadata build entry, IMHO | 14:03:26 |