Comments (5)
1 编辑 Open-IM-SDK-Core/Makefile 添加 android 目标
android:
go get golang.org/x/mobile
rm -rf build/ open_im_sdk/t_friend_sdk.go open_im_sdk/t_group_sdk.go open_im_sdk/ws_wrapper/
go mod download golang.org/x/exp
GOARCH=arm64 gomobile bind -v -trimpath -ldflags "-s -w" -target=android ./open_im_sdk/ ./open_im_sdk_callback/
2 编译会生成2个文件: open_im_sdk-sources.jar,open_im_sdk.aar
3 在Open-IM-SDK-Android/blob/main/OpenIM-SDK/lib 放入 open_im_sdk.aar (lib是新建目录)
4 编辑 https://github.com/OpenIMSDK/Open-IM-SDK-Android/blob/main/OpenIM-SDK/build.gradle
1注释掉aar
//implementation 'io.openim:core-sdk:2.3.0@aar'
2使用新编译的aar (Open-IM-SDK-Android/blob/main/OpenIM-SDK/open_im_sdk.aar)
implementation files('libs/open_im_sdk.aar')
from openim-sdk-core.
flutter
编辑:https://github.com/OpenIMSDK/Open-IM-SDK-Flutter/blob/main/android/build.gradle
from openim-sdk-core.
flutter 编辑:https://github.com/OpenIMSDK/Open-IM-SDK-Flutter/blob/main/android/build.gradle
大佬,请问下这个集成到客户端后,如何让其go-sdk-core的日志在android studio的终端中也输出出来。我虽然在使用sdk的时候将日志等级设置了6,但是控制台没有输出其底层sdk打印的日志。可是我看到有其他人问问题的时候能贴出来底层sdk-core的go的日志,请问是否应该对android studio进行相关配置项的设置
from openim-sdk-core.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
from openim-sdk-core.
This issue was closed because it has been stalled for 7 days with no activity.
from openim-sdk-core.
Related Issues (20)
- Bug: deleteMessageFromLocalStorage interfaces have no effect HOT 4
- Bug: After deleting a message and then uninstalling and reinstalling, the conversation disappears from the list, and the message content is also blank HOT 2
- [Other]: build sdk to visionOS HOT 2
- It is OK to run the front-end project locally, but when mounted in the server nginx, the sdk seems to have failed to initialize. HOT 2
- Bug: <Heartbeat not working in Android when application in background> HOT 2
- Bug: <[conversation_msg/message_controller.go:47] GetConversation err {"operationID": "1711373607196", "conversationID": "sg_8107702635", "error": "==> github.com/openimsdk/openim-sdk-core/v3/pkg/db.(*DataBase).GetConversation()@154: GetConversation failed, conversationID: sg_8107702635: record not found"}> HOT 3
- Bug: send file accomplish,but conversation latestMsg not change in wasm(Occasional trigger) HOT 5
- Create a new group. No need to invite friends. You can create an empty group. HOT 2
- [BUG] MarkConversationMessageAsRead failed to set hasReadTime
- [BUG] On the Android side, some accounts are consistently failing when calling the login interface, causing database errors. These accounts were able to log in normally previously. This issue is constantly reproducible on version 3.5.1. HOT 2
- [Other]: use an optimized toolkit HOT 2
- [BUG] When I send a message, the "sending" status never disappears, even though I have already successfully sent the message.
- [BUG] Video call, after the other party hangs up the phone, the app freezes and does not respond. HOT 2
- [BUG] When I update the localex information of a message, the localex of the latest message in the conversation is not updated.
- [typo]: rename to correct filename.
- [Other]: upload failure due to time expiration
- [BUG] About the bug that the number of unread messages cannot be cleared HOT 1
- [FEATURE REQUEST] db incr migrate
- 安卓Demo建群大概率会报错,走OnError 回调。[BUG]
- [Other]: support incremental synchronization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openim-sdk-core.