juha-h / baresip-studio

baresip library based SIP client for Android
BSD 3-Clause "New" or "Revised" License
274 stars 70 forks source link

build fail #475

Closed xiezhouyan1027 closed 3 months ago

xiezhouyan1027 commented 3 months ago

windows as 2023.3.1 build fail. image

libbaresip-android build in Debian 11,success。

build fail info: FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

BUILD FAILED in 1m 31s 74 actionable tasks: 74 executed

help me, thr

juha-h commented 3 months ago

I just tried by first building libbaresip-android libs (master) then and building baresip-studio (master) on Debian 12, NDK 26.3.11579264, and Android Studio 2023.3.1 Patch 1. I don't know (and don't want to know) anything about Windows.

xiezhouyan1027 commented 3 months ago

Ok, I see. I will compile with debian tomorrow. Thank you, my brother,I wish you all the best

juha-h commented 3 months ago

xie writes:

Ok, I see. I will compile with debian tomorrow. Thank you, my brother,I wish you all the best

Each published baresip version is also automatically build by F-Droid. The last version that F-Droid built was 60.3.0. The build would have failed, if there would be been some issue.

xiezhouyan1027 commented 3 months ago

I want to integrate baresip into my existing project and replace the original pjsip. Thank you.

xiezhouyan1027 commented 3 months ago

I want to integrate baresip into my existing project and replace the original pjsip. Thank you.

xiezhouyan1027 commented 3 months ago

debian 12 build failed too, As with the windows error message。 I built it in strict accordance with your requirements, including system version, ndk version and so on. image

image image

juha-h commented 3 months ago

Sorry, but since I cannot reproduce this issue, I cannot do anything to fix it. Your environment must be somehow different than mine, since the undefined symbol __wrirte_chk does not exist in libbarasip-android libraries nor in my Android Studio app directory. So you need to find a fix on your own.

xiezhouyan1027 commented 3 months ago

Yes, I successfully build apk. I know what went wrong, and I fixed it. image

juha-h commented 3 months ago

xie writes:

Yes, I successfully build apk. I know what went wrong, and I fixed it.

What was it?

xiezhouyan1027 commented 3 months ago

Yes, I learned from the ancient mysterious power of the East that the version of cmake in app/build.gradle should be 3.22.1, not 3.25.1. thank you.