Showing posts with label Errors. Show all posts
Showing posts with label Errors. Show all posts

Sketchware: Adding Dependencies or Local Libraries

Sketchware is a powerful platform for Android app development, but sometimes you need to enhance its capabilities by adding external libraries. This guide will walk you through the process of adding dependencies or local libraries to your Sketchware project.
Step 1: Navigate to Maven Repository
Go to Maven Repository using your preferred web browser.Utilize the search bar to find the library you need.
Step 2: Access the Repository
Click on the library you've chosen to view its details.
Step 3: Check the Latest Version
Identify and note the latest version of the library.
Step 4: Open Sketchware and Add the Library
Open your Sketchware project.Access the "Library" section and click on "Add Local Library."

Step 5: Download the Library
Paste the dependency information using the format: Url:name:version Example: com.unity3d.ads:unity-ads:4.9.0Click on "Download" and choose either DX or D8 (D8 is recommended).

Step 6: Start the Download
Click on "Start" to initiate the download process.

Step 7: Locate the Downloaded Library
Once downloaded, find the library in your project files. It will be named as name_version.
Step 8: Confirm the Library Integration
Click on the check mark icon (✅) to confirm the successful addition of the library.

Step 9: You're Done!
Congratulations! You have successfully added a library to your Sketchware project. Now you can harness the additional features and functionalities provided by the external library in your app development journey. Happy coding!

How to Fix "We're Sorry, A Server Error Occurred While Reading From Storage. Error Code Not_Found" Error in Google Apps Script

 Google Apps Script is a powerful scripting language that enables users to automate various tasks within the Google Suite of applications, including Google Sheets, Docs, and Forms. However, like any other programming language, it's not uncommon to encounter errors when working with Google Apps Script.


One common error that you may encounter is the "We're sorry, a server error occurred while reading from storage. Error code: not_found." This error message can be frustrating, as it doesn't provide much information on which library is causing the issue.


In this blog post, we'll discuss what causes this error and provide a step-by-step guide on how to fix it.


Understanding the "We're Sorry, A Server Error Occurred While Reading From Storage. Error Code Not_Found" Error:


The "We're sorry, a server error occurred while reading from storage. Error code: not_found" error message typically appears when a Google Apps Script is trying to access a library that has been deleted or no longer exists. It can also occur when a script is trying to use a library version that is no longer available.


To determine which library is causing the issue, follow the steps below:


Open the script editor for the script that's producing the error.

Click on the "Resources" menu and select "Libraries.

A list of libraries being used in the script will appear. The library causing the error will be marked with an error icon.

Once you've identified the problematic library, you can follow the steps below to fix the issue.


How to Fix the "We're Sorry, A Server Error Occurred While Reading From Storage. Error Code Not_Found" Error:


To fix the "We're sorry, a server error occurred while reading from storage. Error code: not_found" error in Google Apps Script, you'll need to change the library version from the header to the deployed version and then redeploy the library.


Follow the steps below to resolve the error:

Step -1: Go to the project and check libraries.

Step-2: Go to that library from the account in which have access.


Step-3: Check libraries in that project.


Step-4: Check the version and change it from header to deployed project.


Step-5: Deploy new version as library.


Step-6: Select latest version of library in main project in which getting error.


Step-7: Run code error should be solved.




Test the script to ensure the error is resolved.

Conclusion:


Encountering errors when working with Google Apps Script can be frustrating, but with the right solutions, these errors can be easily resolved. The "We're sorry, a server error occurred while reading from storage. Error code: not_found" error is a common error that can occur when a script is trying to access a deleted or non-existent library or an outdated library version. By following the steps outlined in this blog post, you can easily fix this error and continue working on your Google Apps Script project.