Android Question IDE startup log? Error loading my project.

Discussion in 'Android Questions' started by Thraka, Jul 22, 2015.

  1. Thraka

    Thraka Member Licensed User

    I want to try and find out why my project no longer loads after doing a git sync. I just get a generic error that a given key was not in a dictionary.
     
  2. giga

    giga Well-Known Member Licensed User

    Can you give us the exact error? That will help determine the issue.
     
  3. Thraka

    Thraka Member Licensed User

    Error loading file.
    The given key was not present in the dictionary.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Open the B4A file with a text editor and check its content.
     
  5. Thraka

    Thraka Member Licensed User

    It looks fine and when I clone the repo into another directory, it works. When I diff the files on the good file and the bad one, they are the same.

    I figured it out

    The project.b4a.meta file has

    VisibleModules=6,98,99,100,101,102,16,44

    And I'm guessing that some of these modules were removed from the project and the IDE has a problem with that. If I change this line to

    VisibleModules=6

    It loads correctly.
     
    JakeBullet70 likes this.
  6. Erel

    Erel Administrator Staff Member Licensed User

    Note that you can always delete the meta file. It doesn't hold any "important" data.
     
Loading...