Android Question HttpUtils2Server cannot compile

ktlua

Member
Licensed User
I try to re-build the sample program HttpUtils2Service.bas.

My steps are:
1. I create a new program and call it HttpUtils
2. I copy HttpJob.bas and HttpUtils2Service.bas to the root directory of my project HttpUtils
3. I add HttpJob.bas and HttpUtils2Service.bas with Project>Add Existing Module.
4. I copy the codes from the sample program to my new program under Main
5. I add all the necessary lib like okHttp, OKHttpUtils2, JavaObject, StringUtils.
6. I compile. The error is
Error description: Array expected.
job1.download("https://www.google.com")
Word

This is very strange to me. Compiling the original program, I have no problem at all. Why I should have this problem when I try to re-build and compile it. Am I making some mistakes some where?

Kindly help.
 

ktlua

Member
Licensed User
See you other post (just include the two libs, not the modules). It is always helpful if you copy the complete log/error message using code-tags.
The screen shot is attached.
 

Attachments

  • ErrorMessage.zip
    395.3 KB · Views: 135
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…