Is there any error message when that happens?
No. The progress bar of the compiler window freezes and the last line reports "Copy libraries resources", then the program B4A become "Not responding" and there is no way to close it. Also killing the process with task manager doesn't work (I'm running B4A under WinXP/AMD Phenom 9550/4GB ram). After the crash the only way to close B4A is to turn off the PC...
I noted that the crash problems arises only with my last program that uses a custom library (an USB driver created from a Java source). I made some different tests just using the option compile (without signing) and:
- If I run the compiler with no other programs running, it works
- If I run the compiler with Eclipse and other programs like Firefox running, it works
- If I run the compiler with the virtual device started, it crashes. Then if I run another instance of B4A trying to compile a different program it works but if I try to compile the program that caused the crash on the first b4A instance, the compiler warns that the file temp.ap_ cannot be accessed because it is in use by another process (and in this case the compiler doesn't crash).