You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello!
I've been using can-utils on my ubuntu-based pc for a while.
I'm trying to use a USB CAN device on my Galaxy tab S7 this time.
It's my first Android, so I'm asking a question because it's difficult to access.
The tablet is rooted, and android studio is installed on the PC.
I installed termux on the tablet and acquired "sudo" , but it seems that additional work is required to use the command "$ sudo ip link set can0 up type can bitrate 500000" that I have been using.
If you look at the CMake Project Generator part, there is a method in Android and Android Studio, but I did not understand.
The way I did it was to download can-utils using termux,
$ mkdir build
$ cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DANDROID_ABI=armeabi-v7a .. && make
I did the above, but it seems to have failed because there is no toolchain.
Where is DCMAKE_TOOLCHAIN_FILE?
I'm not good at English, but thank you for reading.
The text was updated successfully, but these errors were encountered:
hello!
I've been using can-utils on my ubuntu-based pc for a while.
I'm trying to use a USB CAN device on my Galaxy tab S7 this time.
It's my first Android, so I'm asking a question because it's difficult to access.
The tablet is rooted, and android studio is installed on the PC.
I installed termux on the tablet and acquired "sudo" , but it seems that additional work is required to use the command "$ sudo ip link set can0 up type can bitrate 500000" that I have been using.
If you look at the CMake Project Generator part, there is a method in Android and Android Studio, but I did not understand.
The way I did it was to download can-utils using termux,
$ mkdir build
$ cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DANDROID_ABI=armeabi-v7a .. && make
I did the above, but it seems to have failed because there is no toolchain.
Where is DCMAKE_TOOLCHAIN_FILE?
I'm not good at English, but thank you for reading.
The text was updated successfully, but these errors were encountered: