Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtAndroidTools Build Failed



  • Hello, I want build android application with QT. I find this library for Admob Android

    https://github.com/FalsinSoft/QtAndroidTools

    my pro file

    ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
    
    DEFINES += \
        QTAT_ADMOB_BANNER \
        QTAT_ADMOB_INTERSTITIAL \
        QTAT_ADMOB_REWARDED_VIDEO
    
    include(QtAndroidTools/QtAndroidTools.pri)
    

    main.cpp

    #include <QGuiApplication>
    #include <QQmlApplicationEngine>
    #include <QtAndroidTools.h>
    
    int main(int argc, char *argv[])
    {
        QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    
        QGuiApplication app(argc, argv);
    
        QtAndroidTools::InitializeQmlTools();
    
        QQmlApplicationEngine engine;
        const QUrl url(QStringLiteral("qrc:/main.qml"));
        QObject::connect(&engine, &QQmlApplicationEngine::objectCreated,
                         &app, [url](QObject *obj, const QUrl &objUrl) {
            if (!obj && url == objUrl)
                QCoreApplication::exit(-1);
        }, Qt::QueuedConnection);
        engine.load(url);
    
        return app.exec();
    }
    
    

    Compile output

    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Fusion.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Imagine.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Material.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Controls.Universal.impl
    
    > Configure project :
    WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
    It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
    
    > Task :preBuild UP-TO-DATE
    > Task :preDebugBuild UP-TO-DATE
    > Task :compileDebugAidl UP-TO-DATE
    > Task :compileDebugRenderscript UP-TO-DATE
    > Task :generateDebugBuildConfig UP-TO-DATE
    > Task :javaPreCompileDebug UP-TO-DATE
    > Task :mainApkListPersistenceDebug UP-TO-DATE
    > Task :generateDebugResValues UP-TO-DATE
    > Task :generateDebugResources UP-TO-DATE
    > Task :mergeDebugResources UP-TO-DATE
    > Task :createDebugCompatibleScreenManifests UP-TO-DATE
    > Task :extractDeepLinksDebug UP-TO-DATE
    > Task :processDebugManifest UP-TO-DATE
    > Task :processDebugResources UP-TO-DATE
    
    > Task :compileDebugJavaWithJavac FAILED
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:39: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignIn;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:40: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:41: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInClient;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:42: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:43: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInStatusCodes;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:45: error: cannot find symbol
    import com.google.android.gms.common.SignInButton;
                                        ^
      symbol:   class SignInButton
      location: package com.google.android.gms.common
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:48: error: package com.google.android.gms.tasks does not exist
    import com.google.android.gms.tasks.OnCompleteListener;
                                       ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:49: error: package com.google.android.gms.tasks does not exist
    import com.google.android.gms.tasks.Task;
                                       ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:58: error: cannot find symbol
        private GoogleSignInClient mGoogleSignInClient = null;
                ^
      symbol:   class GoogleSignInClient
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:65: error: cannot find symbol
        private GoogleSignInClient getSignInClient(String ScopeName)
                ^
      symbol:   class GoogleSignInClient
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:173: error: cannot find symbol
        private boolean loadSignedInAccountInfo(final GoogleSignInAccount SignedInAccount)
                                                      ^
      symbol:   class GoogleSignInAccount
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:236: error: cannot find symbol
        private class SignInAccountListener implements OnCompleteListener<GoogleSignInAccount>
                                                       ^
      symbol:   class OnCompleteListener
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:236: error: cannot find symbol
        private class SignInAccountListener implements OnCompleteListener<GoogleSignInAccount>
                                                                          ^
      symbol:   class GoogleSignInAccount
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:239: error: cannot find symbol
            public void onComplete(@NonNull Task<GoogleSignInAccount> SignInTask)
                                            ^
      symbol:   class Task
      location: class AndroidGoogleAccount.SignInAccountListener
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:239: error: cannot find symbol
            public void onComplete(@NonNull Task<GoogleSignInAccount> SignInTask)
                                                 ^
      symbol:   class GoogleSignInAccount
      location: class AndroidGoogleAccount.SignInAccountListener
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:266: error: cannot find symbol
        private class SignOutAccountListener implements OnCompleteListener<Void>
                                                        ^
      symbol:   class OnCompleteListener
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:269: error: cannot find symbol
            public void onComplete(@NonNull Task<Void> SignOutTask)
                                            ^
      symbol:   class Task
      location: class AndroidGoogleAccount.SignOutAccountListener
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:37: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignIn;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:38: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInClient;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:39: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:40: error: package com.google.android.gms.auth.api.signin does not exist
    import com.google.android.gms.auth.api.signin.GoogleSignInAccount;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:42: error: package com.google.api.client.extensions.android.http does not exist
    import com.google.api.client.extensions.android.http.AndroidHttp;
                                                        ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:43: error: package com.google.api.client.googleapis.extensions.android.gms.auth does not exist
    import com.google.api.client.googleapis.extensions.android.gms.auth.UserRecoverableAuthIOException;
                                                                       ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:44: error: package com.google.api.client.googleapis.extensions.android.gms.auth does not exist
    import com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential;
                                                                       ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:45: error: package com.google.api.client.googleapis.media does not exist
    import com.google.api.client.googleapis.media.MediaHttpDownloaderProgressListener;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:46: error: package com.google.api.client.googleapis.media does not exist
    import com.google.api.client.googleapis.media.MediaHttpDownloader;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:47: error: package com.google.api.client.googleapis.media does not exist
    import com.google.api.client.googleapis.media.MediaHttpUploaderProgressListener;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:48: error: package com.google.api.client.googleapis.media does not exist
    import com.google.api.client.googleapis.media.MediaHttpUploader;
                                                 ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:49: error: package com.google.api.client.json.gson does not exist
    import com.google.api.client.json.gson.GsonFactory;
                                          ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:50: error: package com.google.api.client.http does not exist
    import com.google.api.client.http.FileContent;
                                     ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:51: error: package com.google.api.services.drive does not exist
    import com.google.api.services.drive.Drive;
                                        ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:52: error: package com.google.api.services.drive does not exist
    import com.google.api.services.drive.DriveScopes;
                                        ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:53: error: package com.google.api.services.drive.model does not exist
    import com.google.api.services.drive.model.File;
                                              ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:54: error: package com.google.api.services.drive.model does not exist
    import com.google.api.services.drive.model.FileList;
                                              ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:67: error: cannot find symbol
        private Drive mDriveService = null;
                ^
      symbol:   class Drive
      location: class AndroidGoogleDrive
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:205: error: cannot find symbol
        public File getFileMetadata(String FileId, String Fields)
               ^
      symbol:   class File
      location: class AndroidGoogleDrive
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:355: error: cannot find symbol
        private class FileDownloadProgressListener implements MediaHttpDownloaderProgressListener
                                                              ^
      symbol:   class MediaHttpDownloaderProgressListener
      location: class AndroidGoogleDrive
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:357: error: cannot find symbol
            public void progressChanged(MediaHttpDownloader downloader)
                                        ^
      symbol:   class MediaHttpDownloader
      location: class AndroidGoogleDrive.FileDownloadProgressListener
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:371: error: cannot find symbol
        private class FileUploadProgressListener implements MediaHttpUploaderProgressListener
                                                            ^
      symbol:   class MediaHttpUploaderProgressListener
      location: class AndroidGoogleDrive
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:373: error: cannot find symbol
            public void progressChanged(MediaHttpUploader uploader) throws IOException
                                        ^
      symbol:   class MediaHttpUploader
      location: class AndroidGoogleDrive.FileUploadProgressListener
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:67: error: package GoogleSignInOptions does not exist
            GoogleSignInOptions.Builder SignInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
                               ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:67: error: package GoogleSignInOptions does not exist
            GoogleSignInOptions.Builder SignInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
                                                                               ^
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:67: error: cannot find symbol
            GoogleSignInOptions.Builder SignInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN);
                                                                                        ^
      symbol:   variable GoogleSignInOptions
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:71: error: cannot find symbol
            return GoogleSignIn.getClient(mActivityInstance, SignInOptions.build());
                   ^
      symbol:   variable GoogleSignIn
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:89: error: cannot find symbol
            final Task<GoogleSignInAccount> SignInTask = GoogleSignIn.getSignedInAccountFromIntent(Data);
                  ^
      symbol:   class Task
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:89: error: cannot find symbol
            final Task<GoogleSignInAccount> SignInTask = GoogleSignIn.getSignedInAccountFromIntent(Data);
                       ^
      symbol:   class GoogleSignInAccount
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:89: error: cannot find symbol
            final Task<GoogleSignInAccount> SignInTask = GoogleSignIn.getSignedInAccountFromIntent(Data);
                                                         ^
      symbol:   variable GoogleSignIn
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:106: error: cannot find symbol
                Task<GoogleSignInAccount> SignInTask;
                ^
      symbol:   class Task
      location: class AndroidGoogleAccount
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleAccount.java:106: error: cannot find symbol
                Task<GoogleSignInAccount> SignInTask;
                     ^
      symbol:   class GoogleSignInAccount
      location: class AndroidGoogleAccount
                         ^
      symbol:   variable MEDIA_IN_PROGRESS
      location: class AndroidGoogleDrive.FileUploadProgressListener
    C:\Users\PC\QT\build-KimBuNumara-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_15_0_for_Android-Debug\android-build\src\com\falsinsoft\qtandroidtools\AndroidGoogleDrive.java:386: error: cannot find symbol
                    case MEDIA_COMPLETE:
                         ^
      symbol:   variable MEDIA_COMPLETE
      location: class AndroidGoogleDrive.FileUploadProgressListener
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    85 errors
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':compileDebugJavaWithJavac'.
    > Compilation failed; see the compiler error output for details.
    
    * 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
    
    BUİLD FAILED in 5s
    12 actionable tasks: 1 executed, 11 up-to-date
    Building the android package failed!
      -- For more information, run this command with --verbose.
    12:30:31: The process "C:\Qt\5.15.0\android\bin\androiddeployqt.exe" exited with code 14.
    Error while building/deploying project KimBuNumara (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.15.0 for Android))
    When executing step "Build Android APK"
    12:30:31: Elapsed time: 00:14.
    

    Anyone have ideas?


Log in to reply