Nov 10, 2011

Compile Error Error generating final archive java.io.FileNotFoundException bin\resources.ap_ does not exist



I got the following error while building my android application in eclipse .

Compile Error: Error generating final archive: java.io.FileNotFoundException: ..\bin\resources.ap_ does not exist


It turned out that this is a common issue and different people have suggested different solutions.
I tried clean , rebuild, creating project again etc. etc. with no success

The solution which worked for me was related to metadata .
I had to delete .metadata in the eclipse's workspace. After that build was successful .

References:
http://stackoverflow.com/questions/4437023/resources-ap-does-not-exist-when-compile-my-android-project
http://stackoverflow.com/questions/4995965/what-is-resources-ap-and-why-does-it-have-a-penchant-for-not-existing



Nov 8, 2011

Access is Denied. Unable to open the service 'Tomcat6'



After installing tomcat (any version) on windows 7 (also in vista i guess) , you will see this error when you restart the system .

Application System Error
Access is Denied.
Unable to open the service 'Tomcat6'

This error is confusing at first because it says "service" . Users will think there is some problem with the tomcat service . But this error is related to the Tomcat Monitor (tomcat6w.exe) and User Account Control (UAC) in windows.

You can fix this issue in 2 ways

1. disable UAC altogether . (not recommended [ i don't have enough knowledge on UAC :-) ] )

2. this is a better approach . in this we are allowing the program to run as administrator always .
    go to /bin . 
    right click on tomcat6w.exe,
    select Properties
    select the Compatibility tab.
    Under Privilege Level, select Run this program as an administrator,
    click OK.

reference : http://technet.microsoft.com/en-us/library/cc709691(WS.10).aspx#BKMK_S2

hope this helps someone.