tuya / tuya-home-android-sdk-sample-kotlin

This sample is designed to help developers learn more about how to use the features of Tuya Smart Life App SDK for Android.
https://developer.tuya.com/en/docs/app-development/android-app-sdk/featureoverview?id=Ka69nt97vtsfu
MIT License
32 stars 25 forks source link

Build faild after clone code #39

Closed DongPhamBK closed 6 months ago

DongPhamBK commented 6 months ago

After I clone code (5.11.0 (#38) - newest commit) and build file apk, it is fail! Help me!

FAILURE: Build completed with 11 failures.

1: Task failed with an exception.

==============================================================================

2: Task failed with an exception.

==============================================================================

Required by: project :app > project :sweeper Cause 2: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.thingclips.smart:thingsmart-camera-sdk:4.9.0-rc.7. Searched in the following locations:

==============================================================================

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/8.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4s 137 actionable tasks: 11 executed, 126 up-to-date

BJCHAN commented 6 months ago

Replace IPC SDK dependency version: "com.thingclips.smart:thingsmart-ipcsdk:5.11.0"

MRwangqi commented 6 months ago

@DongPhamBK It has been fixed and can be pulled from the project again.

DongPhamBK commented 6 months ago

Thank you for your support!