Android Question Can't reback to use the older library

Theera

Well-Known Member
Licensed User
Longtime 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)
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime 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

  • error.png
    error.png
    11.5 KB · Views: 142
  • Myneed.png
    Myneed.png
    24.3 KB · Views: 118
Upvote 0

DonManfred

Expert
Licensed User
Longtime 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
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime 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
 
Upvote 0

Theera

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

Why does it remember the function in library?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime 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)
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User

Attachments

  • MyZipfiles.zip
    8.2 KB · Views: 119
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime 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.
 
Upvote 0

Theera

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