Android Question Beta 7.8 compile error

tsteward

Well-Known Member
Licensed User
Longtime User
I have obviously done something wrong.
I'm getting a compilation error
ERROR: Unable to open class file gen\lishi\assistand\tony\stewardgmail\com\R.java: Permission denied

I have installed the Beta version and also change to using the inbuilt SDK
Tools - SDK Manager.
2. Download SDK. It will open the browser. You should download sdk-tools-windows.
3. Unzip it in a folder such as C:\Android
4. Set sdkmanager.bat in the SDK manager tool. It will be in: C:\Android\tools\bin\sdkmanager.bat
5. The recommended items will be checked. Click on Install Selected.
6. Yes and No buttons will appear from time to time when you need to accept licenses. Read and accept.
7. Configure the IDE to use the new SDK. Tools - Configure Paths. Set the path to android.jar. It will be:
C:\Android\platforms\android-27\android.jar
 

tsteward

Well-Known Member
Licensed User
Longtime User
B4A Version: 7.80 BETA #1
Parsing code. (0.29s)
Compiling code. (0.55s)
Compiling layouts code. (0.12s)
Organizing libraries. (1.24s)
Generating R file. Error
ERROR: Unable to open class file gen\lishi\assistand\tony\stewardgmail\com\R.java: Permission denied
App is in a dropbox folder on my computer
 
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
That is probably the problem. Try to save it in a different folder.
Saved the app directory to c:\ and now get a new error
B4A Version: 7.80 BETA #2
Parsing code. (0.28s)
Compiling code. (0.43s)
Compiling layouts code. (0.07s)
Organizing libraries. (0.00s)
Generating R file. (0.42s)
Compiling generated Java code. Error
B4A line: 55
Log(Response.GetString(\
javac 1.8.0_92
src\lishi\assistand\tony\stewardgmail\com\httputils2service.java:176: error: cannot access ParseException
anywheresoftware.b4a.keywords.Common.Log(_response.GetString("UTF8"));
^
class file for org.apache.http.ParseException not found
 
Upvote 0
Top