assets error


  1. olijf

    olijf Member

    i've been getting the following error:


    invalid resource directory name assets /Money Converter/res line 1 Android AAPT Problem

    when i navigate to the res > assets folder. it says it's empty. odd to me because the problems tab tells me there is the problem.

    thanks for reading, even more thanks if got a solution. if need more info, just let me know.

    Attached Files:


    Advertisement
    :
  2. cr5315

    cr5315 Well-Known Member Developer

    The assets folder doesn't go in res. It goes in the same folder that res is in.
    olijf likes this.
  3. olijf

    olijf Member

    ok but this still didnt help me fixing it yet.
  4. cr5315

    cr5315 Well-Known Member Developer

    Your problem is that R.java isn't building. R.java doesn't build when there's an error in your res folder, which in this case is the presence of assets.
    olijf likes this.
  5. olijf

    olijf Member

    i decided to delete the project completely ( wasn't a big deal, small script and it was a good test for me about how much i knew of rebuilding it). after rebuild the app didn't error anymore.
    - i went deeper into the naming of elements. this might have been the problem, we will never know :D.

    thx for helping :D
Loading...

Share This Page