Tag android web server

How to run local server in android

Adding Library We are assuming that you have already created your project. So lets skip that part. We are going add a library. Open your app level build.gradle and add this line: implementation ‘com.nanohttpd:nanohttpd-webserver:+’ and sync it. Start/Stop Server We…