Android Question Compile ADP (date picker) to Library?

B_FISH

Member
Licensed User
Have ADP project with a main module and a class module. Project worked exactly as expected.

Compiled the class module into a library, then started a new project.

Copied all the code from the MAIN module (of the original project) into the new project. Went to the lib tabs and checked my newly created lib.

Tried compile and run and got the following:

Compiling generated Java code. Error
javac 1.7.0_80-ea
src\b4a\example\main.java:311: error: cannot find symbol
public b4a.example.anotherdatepicker _adp = null;
^
symbol: class anotherdatepicker
location: package b4a.example
1 error


I looked in the source of the main module and also the source code for the library itself. I do not see any of the above mentioned references in any of my source code.

Am I missing something simple?

B_FISH
 

B_FISH

Member
Licensed User
BY "added a reference to the new jar file" are you meaning something more than "ticking" the box for the new library on the libs tab?

Also, while I'm asking..... Can a new class that will become a library, use objects that are defined in another class(library)? In other words "nested" classes/libraries?

B_FISH
 
Top