How to Make Money with a Mobile App?

How to Make Money with a Mobile App?

Tiempo de lectura: 2 minutos Reading time: < 1 minute Today I’m going to show you different ways to monetize a mobile app, even by offering your application for free to users. There are several ways to monetize a mobile app, including: Advertising: Advertising is a common way to monetize mobile apps. You can display ads within your app and ... Read more

Structure of an Android Project

Structure of an Android Project

Tiempo de lectura: 3 minutos Reading Time: 3 minutes Hello, today I’m going to explain the structure of an Android project. The structure of an Android project can be a bit complex at first, but once you understand it, it’s easy to follow. In this article, we’ll delve into each part of an Android project and how they work together … Read more

Which framework to use for developing mobile games?

Which framework to use for developing mobile games?

Tiempo de lectura: 3 minutos Reading time: 3 minutes When it comes to developing mobile games, there is a wide range of options available for developers. Some of the most popular frameworks include Unity, Unreal Engine, and Cocos2d. Each of these frameworks has its own advantages and disadvantages, so it’s important to evaluate which is the best option for each … Read more

Adding Firebase PUSH Notifications for Android/iOS Using React Native and Expo

Adding Firebase PUSH Notifications for Android/iOS Using React Native and Expo

Tiempo de lectura: 5 minutos Reading time: 6 minutes Hello, today I’m going to show you how to add PUSH notifications to receive messages in your React Native projects using React Native Firebase Notifications. The first thing to do is to register the app in Firebase: Create a new project and add the iOS and Android APP. In the case … Read more

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Binding has not yet been initialized in Android Studio – Flutter

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Binding has not yet been initialized in Android Studio – Flutter

Tiempo de lectura: < 1 minuto Reading time: < 1 minute Photo by Soumil Kumar from pexels To solve this error while working with Flutter in an Android Studio project, you need to go to the main.dart file. This class is where the application starts with the runApp() method. You simply need to add the following line of code inside the … Read more

ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 98082 > 65536) en Android Studio – Flutter

ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 98082 > 65536) en Android Studio – Flutter

Tiempo de lectura: 2 minutos Reading time: 2 minutes Photo by Marta Branco from Pexels To fix the following error in a Flutter project in Android Studio, follow these steps: Following the path shown below, navigate to build.gradle Once inside, add the following line of code. multiDexEnabled true A few lines below, still inside the build.gradle, within dependencies and below … Read more

Error in getSku when updating Google Play Billing to version 5

Error in getSku when updating Google Play Billing to version 5

Tiempo de lectura: < 1 minuto Reading time: < 1 minute When we update the Google Play Billing library to version 5: com.android.billingclient:billing:5.1.0 We may encounter the following issue: This is because now, to obtain the purchased product code, we no longer call the getSku() function. Instead, when iterating through the list of purchases, we need to call it in the ... Read more

Fixing Error: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. When Generating APK or Executing in Android.

Fixing Error: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. When Generating APK or Executing in Android.

Tiempo de lectura: < 1 minuto Reading time: < 1 minutes If you encounter the following error when generating or running your APK: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. You can solve it by adding the following: First, go to your build.gradle file. Scroll down to the dependencies ... Read more

Fixing INSTALL_PARSE_FAILED_MANIFEST_MALFORMED Error when Upgrading to targetSDKVersion 31 in Android

Fixing INSTALL_PARSE_FAILED_MANIFEST_MALFORMED Error when Upgrading to targetSDKVersion 31 in Android

Tiempo de lectura: < 1 minuto Reading time: < 1 minutes If changing the target version of Android to 31 gives us the following error: Installation did not succeed.The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED Installation failed due to: 'INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl620487180.tmp/base.apk (at Binary XML file line #82): We need to do the following: Go to the AndroidManifest.xml ... Read more

Error when loading an image with svg extension (Flutter-Dart): Failed to detect image file format using the file header – Invalid image data.

Error when loading an image with svg extension (Flutter-Dart): Failed to detect image file format using the file header – Invalid image data.

Tiempo de lectura: 2 minutos Reading time: 2 minutes When trying to display an image with the svg extension, I encountered the following error: @override Widget build(BuildContext context) { return Scaffold( body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Text(“WELCOME to DevCodeLight”), Container( width: 200.0, height: 200.0, child: Image.asset(‘lib/images/android/splahs_android.svg’)), ], ), ), ); } I solved it by adding the … Read more