Android Question Can't reback to use the older library

Theera

Well-Known Member
Licensed User
Hi all,
if you change the library (i.e. addition a parameter) ,and then you need to return use the old version of the library. You will can't use it. It has error that you miss to add the parameter. How to get rid of this problem.

My Example:
Mylib( a as String ,c as Boolean) => Mylib(a as String ,b as Boolean ,c as Boolean)
I need to return using the older again,but It's error that I miss parameter b

@The process convert library by B4A (Not Java programming)
 

Theera

Well-Known Member
Licensed User
Yes, I do. If I compile by using class,it's perfect,but after I compile by using lib,it still remember the parameter.
 

Attachments

DonManfred

Expert
Licensed User
check whether the xml of your lib is updated to the "old" one (additional libs dir). View in texteditor to look at the definition of your method.

If all fits I WOULD (not suggested) do:
1. Exit ide
2. make backup of .meta file
3. remove meta file
4. start ide with project
5. If all ok. Go on. If not: quit ide, restore old meta and search the problem elsewhere
 

Theera

Well-Known Member
Licensed User
Hi DonManfred,

1. I've delete the library and the project ,and then I copy new libraray and project which I have save before. => Not success
2. I've delete the project and then rewrote new project => Not success
3. I've click Clean Project menu and have delete meta file => Not success
 

Theera

Well-Known Member
Licensed User
The lastest try reinstall new B4A v4.00=> Not success

Why does it remember the function in library?
 

DonManfred

Expert
Licensed User
Why does it remember the function in library?
i´m sure because the definition of your library (xml) still contains these

upload the example you rewrote (project export as zip)
Upload your library.jar and libary.xml here too (whatever the names are)
 

Theera

Well-Known Member
Licensed User
I'm sorry that I forget the other libraries which are used.
You can install them by select at 1.2 ,1.3 and 2.4 in this page.
 

Theera

Well-Known Member
Licensed User
My problem has been solved.
 
Top