Hi there 👋

Senior Software Engineer with 8+ years of experience. 📱

  • Built 20+ apps, with one having 650k monthly users: Quran App
  • Expertise in:
    • Android (Java & Kotlin)
    • Flutter (Dart) 🚀
    • Frontend (Reactjs) & Backend (Node.js, Golang) 🛠️
  • Authored 📚:
  • Writings ✒️: Medium
  • Video: Youtube
  • Keen on AI 🤖, especially speech-to-text and face detection.
  • Passionate about product development 🚀, data analysis 📊, and leadership 🎖️.

Developer's Guide: Avoiding Common Mistakes and Following Best Practices

Technical 1. Naming Conventions Your function and variable names should be descriptive and self-explanatory. This enhances code readability and helps other developers understand your logic more quickly. Functions should be command or queries but not both 1 # Good namingdef calculate_total_price(cart_items): ...# Bad namingdef calculate(tp): ... 2. Handling Function Output Avoid output arguments, using return values instead. This helps keep functions predictable and easy to understand. javascriptCopy code 1 // Good return usagefunction calculateSum(a, b) { return a + b;}// Bad output argument usagefunction calculateSum(a, b, sum) { sum = a + b;} 3....

September 11, 2023 8 min

Solutions to Flutter error: Gradle task assembleDebug failed with exit code 1

For creating an apk for Android in Flutter this issue sometimes happens. I had the luck of facing this issue as well. Here are the few ways it can be solved: Due to androidX If you followed recommended route from here: https://flutter.dev/docs/development/packages-and-plugins/androidx-compatibility Try this: Check with steps in “not recommended” way in above tutorial if every listed files is same as in your project, especially : inroot/android/gradle/wrapper/gradle-wrapper.properties setdistributionUrl=https\://services.gradle.org/distributions/gradle-7.10.0-all.zip in root/android/build....