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.
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.