'Local server in Android studio
I need to make a local webserver. I´m using this example in git: https://github.com/Foso/JKAndroidWebserver
I put all file in folder assets folder. I´m executing in two ways: First: in a webview to app and Second: in a localhost In the webview the webpage load the css and images no problem but on localhost it cannot load the css and images at all conform In browser.
Can anyone tell me what could be happening? Why can't localhost load the files inside the assets folder where the "index.html" is?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
