1. Check out our companion app, Forums for Android! Download from Google Play

assets error

Discussion in 'Application Development' started by olijf, Sep 23, 2012.

  1. olijf

    olijf Member
    Thread Starter
    15

    Sep 23, 2012
    19
    0
    15
    Male
    school
    Rotterdam, Holland
    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
    68

    Jul 23, 2010
    435
    158
    68
    Narnia
    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
    Thread Starter
    15

    Sep 23, 2012
    19
    0
    15
    Male
    school
    Rotterdam, Holland
    ok but this still didnt help me fixing it yet.
     
  4. cr5315

    cr5315 Well-Known Member
    68

    Jul 23, 2010
    435
    158
    68
    Narnia
    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
    Thread Starter
    15

    Sep 23, 2012
    19
    0
    15
    Male
    school
    Rotterdam, Holland
    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
     

Share This Page

Loading...