1. Are you ready for the Galaxy S20? Here is everything we know so far!

Adding *Existing* html and js files to the assets folder in Android Studio 2019

Discussion in 'Android Development' started by RewindJAA, Jul 17, 2019.

  1. RewindJAA

    RewindJAA Newbie
    Thread Starter

    I have an existing Android Studio project with an assests folder called www. It presently has an html file in it.

    Outside Android Studio I have moved some other html/javascript files to the www directory on my hard drive using the standard windows file manager.

    How do I get Anrdoid Studio 2019 to recognise those existing files are there?

  2. Best Answer:
    Post #2 by Deleted User, Jul 17, 2019 (1 points)
  3. Deleted User

    Deleted User Guest

    There's a couple of ways you can resynch Android Studio with the underlying filesystem:-

    • File -> Synchronize
    • Ctrl + Alt + Y

    If that doesn't work, try File -> Invalidate Caches, then restart AS.
    RewindJAA likes this.

Share This Page