Android Question Error: could not create parent directories

Shaun

Member
Licensed User
Longtime User
I have a program that I am writing on my PC. On my laptop, I can access it through a shared folder. When my wife needs my PC, I switch to laptop.

After adding the additional libraries on my laptop and running a program I am working on, I get this error while compiling:

Parsing code. 0.01
Compiling code. 0.92
Compiling layouts code. 0.05
Generating R file. 0.43
Compiling generated Java code. Error
javac 1.7.0_25
src\b4a\example\main.java:136: error: error while writing main.B4AMenuItemsClickListener: could not create parent directories
private class B4AMenuItemsClickListener implements android.view.MenuItem.OnMenuItemClickListener {
^
1 error

It looked like a permissions error, so I gave B4A admin rights, but the error is still there. It is something in the underlying java code. What could be causing this?

The program runs fine on my PC

Thanks!

*On Edit*
I just found this thread on the same error: http://www.b4x.com/android/forum/threads/error-after-update.28196/#content

This error happens sometimes for unknown reasons on network shares. I made a local copy of the program and ran it from there...works fine now.

Thanks
 
Last edited:
Top