I want to import NetworkUtils. Following command does not work.
import android.net.NetworkUtils;
Other classes like WifiInfo can be imported.
Somewhere, I found it answered that NetworkUtils was not part of Android SDK and so, an SDK project cannot perform the import.
But is there a way to import android.net.NetworkUtils?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…