Resolving the Expo Module Gradle Plugin Issue in React Native

Resolving the Expo Module Gradle Plugin Issue in React Native

Tiempo de lectura: < 1 minuto Hoy vamos a aprender a solucionar el error de React Native: Plugin [id: ‘expo-module-gradle-plugin’] was not found in any of the following sources This error occurs because one of the libraries is incompatible with the current version. To solve it, we need to execute: npm install –check You need to update the indicated libraries. DevCodeLightdevcodelight.com

How to debug a React Web in a Mobile Device using Chrome DevTools from a Computer

How to debug a React Web in a Mobile Device using Chrome DevTools from a Computer

Tiempo de lectura: < 1 minuto We will see today how we can debug a web on a mobile using Chrome DevTools from a computer. Note: If you use localhost on mobile it won’t work, use the local IP of your PC. chrome://inspect The Remote Target section should appear and detect your mobile device with Chrome open. Below it will be … Read more

Compression function for compressing images uploaded to the web with React

Compression function for compressing images uploaded to the web with React

Tiempo de lectura: < 1 minuto You will be sharing a function today that helps us compress images we upload to our website using an input. Código: html const compressImage = (img: HTMLImageElement, maxWidth = 1024, quality = 0.7) => { const canvas = document.createElement(‘canvas’); const ctx = canvas.getContext(‘2d’); if (!ctx) return null; const scale = maxWidth / img.width; const width … Read more

How to update an outdated plugin in Flutter.

How to update an outdated plugin in Flutter.

Tiempo de lectura: < 1 minuto This is the day we are going to update FlutterWallpaperManager library that has not been updated to a new version and is not compatible with Android SDK 35. The first thing we do is find it: C:\Users\[your_username]\AppData\Local\Pub\Cache\hosted\pub.dev\[library_name] *Add your username *Add the library name. Add the library folder to your project in: plugins/[library_name] *If the … Read more

Flutter solve multi-dex – cannot find symbol MultiDex.install

Flutter solve multi-dex – cannot find symbol MultiDex.install

Tiempo de lectura: < 1 minuto We are going to learn how to solve the multi-deck problem that can appear in Flutter today. The problem is as follows: Error: Cannot find symbol ‘MultiDex.install(this);’ ^ symbol: variable MultiDex location: class FlutterMultiDexApplication 2 errors FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:app:compileDebugJavaWithJavac’. > Compilation failed; see … Read more

Flutter: Fixing problem [!] Your project requires a newer version of the Kotlin Gradle plugin when generating build or APK.

Flutter: Fixing problem [!] Your project requires a newer version of the Kotlin Gradle plugin when generating build or APK.

Tiempo de lectura: < 1 minuto We will solve today’s problem: │ [!] Your project requires a newer version of the Kotlin Gradle plugin. │ What appears when we want to generate an APK with Flutter and find out that Kotlin is outdated. We need to do the following: Open the file: android/build.gradle And search for this line (or if there’s … Read more

Enable Developer Mode on Windows to Allow Install Flutter or Unknown Applications…

Enable Developer Mode on Windows to Allow Install Flutter or Unknown Applications…

Tiempo de lectura: < 1 minuto This tutorial serves to solve the error: Building with plugins requires symlink support. Please enable Developer Mode in your system settings. Run start ms-settings:developers to open settings. To activate the developer mode (developer) in Windows, we will do the following: Introducing in the terminal: start ms-settings:developers This will open a configuration panel, we can activate … Read more

Solving issue in Expo EAS for generating an iOS build with error code 35

Solving issue in Expo EAS for generating an iOS build with error code 35

Tiempo de lectura: < 1 minuto We are going to learn how to solve the problem today: Authentication with Apple Developer Portal failed! Security returned a non-successful error code: 36 This error occurs when we try to create the build for iOS from Flutter and ask for credentials, which we input correctly but get an error. We need to change the … Read more

Update Flutter Application to Android with SDK 35

Update Flutter Application to Android with SDK 35

Tiempo de lectura: < 1 minuto We will see today how we can update a Flutter app to Android with SDK 35. Edit android/app/build.gradle: android { compileSdkVersion 35 defaultConfig { … minSdkVersion 21 targetSdkVersion 35 } } Verify that you have SDK 35 installed from Android Studio > SDK Manager. After all: flutter clean flutter pub get flutter build apk DevCodeLightdevcodelight.com

How to update your app to API 35 (Android 15) using Android Studio

How to update your app to API 35 (Android 15) using Android Studio

Tiempo de lectura: 2 minutos <pCurrently, Google requests to update SDK 35 so that our apps remain available in the market (do not delete them but hide them), as well as be able to send new updates. Open app/build.gradle or app/build.gradle.kts, and replace these lines: Before: compileSdkVersion 34 defaultConfig { minSdkVersion 21 targetSdkVersion 34 } After: android { compileSdk = … Read more