earnest1209
Lurker
I am not able to use the StrictMode.ThreadPolicy library even after
import android.os.StrictMode;
StrictMode.ThreadPolicy policy =new StrictMode.ThreadPolicy().Builder().permitAll().build();
It returns
ThreadPolicy is not public in android.os.StrictMode.ThreadPolicy. Cannot be accessed from outside package.
Anyone encountered similar problem or know the solution?
Thanks in advance!
import android.os.StrictMode;
StrictMode.ThreadPolicy policy =new StrictMode.ThreadPolicy().Builder().permitAll().build();
It returns
ThreadPolicy is not public in android.os.StrictMode.ThreadPolicy. Cannot be accessed from outside package.
Anyone encountered similar problem or know the solution?
Thanks in advance!