Back to Browse

reference Android NanoHTTPD Server 2024 working , compile java import library into android studio

585 views
Apr 12, 2024
11:11

PERSONAL REF NUM 4112024AND_HTTP_SERVER_QUICK compiling java from source, compiling a jar file, creating a jar file for android, NanoHTTPD android 2024 working, comprehensable webserver for android NanoHttpd, don't for get make sure build.gradle.kts has implementation ( to your imported library )as illustrated ***REQUIRES WSL UBUNTU*** Source to compile from https://github.com/NanoHttpd/nanohttpd/releases/tag/nanohttpd-project-2.3.1 #commands mvn compile jar cf JavaAchive.jar . working code android nanohttpd web server https://pastebin.com/A3YFT5iV *https://github.com/xunilatus/smshttpserver* you will have to compile from the directories as shown Use UBUNTU FOR WINDOWS wsl from market place or wsl --install -d ubuntu C:\Users\xunilatus\Desktop\nanohttpdfolder\core mvn compile from commandline JAR it up jar cf nameOfileUwantItB.jar . (yes you have to type the period) Also you will need to be familiar with accessing websites localhost , or ip 192.168.0.0:8080/index apt install jdk-default apt install maven sudo apt update && sudo apt update -y forward hooks from wsl Ubuntu from C:\users to /mnt/c/Users/xunilatus/Destop 'so; cd /mnt/c/

Download

0 formats

No download links available.

reference Android NanoHTTPD Server 2024 working , compile java import library into android studio | NatokHD