• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Application File does not exist / Reset Database?

New Here ,
Jan 30, 2017 Jan 30, 2017

Copy link to clipboard

Copied

I have a program called mBlock from Github. It compiled just fine as an actionscript project in FlashBuilder for the past week. Then, to do some debugging, I deleted the project (removed all project files) and made a new actionscript project with the same name (started over).

Now I get a very strange warning, and the project will not run or export. The warning is:

Application file src\mBlock.as does not exist.

This is very strange because I can see in the package explorer that mBlock.as is right there... I can even open up and edit mBlock.as ... It most certainly is there.

Any idea why Flash Builder suddenly thinks that mBlock.as doesn't exist. Even when it is right there in the package explorer and can open in the editor?

-- Edit --

After a few more close and open, the project opens up but in a blank window. The main src\mBlock.as file still cannot be found (even though right there !!!). Even I make some changes to the  mBlock-app.xml file that I KNOW should cause errors, but the errors don't come up. Just always "src\mBlock.as does not exist."

I think that the database has become corrupted . Probably because I deleted a project incorrectly. When I deleted the old project mBlock there was an error that the project could not be entirely deleted, so I just went into the username\flash builder folder and deleted the mBlock directory.  Then made a new project with the same name. Yeah, probably the database is corrupted.

So I deleted the entire username \ flashbuilder directory and restarted flashbuilder. It reconstructed the username \ flashbuilder directory. But still same error as above.

If I want to ENTIRELY clear flashbuilder to a new install fresh state, what all do I need to clear? Anything more than the username \ flashbuilder directory? I am on a 60 day trial so don't really want to delete and reinstall the program. That probably wouldn't really clear all residual files anyway.

Thank you, please help, any help with above error, or help to completely restart a database.

Thanks,

Andrew

Views

733

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Feb 01, 2017 Feb 01, 2017

Thank you Arsh, that is great information to know.

I finally found the reasons for my errors. It was silly.

I was naming the project at mBlock with a little m. But the main class was actually MBlock with a capital M. So I guess it is very important to name the project exactly like the main class . Anyway, that cleared up my errors,

Thank you,

Andrew

Votes

Translate

Translate
New Here ,
Jan 31, 2017 Jan 31, 2017

Copy link to clipboard

Copied

The project opens as a blank window because lets say you created a new project with the name 'Project' then when u copied/pasted the src folder of mblock in this project. then go to, Default Package --> Right click on MBlock.as and set as default application.

as initially when u created the project, the Project.as file was set as default application which is basically empty.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 01, 2017 Feb 01, 2017

Copy link to clipboard

Copied

LATEST

Thank you Arsh, that is great information to know.

I finally found the reasons for my errors. It was silly.

I was naming the project at mBlock with a little m. But the main class was actually MBlock with a capital M. So I guess it is very important to name the project exactly like the main class . Anyway, that cleared up my errors,

Thank you,

Andrew

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines