How to clear Android application data and restart an App with adb
December 22, 2022How to clear Android application data and restart the Application with adb. adb provides a way to clear the data of an app.
How to clear Android application data and restart the Application with adb. adb provides a way to clear the data of an app.
How to change or replace all occurrences of a word in VSCode with examples. Learn how to search and replace all words in a file or all files in a workspace repository
Learn how to fix React Native app release build failed with lintVitalRelease error in Android Studio.
Learn how to fix adding two numbers concatenating them instead of finding the sum in TypeScript. Learn the cause of this issue and the fix.
Learn how to fix ValueError Too many values to unpack, expected 2 or expected 3 issue in python and the cause for this.
Learn to fix the error import and export may only appear at the top level in a Reactjs project. Learn the cause and different ways to fix it.
Learn how to fix intermediates/compiled_local_resources/debug/out' is not a readable directory error in Flutter, React Native or Android projects.
Flutter error type 'MyApp' is not a subtype of type 'StatelessWidget' in typecast issue solution.
Learn how to fix java.lang.OutOfMemoryError GC overhead limit exceeded error in Android Studio for react native, flutter or Android projects.
Learn how to fix Github CI for Nextjs/ Nodejs/ Gatsbyjs/Reactjs Dependencies lock file is not found error. This error occurs with Github CI.
Learn how to fix the error Gradle error Could not find or load main class org.gradle.wrapper.GradleWrapperMain on React Native, Flutter or Android projects.
Learn how to use 'n' to manage Node.js versions in linux or mac. 'n' is a Node.js version management library and it can be used to switch between different versions of Node.js quickly.
dyld Library not loaded is a common error on Mac. You will face this while working with homebrew packages. Learn how to fix this error in this post.
Undefined reference to 'pow' error is a common error in Linux if you use the pow function and compile it using gcc/g++ compiler. This post will show your how to fix this error.
Flutter error Expected a key while parsing a block mapping is a common error you will face while developing Flutter apps. Learn how to fix this error in this post.
This post shows how to fix NDK is not installed error in React Native or Flutter or Android Kotlin/Java project.
This post shows how to fix if you fail to connect to a different Firebase project from Android studio Assistant window.
How to handle multiple inputs with a single onChangeText handler in React native. This post will show you how to do that in React.js and React native.
Learn how to take screenshot of your phone screen using adb screencap. screencap is a handy tool to take screenshots in Android phone.
VSCode November 2021 edition added a new feature to preview themes from the marketplace before you install. In this post, I will show you how to use the preview theme feature of Visual studio code.
Learn how to enable DevTools in VSCode for Flutter development. If you use VSCode for Flutter and if you don't have the DevTools option, you can follow this guide to learn how to enable it.
Fix for Failed to install CocoaPods dependencies for iOS project, which is required by this template. This error occurs in a fresh React Native project.
There are two ways to change the font size in VSCode. You can change it in the settings or use Cmd or Ctrl key with + or - to change the font size.
Learn how to fix iOS Simulators are not showing in the Android Studio for Flutter. You might not see the iPhone simulators in Android Studio even if you have it installed.
Can we write multiline comments in Python? What is multiline comments and docstrings and what are the differences between them? This post explains all.
Learn to fix the Firebase exception permission denied missing or insufficient permission error. This error is raised for different Firebase products.
Learn to fix the Android Studio error Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly
How to fix INSTALL_FAILED_INSUFFICIENT_STORAGE on Android emulators. Learn to fix this error and the reason for this error on this post.
Learn how to fix the issue JavaScript RangeError Maximum call stack size exceeded, the cause and how to avoid this error in JavaScript.
Learn how to fix 'react-scripts' is not recognized as an internal or external command error. This error occurs normally in a new reactjs project.
Learn how to configure VSCode with Clang/LLVM compiler for C++ on MacOS and how to build and run a C++ program using C++11 or any other version.
Learn how to fix unable to open Windows Security in Windows-11. After upgrading to Windows-11, Windows security doesn't work. Learn how to fix this.
Learn how to fix Importing the numpy C-extensions failed error. This error can happen for many reasons, often due to issues with your setup or how NumPy was installed.
Flutter EdgeInsets class has 5 different constructors. This post will show you these constructors and how to use them.
Learn how to list down all git tags and date-time of each tag. We can print the full date-time or we can print the date.
How to check if a string contains another string in Dart. We can use the contains method to check if a string is in another string or not.
Learn how to check the XCode version and build version in the command line and in XCode
Dart error The argument type String? can't be assigned to the parameter type String because String? is nullable and String is not
Learn how to fix missing return statement error in Java and different examples to understand and fix for this error.
Learn how to show JSON data in a Reactjs component. This example will use a simple React component to show the content of a JSON object.
How to take a screenshot in VSCode with a custom background. We can use VSCode extension codesnap to take screenshot of code inside VSCode.
Learn how to fix the issue Uncaught SyntaxError Unexpected token o in JSON at position 1. This post will show you the reason of this issue and how to fix it.
Fix for TypeError ERR_UNKNOWN_FILE_EXTENSION- Unknown file extension .json in a Nodejs or npm project. This error appears if you try to import a json file in a Nodejs project.
Learn how to solve no podfile found in the project directory in a XCode project. This error comes if you are downloading a new project or trying to add pods to an existing iOS project.
Fail to install gatsby starter because of sharp. Learn how to fix this error appears mostly on a new gatsby starter site.
Learn how to read the version code, version and android product flavor in React Native in JavaScript or TypeScript code.
VSCode extension Peacock can be used to add colored themes to workspaces. It helps you to distinguish while working on multiple projects.
Learn how to install matplotlib in windows, mac or linux.
Cannot add task 'bundleReleaseJsAndAssets_SentryUpload_6' as a task with that name already exists sentry build error fix.
Learn when to use curly braces in JavaScript ES6 imports. This post will give you an overview of named export and default export.
Learn two different ways to find the package.json version in a npm project.
Learn how to fix this error - Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8
Learn how to rotate an image continuously using only css.
Learn how to take backup of a Postgresql database and how to restore that database back.
Learn how to fix React Native sentry build failure with bundleReleaseJsAndAssets_SentryUpload_1 error.
Learn how we can export apks from Android app bundle. You can use it to test apks before uploading the bundle to PlayStore.
Fix for react native Invariant Violation Module AppRegistry is not a registered callable module issue
Learn how to load an image from a local folder in Nextjs. We can use this folder to put all static assets at the root level.
Learn how to find the extension of a file in Nodejs or in a express server.
Different ways to find the git log or commit history for a specific file
Learn how to fix this Typescript error- refers to a value, but is being used as a type here
Solution for “Cannot find module 'autoprefixer'” error while doing tailwindcss setup in a react project
Git issue A git directory for project_name is found locally with remote(s) solution
Optimize png files for your web and mobile projects using this simple tool.
We can combine the themes of react-navigation and react native paper. This post will show you how to do that.
MacOS GCC error cannot open source file '_stdio.h' (dependency of 'stdio.h') error and how to fix it.
Learn how to create an uuid in a react native application. We will use react-native-uuid package to create an uuid in this post.
Watercolor quick study. Lockdown, holiday and the best way to pass the time.
Important adb commands for React-Native/Android development. Learn these adb commands with definition for each.
Learn how to download YouTube videos using python library pytube.
React Native error Each child in a list should have a unique "key" prop error fix.
Clearing out cache is another way if your project is not working. Learn how to clear cache in a react-native project.
How to convert an Evernote note to a markdown file. Use evernote2md to convert enex to md.
How to use material theme to all windows and its title bar in sublime text. Learn how to install a plugin in sublime text.
Learn how to customize your macbook touchbar. It will show you how to add different settings on your touchbar.
How to create Android Emulators in M1 Mac in Android Studio using AVD Manager.
Sublime text provides a package to read words count in markdown files. This post will show you how to download and install this package.
Github personal access token is a new way to connect to Github. This post will show you how to create Github PAT for a system.
Git issue failed to push some refs to remote. Updates were rejected because the tip of your current branch is behind
How to fix _stdio.h No such file or directory in MacOS. This error occurs while compiling a c file using gcc in MacOS.
Learn how to fix xcrun error active developer path Applications/Xcode.app/Contents/Developer doesn't exist error in mac
How to enable hot reloading in an Android Emulator for a react-native project. Using adb shell, we can enable hot reloading.
Git issue fatal: remote origin already exists. Learn how to fix this issue and the cause of this git issue.
Learn how to list down all installed packages via homebrew in MacOS. Listing down all installed packages is easy and using one simple command you can do that.
Learn how to do code syntax highlight in a gatsby site
Learn how to fix SyntaxError Cannot use import statement outside a module in a JavaScript project
Learn how to fix command compileswift failed with a nonzero exit code issue in Xcode
Learn how to fix Couldn't IRGen expression, no additional error in XCode
We can open a folder in VSCode from a terminal using vscode . This post will show you how to do the VSCode configuration.
Learn how to set image size in reactmarkdown. This method is useful if you want to set the image size in a markdown blog post reading by reactmarkdown
Adding a image in react native requires require(). This post will show you how to add a dynamic image in react native app.
Learn how to fix this error : Running scripts is disabled on this system on windows powershell.
Learn how to replace one substring in a dart string. I will show different examples on how to do it.
Android build sync failed with no cached version of com.android.tools.build:gradle available for offline mode. Learn how to solve it
Learn how you can add one external css file in a nextjs project.
Watercolor quick study. I did this on covid19 lockdown. Result of boredom.
Check this opensourced gif/video recorder I am using.
Learn how to allow EditText to accept comma and numbers for softkeyboard in Android
Apple released one new application for Mac to learn swift.
Learn how to restore your lost iCloud folder on Mac
Git issue fatal: refusing to merge unrelated histories and how to resolve it
How to add more than one git account on same computer
Hello World