Welcome!
Replace http lib (and httputils) with
okHTTP
From what you posted i an not see your code.
But i guess you are using one older Example which is using httputils lib maybe.
With Android 6 the old http has been discarded. To get this work on android 6+ you need to use the new okhttp (and okhttputils) lib.
You also can Export your project as zip from within the IDE (File->Export as zip) and upload this zip here.
Seeing your code is easier to help then just an error.
But in this case you can fix it using another lib.