Android Question TouchPanelCreator (Solved)

Shelby

Well-Known Member
Licensed User
Longtime User
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
    197.2 KB · Views: 268

Shelby

Well-Known Member
Licensed User
Longtime User
I don't have a folder: B4X Additional Libraries; my folder is Additional Libraries (within my B4X folder. Perhaps I should rename it.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
You can rename it has you like.
But inside it you must create the other subfolders.
At least:
B4A
B4J
B4X
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
I think that I didn't understood your question.
You have to create that folders structure for the Additional Libraries.
Then you have to copy/save the libraries that you download in the right folder.
The 2 libraries that you need must be inside the B4X subfolder has I show you, because they are Cross Platform Libraries.
In this way you will find them available in both B4A, B4J and B4i.
Here's my structure now; see image
 

Attachments

  • Addnl. Libs Image#2.png
    Addnl. Libs Image#2.png
    78.6 KB · Views: 172
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Move ZoomImageView and SD_XUIScrollView inside the B4X subfolder that you just made.
The other 2 files called only ScrollView2d can be deleted.
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
Now IDE says: missing scrollview2d &

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

Sagenut

Expert
Licensed User
Longtime User
OK, I did that; I wonder if I should adjust my pathway in IDE
Yes.
Your path should be
C:\B4x\Additional Libraries
if I am right.
Then close and reopen B4A
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
These are all the libraries needed to make the project work
allibs.jpg
 
Upvote 0

Shelby

Well-Known Member
Licensed User
Longtime User
Remember you had me delete the scrollview2d and .jar files; maybe I should put them in the B4A subfolder you had me make.
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Check them because one you showed me was looking not correct.
The couple should be made of a JAR and an XML.
 
Upvote 1
Solution

Shelby

Well-Known Member
Licensed User
Longtime User
It seems to be working; plugging in my phone to PC.
First time in 2 weeks it ran properly. I'm clicking the solved button on you last message. I see that it gave you a second solution on hovering over your name. Yay
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Glad that finally you got it to work again, as it looks it was an important DB for you.
 
Upvote 0
Top