Hi,
I downloaded Android-nRF-Toolbox and ble library source code from
https://github.com/NordicSemiconductor/Android-nRF-Toolbox
https://github.com/NordicSemiconductor/Android-BLE-Library
Try to build them by Android Studio on Windows 10,
(Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 19, 2022)
At start it shows error the newest gradle version is 7.2.1,
so I modified build.gradle for it to 7.2.1:
classpath 'com.android.tools.build:gradle:7.2.1'
Then I got build error on BatteryLevelView.kt and no idea how to do,
seems something missing? not defined?
...\BatteryLevelView.kt: (36, 30): Unresolved reference: theme ...\BatteryLevelView.kt: (41, 5): Unresolved reference: ScreenSection ...\BatteryLevelView.kt: (42, 9): @Composable invocations can only happen from the context of a @Composable function ...\BatteryLevelView.kt: (43, 13): @Composable invocations can only happen from the context of a @Composable function
Can someone help me to compile the Android-nRF-Toolbox?
Thanks~