Android Question [solved]Error in OkHttpUtils2

ronell

Well-Known Member
Licensed User
Longtime User
i switch from OkHttpUtils2(Version: 2.70) to OkHttpUtils2(Version: 2.82)

is it somehow related to the error when i compile?

B4X:
Compiling generated Java code.    Error
B4A line: 146
Log(\
javac 1.8.0_171
src\ph\app\g8\httpjob.java:303: error: cannot find symbol
__c.LogImpl("93997703","Cannot send files from the assets folder.",0);
   ^
  symbol:   method LogImpl(String,String,int)
  location: variable __c of type Common

this is the code in line 146

B4X:
response = J.GetString.Trim

TIA
 

DonManfred

Expert
Licensed User
Longtime User
Where is the code used?
 
Upvote 0

ronell

Well-Known Member
Licensed User
Longtime User
Where is the code used?


B4X:
Dim jobupdate As HttpJob
    jobupdate.Initialize("",Me)
    jobupdate.Download2(url", Array As String("versioncode",versioncode))
    ProgressDialogShow2("checking updates...",False)
    Wait For (jobupdate) JobDone(j As HttpJob)
       
    ProgressDialogHide
       
    If j.Success Then
       
        Dim response As String
        response = J.GetString.Trim  'this is where the error occurs ( Line: 146 )
        Log("Check version: "&response)
 
Upvote 0

ronell

Well-Known Member
Licensed User
Longtime User
solve! reinstalling b4a latest version resolves the issue , might be some files is corrupted
 
Upvote 0
Top