margret Well-Known Member Licensed User Longtime User Jan 3, 2013 #1 The test libs I have created work fine in the 2.5 beta but will not work with the previous 2.22 version. Are the libs created with 2.5 only forward compatible?
The test libs I have created work fine in the 2.5 beta but will not work with the previous 2.22 version. Are the libs created with 2.5 only forward compatible?
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2013 #2 Up until v2.50 libraries were only made of classes. A Java library cannot expose an activity or service to B4A (it can include an internal one). Libraries that will only include classes should work with previous versions. Upvote 0
Up until v2.50 libraries were only made of classes. A Java library cannot expose an activity or service to B4A (it can include an internal one). Libraries that will only include classes should work with previous versions.
margret Well-Known Member Licensed User Longtime User Jan 3, 2013 #3 This test lib works fine in 2.5 and only includes classes but produces the error below in 2.22: Compiling code. 0.01 Compiling layouts code. 0.00 Generating R file. 0.26 Compiling generated Java code. Error B4A line: 12 db.CreateDataBase(0, \ javac 1.6.0_23 src\b4a\example\main.java:253: cannot access anywheresoftware.b4a.B4AClass.ImplB4AClass class file for anywheresoftware.b4a.B4AClass$ImplB4AClass not found _db._vv1((int)(0),"database1.dat",anywheresoftware.b4a.keywords.Common.File.getDirInternal(),new String[]{"var1","var2","var3"}); ^ 1 error Click to expand... Last edited: Jan 3, 2013 Upvote 0
This test lib works fine in 2.5 and only includes classes but produces the error below in 2.22: Compiling code. 0.01 Compiling layouts code. 0.00 Generating R file. 0.26 Compiling generated Java code. Error B4A line: 12 db.CreateDataBase(0, \ javac 1.6.0_23 src\b4a\example\main.java:253: cannot access anywheresoftware.b4a.B4AClass.ImplB4AClass class file for anywheresoftware.b4a.B4AClass$ImplB4AClass not found _db._vv1((int)(0),"database1.dat",anywheresoftware.b4a.keywords.Common.File.getDirInternal(),new String[]{"var1","var2","var3"}); ^ 1 error Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2013 #4 You are correct. Libraries will only work with v2.50 or higher. Upvote 0