Author: Andreas Jacob

  • Angular QR Code Generator Component

    Angular QR Code Generator Component

    Update: Latest update supports Angular 20 and standalone components.

    Say hello to my new Angular QR Code module, called angularx-qrcode. It’s not only a drop-in replacement for the no-longer-maintained ng2-qrcode component to generate and display QR Codes, it’s as well heavily optimized for Angular and Ionic.

    angularx-qrcode supports Angulars Ivy compiler and AOT Compilation (Ahead-of-Time Compilation), which results in significant faster rendering. It’s as well available as webpack’ed common.js and es2015-module and open-sourced under the MIT licence.

    (more…)

  • Quick Tip: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

    Quick Tip: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

    If you try to build your ionic/cordova project running with

    cordova build --release android

    and the shell returns the following error

    Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.

    the following worked for me:

    cordova platform remove android
    cordova platform add android
    cordova platform update android@6.2.1
    cordova build --release android

    There is nothing wrong with your gradle installation nor with your Android SDK. It looks like an error specific to cordova 6.2.0 and was fixed in cordova 6.2.1. At the time of writing, cordova installed 6.2.0 instead of version 6.2.1, so you need to manually update.

  • Quick Tip: MySQL Workbench 6.3 (macOS Sierra) hangs on simple queries

    Quick Tip: MySQL Workbench 6.3 (macOS Sierra) hangs on simple queries

    Update: This issue is now fixed in MySQL Workbench 6.3.9

    After upgrading MySQL Workbench 6.2 to 6.3, my Workbench displayed Mac’s spinning wheel of death almost all the time, even with the most simple query:

    SELECT * FROM ecruite.MenuItem;

    The queried table consists of 4 rows with 10 columns each and approx. 10 characters each. So it should be done in no time. Except if you’re using macOS Sierra and MySQL Workbench 6.3 you get the spinning wheel.

    According to a user on SO, it’s a known bug and popped up with the introduction of a new security feature in Sierra: “Gatekeeper Path Randomization“.

    As long as there is no bug-fixed version of MySQL Workbench, here is a workaround until MySQL releases a new version:

    (more…)

  • Flash ESP8266-01 with Arduino Uno

    Flash ESP8266-01 with Arduino Uno

    When I first got introduced to the world of the ESP8266, I had a real hard time to find a way to flash the firmware of the ESP8266-01 with an Arduino Uno. Many existing tutorials took essential information for granted or required additional hardware like a FTDI Serial TTL-232 USB cable, a USB-to-serial converter or a level shifter. Others were written specifically for breakout boards like the NodeMCU, SparkFun Thing or Adafruit Huzzah.

    As I only had an Arduino and a barebone ESP8266-01 at my disposal, neither of these tutorials were viable. Eventually I managed to flash the ESP-01 firmware with pieces of information from Instructables, various blogs and youtube videos.

    That’s why I wrote the missing step-by-step beginner tutorial on how to flash the ESP8266-01 firmware with an Arduino – it only requires an ESP8266, an Arduino, a USB cable and some wires to flash your ESP8266.

    (more…)