Reputation: 3
I have a problem in my android studio(macosx) :
in InetAddress.java
some import have problem
import sun.net.util.IPAddressUtil;
import android.system.GaiException;
import android.system.StructAddrinfo;
import libcore.io.Libcore;
editor says
cannot resolve symbol IPAddressUtil
Upvotes: 0
Views: 541
Reputation: 8284
I think those classes are not in Android SDK (IpAddressUtil, Libcore). Also, it is discouraged to use classes from sun.*
package in your programs.
Upvotes: 1