-
Notifications
You must be signed in to change notification settings - Fork 56
Description
I want to use a newer version of a class that its older version is provided by the built-in library, because it has a new method that the older version doesn't have. I placed the newer version of the class (in jar format) in the lib/deps/ directory, but the compiler failed to compile. The error message said there was no such method to call, so that clearly indicates the compiler is still referring to the older version.
I've found there is two ways to overcome this problem. One is deleting the older version in the lib/appinventor/ directory. Another is directly moving the newer version into the the lib/appinventor/ directory and replacing the older version.
The compilation is successful when using either way above. But when the resulting .aix file is imported and used to build an Android App, and when this app calls the method in question, the same error message appears, saying no such method.
So, the app seems still calling the older version instead of the new one, and my problem is not completely solved. I would like to know if there is a way to override the built-in library during the app building phase too?