Android Question B4A SDKManager error

Uitenhage

Member
Licensed User
Longtime User
I am attempting to update the SDK. But the Sdk Manager throws this error: "Error: Error: Could not find or load main class O'Donnell\AppData\Local\Temp\"

I think it is truncating the path C:\Users\Jim O'Donnell\AppData\Local\Temp\

What Can I do?

Thanks,

Jim
 
Upvote 0
Last edited:
Upvote 0
Erel, yes, the ready-to-run sdk does install & let me develop apps but I still cannot update the sdk with the SDKManager.
 
Upvote 0
I tried disabling both of them alone and together but no luck. I can't find anything that seems relevant in the Event logs. Anyone have any ideas of where I should be looking? Any input is appreciated!

Thanks.
 
Upvote 0
The message in post #1 is the text in a messagebox produced by the SDK Manager. The logs are from the B4J execution of the SDK Manager which also produced the messagebox.
 
Upvote 0
I made the change you suggested. The process seems to complete successfully. I have attached the new logfile too.

Code: Copy
Public Sub SetEnvironment(s As Shell)
    Dim PathToTemp As String = File.DirTemp
   
    PathToTemp = "c:\temp"
   
    s.SetEnvironmentVariables(CreateMap("JAVA_HOME": FindJava, _
        "JAVA_OPTS": $"-Djava.io.tmpdir=${PathToTemp}"$ & AdditionalJavaOpts))
End Sub
 

Attachments

Upvote 0
I have used the Ready-To-Run and done manual downloads and copies. B4A compiles working apps butI still cannot use the SDKManager from B4A.
 
Upvote 0

Similar Threads

Replies
2
Views
2K
  • Question Question
Android Question SDKManager error
Replies
2
Views
2K
  • Question Question
Android Question SDKManager update
Replies
1
Views
3K
  • Question Question
Android Question SdkManager Error
Replies
6
Views
4K
Back
Top