Is that possible to build Smack 4.4.6. without Android SDK?

Dear All,

I have tried to build Smack but i got the following:

user@ubi:~/smack/Smack$ gradle assemble

FAILURE: Build failed with an exception.

* Where:
Build file '/home/user/smack/Smack/build.gradle' line: 766

* What went wrong:
Could not determine the dependencies of task ':smack-android:jar'.
> java.lang.Exception: ANDROID_HOME environment variable is not set

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3s

I use Ubuntu 22.04 LTS with:
openjdk version “1.8.0_362”
OpenJDK Runtime Environment (build 1.8.0_362-8u362-ga-0ubuntu1~22.04-b09)
OpenJDK 64-Bit Server VM (build 25.362-b09, mixed mode)

There is no Android SDK installed. Is that possible to build without the SDK?
Regards,
Attila

No, it is currently not possible without modifications to Smack.

Installing an Android SDK is a small one time effort though.

Thank you for the quick response.

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.