wireapp / wire

:wavy_dash: Overview of the open source code for Wire
https://wire.com
GNU General Public License v3.0
2.42k stars 174 forks source link

[Android App] Failed to Run Wire Android App #407

Closed ysavr closed 9 months ago

ysavr commented 9 months ago

👋 Hello everyone,

i already clone the wire android, i follow the instruction

but i face some error when run ./gradlew build, how to solve this issues, thanks in advance

Screenshot 2024-03-05 at 11 44 13
vitorhugods commented 9 months ago

Hello @ysavr. Which OS are you using to build the app?

We are having some issues with our setup + SQLDelight, but this is the first time I hear it is actually stopping builds. i.e. these are usually logged as error but the build finishes successfully. I can kinda reproduce it on my side when building from a MacOS during the first time, but these don't show in future attempts.

grafik

Could you please check the result of the build as whole?

grafik

We have a very bleeding-edge Kotlin Multiplatform setup with some instability here and there so it isn't always smooth. It used to be way worse. We are in our way to upgrade Kotlin to 1.9.20 and prepare for Kotlin 2.0, which could improve these.


It also appears on my Windows machine when Gradle tries to solve some dependencies from time to time:

Many "errors" if you focus on a piece of Gradle logs in the IDE: grafik

But the overall result is SUCCESSFUL:

grafik

emil-wire commented 9 months ago

Hey @ysavr what's your JDK version and setting in android studio? have you installed the android sdk and ndk?

ysavr commented 9 months ago

i use MacOs to build this repo

this my JDK Version that i used in android studio

Screenshot 2024-03-05 at 16 48 46

this is the ndk version that i install

Screenshot 2024-03-05 at 16 50 02

error when run./gradlew build but successfull build on device

Screenshot 2024-03-05 at 16 57 07
vitorhugods commented 9 months ago

Yeah, so... That is known. It's just an ignorable warning :)

Good that you can reproduce the build locally and run it.

I'll close the issue for now. Have a nice one :)