Hi, I am from CHINA.
Now in China , WxPay is very useful. I have had no cashies in my pocket for sevral month.
Even some beggars begging with a paper on which printed their barcode of WxPay.
I want to make the WxPay SDK to be a B4A library; and I use the SLC1.03
and I get a compile error in a source code file , but if I compile it to a B4J library ,it can make the jar file successfully but will get a error when creat the xml file .
use B4A SLC:
Starting step: Compiling Java code.
javac 1.8.0_131
C:\Users\HY01\Desktop\WxPayAPI\src\com\github\wxpay\sdk\src\WXPayRequest.java:99: 错误: 找不到符号(Error: could not find signal)
httpPost.setConfig(requestConfig);
^
符号: 方法"(signal: method)" setConfig(RequestConfig)
位置: 类型为"(position: type of )"HttpPost的变量 "( variable)" httpPost
1 个错误
Error.
use B4J SLC:
Starting step: Compiling Java code.
Completed successfully.
Starting step: Creating jar file.
Completed successfully.
Starting step: Creating XML file.
C:\Users\HY01\Desktop\WxPayAPI\src\com\github\wxpay\sdk\src\IWXPayDomain.java:4: 错误: 编码GBK的不可映射字符(character set is not correct)
would someone help me ?
the SDK used some org.apache.http package.
thanks
Now in China , WxPay is very useful. I have had no cashies in my pocket for sevral month.
Even some beggars begging with a paper on which printed their barcode of WxPay.
I want to make the WxPay SDK to be a B4A library; and I use the SLC1.03
and I get a compile error in a source code file , but if I compile it to a B4J library ,it can make the jar file successfully but will get a error when creat the xml file .
use B4A SLC:
Starting step: Compiling Java code.
javac 1.8.0_131
C:\Users\HY01\Desktop\WxPayAPI\src\com\github\wxpay\sdk\src\WXPayRequest.java:99: 错误: 找不到符号(Error: could not find signal)
httpPost.setConfig(requestConfig);
^
符号: 方法"(signal: method)" setConfig(RequestConfig)
位置: 类型为"(position: type of )"HttpPost的变量 "( variable)" httpPost
1 个错误
Error.
use B4J SLC:
Starting step: Compiling Java code.
Completed successfully.
Starting step: Creating jar file.
Completed successfully.
Starting step: Creating XML file.
C:\Users\HY01\Desktop\WxPayAPI\src\com\github\wxpay\sdk\src\IWXPayDomain.java:4: 错误: 编码GBK的不可映射字符(character set is not correct)
would someone help me ?
the SDK used some org.apache.http package.
thanks