Android Question ERROR: Unable to open class file

maleche

Active Member
Licensed User
Longtime User
Folks,
after updating B4A to 8.30, i am unable to compile a simple program...see attached

and receive the following error:
B4A Version: 8.30
Parsing code. (0.00s)
Compiling code. (0.03s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. Error
ERROR: Unable to open class file gen\b4a\example\R.java: Permission denied

i am using windows 10 ver 1803, i& 16 GB, 64 bit system.
my C: drive is 238 GB (hybrid SSD?)
and my D: drive it 1TB
i have placed "Tools files" in D:Android\ (vice C:Android\), and pointed the Platforms in this directory.

In my Paths Configuration i have the following:
javac.exe is located: C:\Program Files\Java\jdk1.8.0_171\bin\javac.exe
and
android.jar is located: D:\Android\platforms\android-24\android.jar

any suggestions?
thank you all in advanced!
Doyle
 

maleche

Active Member
Licensed User
Longtime User
I should have moved the file to the D: drive before posting the question.
Thank you Erel for your quick response.
I moved the B4A file to the D: drive and it compiled.
You're the best!
 
Upvote 0
Top