Shelby Well-Known Member Licensed User Longtime User May 6, 2022 #1 I installed a new hard drive, downloaded a new B4A 11.50 program, made sure the pathways are correct, and so on. My project will now not compile with the error message: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: touchpanelcreator Are you missing a library reference? Error occurred on line: 38 (XUIScrollView) Dim tpc As TouchPanelCreator I can't find any touchpanelcreator in my code, so where is it? Attachments SS2021B4X.zip SS2021B4X.zip 197.2 KB · Views: 752
I installed a new hard drive, downloaded a new B4A 11.50 program, made sure the pathways are correct, and so on. My project will now not compile with the error message: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: touchpanelcreator Are you missing a library reference? Error occurred on line: 38 (XUIScrollView) Dim tpc As TouchPanelCreator I can't find any touchpanelcreator in my code, so where is it?
Solution Sagenut May 9, 2022 Check them because one you showed me was looking not correct. The couple should be made of a JAR and an XML.
Check them because one you showed me was looking not correct. The couple should be made of a JAR and an XML.
Sagenut Expert Licensed User Longtime User May 6, 2022 #2 I am not in front of pc so I can't test your project. The error looks to refer to an external library (XuiScrollView). Did you point correctly the path to Additional library? Is that library flagged? Maybe need to download it again if it was a third party library. Upvote 0
I am not in front of pc so I can't test your project. The error looks to refer to an external library (XuiScrollView). Did you point correctly the path to Additional library? Is that library flagged? Maybe need to download it again if it was a third party library.
Shelby Well-Known Member Licensed User Longtime User May 6, 2022 #3 Yeah, I thought about that but I usually find unknown libraries hard to find. I'll put in some time on that. Thanks Nut Upvote 0
Yeah, I thought about that but I usually find unknown libraries hard to find. I'll put in some time on that. Thanks Nut
Sagenut Expert Licensed User Longtime User May 6, 2022 #4 Could be this one? Xuiscrollview 2d Did you tried just to flag XuiViews? Upvote 0
Shelby Well-Known Member Licensed User Longtime User May 6, 2022 #5 Yes, XUI views is activated in my libraries tab I don't have an XUIscrollView in my libraries tab.. I'm looking for one Here: https://www.b4x.com/android/documentation.html there is not one listed. Upvote 0
Yes, XUI views is activated in my libraries tab I don't have an XUIscrollView in my libraries tab.. I'm looking for one Here: https://www.b4x.com/android/documentation.html there is not one listed.
Sagenut Expert Licensed User Longtime User May 6, 2022 #6 Did you checked the link that I suggested you? Upvote 0
Shelby Well-Known Member Licensed User Longtime User May 6, 2022 #7 Forgot, I'll check it...... Oh yeah, I loaded, unzipped and put it in my additional libraries earlier (from Informatix) It brings up the scrollview 2D in the libraries manager tab Now I'll upload the library from Star-dust and try it It's called SD_XUIscrollview2d but it won't appear in my libraries tab. I put it in my files folder for this project, and put it into my Additional libraries folder. Now I'm trying Star-Dust's sample projects to see if the library (after I placed it in the files folder) will appear in the Libs Manager tab. So far it hasn't. Last edited: May 6, 2022 Upvote 0
Forgot, I'll check it...... Oh yeah, I loaded, unzipped and put it in my additional libraries earlier (from Informatix) It brings up the scrollview 2D in the libraries manager tab Now I'll upload the library from Star-dust and try it It's called SD_XUIscrollview2d but it won't appear in my libraries tab. I put it in my files folder for this project, and put it into my Additional libraries folder. Now I'm trying Star-Dust's sample projects to see if the library (after I placed it in the files folder) will appear in the Libs Manager tab. So far it hasn't.
Shelby Well-Known Member Licensed User Longtime User May 6, 2022 #8 Have to leave now; I'll check in later or in the morning. Thanks again Sagenut Upvote 0
klaus Expert Licensed User Longtime User May 7, 2022 #9 Are you sure that the code you posted in post #1 is the correct one ? I do not get the error you mention. First, you need the ScrollView2D library, which you must copy into your AdditionalLibraries folder. There were some errors in your code. Attached a working project. Attachments SS2021B4X_New.zip SS2021B4X_New.zip 196.9 KB · Views: 596 Upvote 0
Are you sure that the code you posted in post #1 is the correct one ? I do not get the error you mention. First, you need the ScrollView2D library, which you must copy into your AdditionalLibraries folder. There were some errors in your code. Attached a working project.
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #10 klaus said: Are you sure that the code you posted in post #1 is the correct one ? Click to expand... Yes, I took it from my project IDE with the export function. The Scrollview2d and the SD_XUIScrollView2D are in the Addnl. Libs. Folder Thanks With your project, I still get the following: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: scrollview2d Are you missing a library reference? Error occurred on line: 64 (xTableLite) Private SV2 As ScrollView2D Since my hard drive crashed and I installed a new one, do I need some item to be replaced? How about the Haxm in the AVD manager; how about the SDK Manager buttons saying download SDK; perhaps I should click that button although I think I have have the SDK-11.0.1 in C:\Android>tools>libs>or bin Last edited: May 7, 2022 Upvote 0
klaus said: Are you sure that the code you posted in post #1 is the correct one ? Click to expand... Yes, I took it from my project IDE with the export function. The Scrollview2d and the SD_XUIScrollView2D are in the Addnl. Libs. Folder Thanks With your project, I still get the following: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: scrollview2d Are you missing a library reference? Error occurred on line: 64 (xTableLite) Private SV2 As ScrollView2D Since my hard drive crashed and I installed a new one, do I need some item to be replaced? How about the Haxm in the AVD manager; how about the SDK Manager buttons saying download SDK; perhaps I should click that button although I think I have have the SDK-11.0.1 in C:\Android>tools>libs>or bin
Sagenut Expert Licensed User Longtime User May 7, 2022 #11 Shelby said: I put it in my files folder for this project, and put it into my Additional libraries folder. Now I'm trying Star-Dust's sample projects to see if the library (after I placed it in the files folder) will appear in the Libs Manager tab. So far it hasn't. Click to expand... You should put it just in the Additional Libraries folder. No need to put it into your project files folder. Upvote 0
Shelby said: I put it in my files folder for this project, and put it into my Additional libraries folder. Now I'm trying Star-Dust's sample projects to see if the library (after I placed it in the files folder) will appear in the Libs Manager tab. So far it hasn't. Click to expand... You should put it just in the Additional Libraries folder. No need to put it into your project files folder.
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #12 Sagenut said: You should put it just in the Additional Libraries folder. No need to put it into your project files folder. Click to expand... Thanks Sage, I'll take it out although I don't know if that generates the error. Whoops, the project that Klaus just sent doesn't have the SD_xuiscrollview 2D and the scrollview2D in the files folder; only the addnl. Libs. folder. I'll try downloading the Haxm if no one objects in the next few mins. Last edited: May 7, 2022 Upvote 0
Sagenut said: You should put it just in the Additional Libraries folder. No need to put it into your project files folder. Click to expand... Thanks Sage, I'll take it out although I don't know if that generates the error. Whoops, the project that Klaus just sent doesn't have the SD_xuiscrollview 2D and the scrollview2D in the files folder; only the addnl. Libs. folder. I'll try downloading the Haxm if no one objects in the next few mins.
Star-Dust Expert Licensed User Longtime User May 7, 2022 #13 You need to download the ViewsEx library to solve this problem Upvote 0
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #14 Star-Dust said: You need to download the ViewsEx library to solve this problem Click to expand... Thanks Star, I just checked and that ViewsEx library is in my project's libraries tab; I activated it. Now I'll restart the project. Unfortunately, this again: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: scrollview2d Are you missing a library reference? Error occurred on line: 64 (xTableLite) Private SV2 As ScrollView2D Upvote 0
Star-Dust said: You need to download the ViewsEx library to solve this problem Click to expand... Thanks Star, I just checked and that ViewsEx library is in my project's libraries tab; I activated it. Now I'll restart the project. Unfortunately, this again: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: scrollview2d Are you missing a library reference? Error occurred on line: 64 (xTableLite) Private SV2 As ScrollView2D
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #15 Uh-oh, Looks like I need to download the command lines tools to Android>tools>bin etcetera. I'll try that. Forget that, they already seem to be in the Android Folder on C:\; maybe I should download them all over since I brought that folder over from the old hard drive I think. ? I moved the folder over to the new hard drive with an external hard drive. Last edited: May 7, 2022 Upvote 0
Uh-oh, Looks like I need to download the command lines tools to Android>tools>bin etcetera. I'll try that. Forget that, they already seem to be in the Android Folder on C:\; maybe I should download them all over since I brought that folder over from the old hard drive I think. ? I moved the folder over to the new hard drive with an external hard drive.
klaus Expert Licensed User Longtime User May 7, 2022 #16 Shelby said: Error description: Unknown type: scrollview2d Click to expand... As already said in post #9, you need the ScrollView2D library. In the link above, download project. There, you have two files ScrollView2D.jar and ScrollView2D.xml. Save these two files in the AdditionalLibraries folder not in the project folder. The project I posted in post #9 works. Upvote 0
Shelby said: Error description: Unknown type: scrollview2d Click to expand... As already said in post #9, you need the ScrollView2D library. In the link above, download project. There, you have two files ScrollView2D.jar and ScrollView2D.xml. Save these two files in the AdditionalLibraries folder not in the project folder. The project I posted in post #9 works.
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #17 klaus said: As already said in post #9, you need the ScrollView2D library. In the link above, download project. There, you have two files ScrollView2D.jar and ScrollView2D.xml Click to expand... Those are already in the Addnl. Libs. folder. I've run both your project and my project from post #1. Still: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: scrollview2d Are you missing a library reference? Error occurred on line: 64 (xTableLite) Private SV2 As ScrollView2D Upvote 0
klaus said: As already said in post #9, you need the ScrollView2D library. In the link above, download project. There, you have two files ScrollView2D.jar and ScrollView2D.xml Click to expand... Those are already in the Addnl. Libs. folder. I've run both your project and my project from post #1. Still: B4A Version: 11.50 Parsing code. Error Error parsing program. Error description: Unknown type: scrollview2d Are you missing a library reference? Error occurred on line: 64 (xTableLite) Private SV2 As ScrollView2D
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #18 In the designer I get Missing required field: Default Value Class: xTableLite Upvote 0
Sagenut Expert Licensed User Longtime User May 7, 2022 #19 Shelby said: Uh-oh, Looks like I need to download the command lines tools to Android>tools>bin etcetera. I'll try that. Forget that, they already seem to be in the Android Folder on C:\; maybe I should download them all over since I brought that folder over from the old hard drive I think. ? I moved the folder over to the new hard drive with an external hard drive. Click to expand... Yes, absolutely download a complete new Android SDK (made of 2 parts, SDK and Resources) using the links supplied in B4A Installation guide. Upvote 0
Shelby said: Uh-oh, Looks like I need to download the command lines tools to Android>tools>bin etcetera. I'll try that. Forget that, they already seem to be in the Android Folder on C:\; maybe I should download them all over since I brought that folder over from the old hard drive I think. ? I moved the folder over to the new hard drive with an external hard drive. Click to expand... Yes, absolutely download a complete new Android SDK (made of 2 parts, SDK and Resources) using the links supplied in B4A Installation guide.
Shelby Well-Known Member Licensed User Longtime User May 7, 2022 #20 Sagenut said: Yes, absolutely download a complete new Android SDK (made of 2 parts, SDK and Resources) using the links supplied in B4A Installation guide. Click to expand... Thanks, I'll try that now. ....... It didn't help so far. I renamed old folder to OldAndroid and unzipped the commandlinetools.zip and the resources_06_21 into the new Android folder. Last edited: May 7, 2022 Upvote 0
Sagenut said: Yes, absolutely download a complete new Android SDK (made of 2 parts, SDK and Resources) using the links supplied in B4A Installation guide. Click to expand... Thanks, I'll try that now. ....... It didn't help so far. I renamed old folder to OldAndroid and unzipped the commandlinetools.zip and the resources_06_21 into the new Android folder.