- This topic is empty.
-
AuthorPosts
-
January 31, 2024 at 10:20 am #11717
Marie
GuestI have tried many times, but keep getting many type of errors. I saw other issues about it on GitHub but no solution for the problem. I’m using SlickStack with the free PWA plugin from WordPress.org
January 31, 2024 at 10:21 am #11718Lawrence
GuestI’m using: https://www.pwabuilder.com/
January 31, 2024 at 10:21 am #11719Noah
GuestDo you have examples of the errors you are seeing? We need to see what it says…
January 31, 2024 at 10:22 am #11720Kyle
GuestHi, thanks. The errors are different each time. For example
Error: Error generating Android package. Status code: 500 Error: Internal Server Error Details: Error generating app package: invalid json response body at ..... reason: Unexpected token < in JSON at position 0 stack: FetchError: invalid json response body at ..... reason: Unexpected token < in JSON at position 0
same as
https://github.com/pwa-builder/PWABuilder/issues/2219January 31, 2024 at 10:23 am #11722Emily
Guestor
Error generating signed APK:January 31, 2024 at 10:23 am #11723Sophia
GuestI tried many times to generate the package, it never works. Any ideas thanks
January 31, 2024 at 10:25 am #11724Ralph
GuestGuys I have found the solution!!
You should disable the Offline Browsing feature.
Cache visited pages in the browser so visitors can re-access them when offline.
from: /wp-admin/options-reading.php
Make sure that is un-checked and then save it again. And then purge all of your website caches to be sure about that.
Now I could export the package on the first try 😀
January 31, 2024 at 10:25 am #11725Andrea
GuestAwesome, thanks for sharing!
January 31, 2024 at 10:36 am #11728Kevin
GuestI’ve reported this to PWABuilder:
February 1, 2024 at 5:07 am #11748Ruth
Guest💯💯💯
August 23, 2024 at 8:01 am #26246Doris
GuestUnrelated, but if you are getting errors on Google Play about your SDK version being outdated and you need to target version 34, see this:
August 24, 2024 at 7:31 pm #26287Lisa
GuestYou should disable the Offline Browsing feature.
August 2024, this fix still works 🙂
But it took a few minutes to generate and download.
-
AuthorPosts