Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Plugin with id 'com.android.application' not found
Forum Update on Monday, May 27th 2025

Plugin with id 'com.android.application' not found

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 1 Posters 797 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    M4cM4rco
    wrote on 16 Dec 2023, 21:25 last edited by
    #1

    Hello everyone,

    I'm currently working on running the Coffee example using Qt for Android Clang x86_64, but I've encountered an issue during the build process. I'm using Qt version 6.6.1 on Windows, and while trying to deploy the project, the build fails with the following error message:

    Generating Android Package
      Input file: <path>/QT/Examples/Qt-6.6.1/demos/build-coffee-Android_Qt_6_6_1_Clang_x86_64-Debug/android-coffee-deployment-settings.json
      Output directory: <path>/QT/Examples/Qt-6.6.1/demos/build-coffee-Android_Qt_6_6_1_Clang_x86_64-Debug/android-build/
      Application binary: coffee
      Android build platform: android-31
      Install to device: No
    Warning: QML import could not be resolved in any of the import paths: Coffee
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Windows
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.macOS
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.iOS
    Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details
    
    
    FAILURE: Build failed with an exception.
    
    * Where:
    Build file <path>\QT\Examples\Qt-6.6.1\demos\build-coffee-Android_Qt_6_6_1_Clang_x86_64-Debug\android-build\build.gradle' line: 17
    
    * What went wrong:
    A problem occurred evaluating root project 'android-build'.
    > Plugin with id 'com.android.application' not found.
    
    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    > Get more help at https://help.gradle.org.
    
    BUILD FAILED in 6s
    Building the android package failed!
      -- For more information, run this command with --verbose.
    22:12:30: Der Prozess "<path>\QT\6.6.1\mingw_64\bin\androiddeployqt.exe" wurde mit dem Rückgabewert 14 beendet.
    Fehler beim Erstellen/Deployment des Projekts coffee (Kit: Android Qt 6.6.1 Clang x86_64)
    Bei der Ausführung von Schritt "Android-APK erstellen"
    

    I have followed the standard procedures for setting up the Android environment in Qt, but it seems like there's an issue with the Gradle plugin configuration. It's not recognizing the 'com.android.application' plugin.

    qtcreator_dVdCWq6hy2.png

    Has anyone encountered a similar issue or can provide insights on what might be going wrong here? Any suggestions on how to resolve this would be greatly appreciated.

    Thanks in advance for your help!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      M4cM4rco
      wrote on 30 Dec 2023, 07:45 last edited by
      #2

      Still not solved. Bump

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved