Posts

Your build is currently configured to use incompatible Java 21.0.3 and Gradle 8.2.1. Cannot sync the project.

Image
  Facing issues with Gradle and Java compatibility in Android Studio?  ðŸš¨ In my latest video, I walk you through a common error that many Android developers encounter: "Your build is currently configured to use incompatible Java 21.0.3 and Gradle 8.2.1. Cannot sync the project." I’ll show you how to fix the incompatibility issue by configuring  Java 17  for  Gradle 8.2.1 , ensuring smooth synchronization for your Android project. 🔧  Step-by-step solution: Identifying the problem Correctly configuring Java 17 for Gradle Syncing your Android project without errors This is an essential fix for any Android developer working with Gradle and Java. If you’re stuck with this error, this tutorial is for you! 📺  Watch the full tutorial here :

To set up an Angular project with SonarQube and SonarLint in a Bitbucket pipeline on macOS

Image
  1. Install SonarQube and SonarLint SonarQube: Download and Install SonarQube : Download SonarQube from SonarQube Downloads . Extract the files and run the following commands in your terminal: brew install sonarqube sonarqube start              or             sudo /opt/sonarqube/bin/macosx-universal-64/sonar.sh console Java should be -  export JAVA_HOME=$(/usr/libexec/java_home -v 22.0.2) SonarQube should be accessible at http://localhost:9000 . SonarLint (for IDE integration): For VS Code : Install the SonarLint extension from the VS Code marketplace. For JetBrains IDE (like IntelliJ, WebStorm) : Install SonarLint from the JetBrains plugin marketplace. 2. Set Up SonarQube on Your Project Install the SonarScanner : The SonarScanner is used to analyze the code and send the results to SonarQube. Install SonarScanner globally using Homebrew: bash Copy code brew install sonar-scanner Configure sonar-proj...

Custom plugin create in ionic 7 with Capacitor in Mac

  How to Create a Custom Capacitor Plugin and Add it to an Ionic 7 Project In this tutorial, we will go through the steps required to set up an Ionic project with Capacitor, configure it for iOS, and ensure your project is properly synced. 1. Set Up Your Environment Install Node.js and Required Tools Use Node.js version 18.20.5: nvm use v18.20.5 Install the Ionic CLI: npm install -g @ionic/cli@7.2.0 2. Create an Ionic 7 App Create a new Ionic app: ionic start AppName --type=angular Serve the app in your browser: ionic serve To add Capacitor functionality and the Android/iOS platform: Add Android platform (optional): ionic cordova platform add android Add iOS platform (optional): ionic cordova platform add ios Install Capacitor: npm install @capacitor/core @capacitor/cli Initialize Capacitor: npx cap init AppName com.example.app [error]  Cannot run  init  for a project using a non-JSON configuration file.        ...

Flow Coordinator in Swift for iOS App Development

Hello guys!,      Today, we’re going to dive into an exciting topic:                 Flow Coordinator in Swift and how it can simplify navigation in your iOS app development. If you’ve ever felt that your view controllers are overloaded with navigation logic, this is the perfect solution for you. Let’s break it down step by step and see how this pattern can make your app more organized, testable, and scalable. Ready? Let’s get started! 🚀

SonarQube with Bitbucket Pipeline for iOS App in Mac OS

 Integrating SonarQube or SonarCloud with an iOS project in a Bitbucket repository using pipelines involves several steps. Here’s a detailed guide: 1. Set up SonarQube/SonarCloud SonarQube : Install and configure a SonarQube server (if not using a hosted solution). Create a new project in SonarQube. Generate a project key and token for authentication. SonarCloud : Log in to SonarCloud using your Bitbucket account. Create a new project, selecting the Bitbucket repository. Generate a project key and token. 2. Configure the iOS Project Install Sonar Scanner : Use Homebrew to install the scanner: bash Copy code brew install sonar-scanner Verify the installation: bash Copy code sonar-scanner --version Generate SonarQube Configuration File ( sonar-project.properties ) : Place this file in the root directory of your iOS project. Example configuration: properties Copy code sonar.projectKey=your_project_key sonar.organization=your_organization_key (if using SonarCloud) sonar.host.url=htt...

Configuring Burp Suite with Genymotion Emulator or Android Emulator for HTTPS Interception

In this guide, we'll walk through the steps required to set up Burp Suite Community Edition for intercepting HTTPS traffic from a Genymotion emulator or Android emulator. This setup is essential for analyzing and testing mobile applications for security vulnerabilities.  Here’s the corrected and well-structured blog content based on your input: --- ### **Prerequisite Software:** Before we begin, install the following software: 1. **Burp Suite Community Edition**      Download it from the official site:      [Burp Suite Community Edition](https://portswigger.net/burp/communitydownload) 2. **Genymotion or Android Emulator**      You can choose either of the emulators based on your preference. 3. **OpenSSL**      Download OpenSSL binaries:      [OpenSSL Binaries](https://wiki.openssl.org/index.php/Binaries) --- ### **Step-by-Step Guide:** #### **Step 1: Download Burp Suite Certificate**...

Setting Up Jenkins for Flutter App on macOS

Image
Introduction: In this blog post, we will walk through the process of setting up Jenkins on macOS to automate the building and testing of your Flutter applications. Jenkins is a popular open-source automation tool that helps to integrate and automate various stages of your Flutter app's development lifecycle. Way 1: Pipeline Flow For setting up Jenkins with a pipeline flow, you can refer to the following Stack Overflow discussion to resolve issues like "Flutter not found":  Flutter Jenkins Flutter not found issue https://stackoverflow.com/questions/75422046/flutter-jenkins-flutter-not-found-issue Step 1: Install Jenkins on macOS First, we need to install Homebrew if you don't have it already. Open your terminal and run the following command: /bin/bash -c " $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) " After Homebrew is installed, run the following command to install Jenkins: brew install jenkins-lts Include Screenshot: I...