S SoftHeart Member Mar 23, 2021 #1 Hello coding friends, i have downloaded multiple pdf viewing libraries on this forum together with their example b4a projects only to find that all are not working and they display the same error. The error says B4A could not find a file named Android-pdf-viewer.aar. Anyone to help me fix this? Here is a screenshot of the error.
Hello coding friends, i have downloaded multiple pdf viewing libraries on this forum together with their example b4a projects only to find that all are not working and they display the same error. The error says B4A could not find a file named Android-pdf-viewer.aar. Anyone to help me fix this? Here is a screenshot of the error.
Erel B4X founder Staff member Licensed User Longtime User Mar 23, 2021 #2 Post the link to the library thread. Upvote 0
S SoftHeart Member Mar 24, 2021 #3 Here is the link https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/ Upvote 0
DonManfred Expert Licensed User Longtime User Mar 24, 2021 #4 Where did you copy the additional AAR to? Which path did you define in Tools-Configure paths for the "Additional Libs" Folder? Upvote 0
Where did you copy the additional AAR to? Which path did you define in Tools-Configure paths for the "Additional Libs" Folder?
S SoftHeart Member Mar 24, 2021 #5 Where did you copy the additional AAR to? Click to expand... I copied all the files in the zip to my b4a Additional libraries folder. Which path did you define in Tools-Configure paths for the "Additional Libs" Folder? Click to expand... C:\B4X\AdditionalLibraries Upvote 0
Where did you copy the additional AAR to? Click to expand... I copied all the files in the zip to my b4a Additional libraries folder. Which path did you define in Tools-Configure paths for the "Additional Libs" Folder? Click to expand... C:\B4X\AdditionalLibraries
makis_best Well-Known Member Licensed User Longtime User Mar 24, 2021 #6 Have you try jetify the library? From menu Tools --> Jetifier Have you try to copy the files in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries instead C:\B4X\AdditionalLibraries Upvote 0
Have you try jetify the library? From menu Tools --> Jetifier Have you try to copy the files in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries instead C:\B4X\AdditionalLibraries
DonManfred Expert Licensed User Longtime User Mar 24, 2021 #7 makis_best said: Have you try to copy the files in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries Click to expand... 100% the WRONG solution Upvote 0
makis_best said: Have you try to copy the files in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries Click to expand... 100% the WRONG solution
makis_best Well-Known Member Licensed User Longtime User Mar 24, 2021 #8 DonManfred said: 100% the WRONG solution Click to expand... I agree. Just an easy way to find out if security restrictions exist in C:\B4X\AdditionalLibraries Upvote 0
DonManfred said: 100% the WRONG solution Click to expand... I agree. Just an easy way to find out if security restrictions exist in C:\B4X\AdditionalLibraries
S SoftHeart Member Mar 24, 2021 #9 Have you try to copy the files in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries instead C:\B4X\AdditionalLibraries Click to expand... I tried, still not working. Have you try jetify the library? From menu Tools --> Jetifier Click to expand... This is my first time to open the Jetifier feature of the IDE and I don't know what it does. Anyway i didn't see PDFfium on it's list as well. Here is a screenshot of how it appeared. Upvote 0
Have you try to copy the files in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries instead C:\B4X\AdditionalLibraries Click to expand... I tried, still not working. Have you try jetify the library? From menu Tools --> Jetifier Click to expand... This is my first time to open the Jetifier feature of the IDE and I don't know what it does. Anyway i didn't see PDFfium on it's list as well. Here is a screenshot of how it appeared.
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2021 #10 This means that the file, android-pdf-viewer.aar is not in the additional libraries folder. Upvote 0
S SoftHeart Member Mar 24, 2021 #11 Erel said: This means that the file, android-pdf-viewer.aar is not in the additional libraries folder. Click to expand... Where do i download it? Upvote 0
Erel said: This means that the file, android-pdf-viewer.aar is not in the additional libraries folder. Click to expand... Where do i download it?
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2021 #12 Took me exactly 2 minutes to find it: https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/ Upvote 0
Took me exactly 2 minutes to find it: https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/
J jmorales Member Licensed User Longtime User May 28, 2021 #13 Hi ! I'm having the same problem. I'm secure android-pdf-viewer.aar is in the additional libraries folder The latest release of b4a(v10.7), java, android sdk Command line tools and required resources (from here https://www.b4x.com/b4a.html) Using the v1.04 and the example project from https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/ Already use the jetifier tool. I just don't know that else to do ? Last edited: May 28, 2021 Upvote 0
Hi ! I'm having the same problem. I'm secure android-pdf-viewer.aar is in the additional libraries folder The latest release of b4a(v10.7), java, android sdk Command line tools and required resources (from here https://www.b4x.com/b4a.html) Using the v1.04 and the example project from https://www.b4x.com/android/forum/threads/pdfium-pdfview2.102756/ Already use the jetifier tool. I just don't know that else to do ?
DonManfred Expert Licensed User Longtime User May 28, 2021 #14 here Attachments android-pdf-viewer.zip android-pdf-viewer.zip 70.9 KB · Views: 877 Upvote 0
J jmorales Member Licensed User Longtime User May 29, 2021 #15 ? thanks a lot, with add it to my additional libraries it works perfect ? Upvote 0