I used the fileprovider to send files to WeChat, and it worked by referring to Erel's sample (just added one line: in.SetComponent("com.tencent.mm/.ui.tools.ShareImgUI")). Later, I gave up on it (as it is not very meaningful for my project, moreover, it is over 4MB...).
Now I want to add this function again, but when I add the fileprovider library, the Logs window displays an error in red.
When I try to compile it, the following error message appears.
What should I do?
Now I want to add this function again, but when I add the fileprovider library, the Logs window displays an error in red.
At this time, there is no any relating to fileprovider's code in my project.Unknown member: initializenewinstance
Current declaration does not match previous one.<br />Previous: {Type=f,Rank=0, RemoteObject=False}<br />Current: {Type=JavaObject,Rank=0, RemoteObject=True}
When I try to compile it, the following error message appears.
I wonder where exactly is the line 27(Dim f As JavaObject)? It's not my code.B4A Version: 13.10
Parsing code. (0.02s)
Java Version: 19
Building folders structure. (0.02s)
Compiling code. Error
Error compiling program.
Error description: Current declaration does not match previous one.
Previous: {Type=f,Rank=0, RemoteObject=False}
Current: {Type=JavaObject,Rank=0, RemoteObject=True}
Error occurred on line: 27
Dim f As JavaObject
What should I do?