The project provides a Android APP command-line development environment based on Linux system.
You can directly write、build、install Android APP without using IDE.
Enter the root directory of an example (for example: HelloAndroid).
If it is the first time to compile, It is recommended to run make tool
to download platform、SDK、build-tools etc(sometimes you should use sudo make tool).
cd ./example/HelloAndroid
make tool
Build the project:
make build
Install the APP:
make program
more:https://www.cnblogs.com/zjutlitao/p/9672376.html
Get all errors and fatals:
adb logcat "*:E"
Use wildcard filter with Android Logcat (Linux only):
adb logcat | grep -i "foo.example." #get all logs related to “foo.example.*” tagname
[01] HelloAndroid: hello world demo
[02] BluetoorhScan: bluetooth scan + surface(canvas) + handler + bundle
[03] FlyGame: surface(canvas) + fly game demo
[04] ListView: ListView DIY demo
[05] GridView: GridView DIY demo
[06] TuyaMeshTest: ble scan(fast scan) + textview
[07] SmartStepCounter: bluetooth scan connect read + line chart
[08] SmartFan: bluetooth scan connect write
[09] BluetoothTelinkOTA: telink ota
[10] BluetoothDemo: 可以编译,功能不行
[11] BT4TEST: ble scan list