Validating Purchases on Android App using Python

Tiempo de lectura: 2 minutos We will today learn how to validate in-app purchases using Python and an Android app. This will serve for native Android apps, ionic, kotlin, flutter, react native or any other technology you choose. The first thing to do is create a refresh token and OAuth 2.0 token data. To follow this tutorial, we will continue … Read more

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

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

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

Create Admob App Loading Ad on Android

Create Admob App Loading Ad on Android

Tiempo de lectura: 3 minutos Today we are going to learn how to create an app loading ad with Admob on Android. First, we will implement in our build.gradle: implementation ‘com.google.android.gms:play-services-ads:23.0.0’ Then we need to initialize the ads in our MainActivity: MobileAds.initialize( this, new OnInitializationCompleteListener() { @Override public void onInitializationComplete(InitializationStatus initializationStatus) {} }); And add in the manifest (below </application>) … Read more

Create Admob Interstitial Ad on Android

Create Admob Interstitial Ad on Android

Tiempo de lectura: 2 minutos Today we’re going to learn how to implement an Interstitial ad on Android using Java. First, we’ll implement in our build.gradle: Then, we need to initialize the ads in our MainActivity: And add in the manifest (below </application> ): And also inside : Replace YOUR_ADMOB_APP_ID with your Admob APP ID. Now let’s create our interstitial … Read more

Create rewarded Admob ad on Android

Create rewarded Admob ad on Android

Tiempo de lectura: 2 minutos Today we’re going to learn how to add a rewarded Admob ad on Android using Java. First, we’ll implement in our build.gradle: implementation ‘com.google.android.gms:play-services-ads:23.0.0’ Then we need to initialize the ads in our MainActivity: MobileAds.initialize( this, new OnInitializationCompleteListener() { @Override public void onInitializationComplete(InitializationStatus initializationStatus) {} }); And we add in the manifest (below </application>) <meta-data … Read more