How to run BASH script in my Android?

后端 未结 5 1495

My same BASH script is working in Fedora/CentOS.

But I am testing one Android eee pad transformer. \"e

5条回答
  •  伪装坚强ぢ
    2021-01-31 11:14

    Most Android devices don't have a bash interpreter installed. If you really need to run the script across Linux and Android, you could try using BusyBox but that will require rooting your device (and potentially voiding your warranty). Even then though, I don't know if the ifconfig utility is included in BusyBox.

    I would strongly recommend using the Android SDK to write an app to do whatever your trying to accomplish.

提交回复
热议问题