Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
openclaw-android-node
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lisa
openclaw-android-node
Commits
e165f2b6
Commit
e165f2b6
authored
Mar 11, 2026
by
Lisa (AI Assistant)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert client.id to deviceId hash, add project log
parent
520814f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
PROJECT_LOG.md
PROJECT_LOG.md
+27
-0
NodeClient.kt
...n/java/com/nexlab/openclaw/node/data/remote/NodeClient.kt
+1
-1
No files found.
PROJECT_LOG.md
0 → 100644
View file @
e165f2b6
# Android Node Project Log
## 2026-03-11
### Issue: Build failing due to corrupted Android SDK
-
The SDK at /opt/android-sdk is corrupted (duplicate platform directories)
-
Cannot clean up without sudo access on the laptop
-
Need to either: (1) have Stefy run cleanup, or (2) find alternative build method
### Error: Client ID format for pairing
-
Original log showed:
`invalid connect params: at /client/id: must be equal to constant`
-
**MISTAKE**
: Changed client.id from device hash to "android-node" constant
-
**CORRECTION**
: Reverted back to using deviceId hash - the constant was WRONG
-
The real issue is likely something else in the connect params
### Code Changes Made
1.
**Hardcoded gateway config**
(temporary for testing):
-
File:
`NodeService.kt`
-
Added fallback config: IP=192.168.11.46, port=18789, token=
<gateway
token
>
-
This is TEMPORARY - should be removed after pairing works
2.
**Client ID**
: Kept as deviceId hash (not constant)
### Next Steps
1.
Need to fix SDK issue to build
2.
Need to debug actual pairing flow error
3.
After pairing works: remove hardcoded config, test on real phone
app/src/main/java/com/nexlab/openclaw/node/data/remote/NodeClient.kt
View file @
e165f2b6
...
@@ -365,7 +365,7 @@ class NodeClient() {
...
@@ -365,7 +365,7 @@ class NodeClient() {
put
(
"minProtocol"
,
3
)
put
(
"minProtocol"
,
3
)
put
(
"maxProtocol"
,
3
)
put
(
"maxProtocol"
,
3
)
put
(
"client"
,
JSONObject
().
apply
{
put
(
"client"
,
JSONObject
().
apply
{
put
(
"id"
,
"android-node"
)
// Must be "android-node" constant
put
(
"id"
,
deviceId
)
// Use device ID as client ID
put
(
"displayName"
,
nodeId
.
ifBlank
{
"Android Node"
})
put
(
"displayName"
,
nodeId
.
ifBlank
{
"Android Node"
})
put
(
"version"
,
"1.0.0"
)
put
(
"version"
,
"1.0.0"
)
put
(
"platform"
,
"android"
)
put
(
"platform"
,
"android"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment