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
 

Uitenhage

Member
Licensed User
Longtime User
Thanks for the quick response. Here is the log from B4J:
 

Attachments

  • B4J Error Log.txt
    375.4 KB · Views: 160
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Uitenhage

Member
Licensed User
Longtime User
Last edited:
Upvote 0

Uitenhage

Member
Licensed User
Longtime User
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

Uitenhage

Member
Licensed User
Longtime User
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

Uitenhage

Member
Licensed User
Longtime User
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

Uitenhage

Member
Licensed User
Longtime User
I made the change you suggested. The process seems to complete successfully. I have attached the new logfile too.

B4X:
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

  • B4J Error Log - 2.txt
    47.5 KB · Views: 122
Upvote 0

Uitenhage

Member
Licensed User
Longtime User
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

Top