English | 简体中文
A picture takes you through CodeLocator

CodeLocator is a toolset that includes Android SDK and Android Studio plugins. It has the following functions(Support Mac, Windows Only):
![]() |
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|---|
| 抖音 | TikTok | 多闪 | Resso | 西瓜视频 |
![]() |
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|---|
| Helo | 飞书 | 清北网校 | 番茄小说 | 轻颜相机 |
![]() |
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|---|
| 抖音火山版 | 瓜瓜龙 | 剪映 | 番茄畅听 | 幸福里 |
The followings describe how to use CodeLocator:
allprojects {
repositories {
mavenCentral()
}
}
// To integrate the basic capabilities, just add one dependency
dependencies {
implementation "com.bytedance.tools.codelocator:codelocator-core:2.0.0"
}
If you need to integrate code jump capability, you need to integrate Lancet first and add the following dependencies
dependencies {
// If it depends on lancet all, it includes all lancet capabilities
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-all:2.0.0"
// Rely on the corresponding lancet module respectively, including the corresponding jump ability
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-xml:2.0.0"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-activity:2.0.0"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-view:2.0.0"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-toast:2.0.0"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-dialog:2.0.0"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-popup:2.0.0"
}
CodeLocator plug-in is a sidebar plug-in that is displayed on the right side of Android Studio after installation and can be expanded by clicking
The initial state is as follows

The green button is clickable, while the gray button is unavailable currently
Click the Grab button to obtain the status information of the current app. Click the image panel on the left to select the corresponding View, and the state of the button will change according to the currently selected View

For more operations, see the CodeLocator instructions
If you have any questions or suggestions about CodeLocator, please join our Wechat group to communicate with us.

Alternatively, you can send an email to liujian.android@bytedance.com with a detailed description of your problem.
Applications are also welcome~~
Copyright (c) 2021 ByteDance Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
The following components are provided under an Apache 2.0 license.
lancet - For details, https://github.com/eleme/lancet
okhttp - For details, https://github.com/square/okhttp
gson - For details, https://github.com/google/gson
$ claude mcp add CodeLocator \
-- python -m otcore.mcp_server <graph>