Qt Android - Building the android package failed!

Qt Android - Building the android package failed!
SomeBody16
  • Rejestracja:ponad 8 lat
  • Ostatnio:ponad 3 lata
  • Postów:13
0

Witam

Zależy mi na skompilowaniu programu w Qt pod Androida

Kod aplikacji to okno z guzikiem który po naciśnięciu zmienia swój napis.

Kompilator: "Kompilator dla armeabi-v7a (GCC 4.9, Qt 5.7.0) Release

Cały komunikat kompilatora:

Kopiuj
20:16:41: Uruchamianie kroków budowania dla projektu ANDROID_TEST_2...
20:16:41: Konfiguracja niezmieniona, krok qmake opuszczony.
20:16:41: Uruchamianie "D:\Programy\Qt\Tools\mingw530_32\bin\mingw32-make.exe" 
mingw32-make: Nothing to be done for 'first'.
20:16:42: Proces "D:\Programy\Qt\Tools\mingw530_32\bin\mingw32-make.exe" zakończył się normalnie.
20:16:42: Usuwanie katalogu \build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build
20:16:42: Uruchamianie "D:\Programy\Qt\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build" install
copy /y libANDROID_TEST_2.so \build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\libs\armeabi-v7a\libANDROID_TEST_2.so
        1 file(s) copied.
20:16:43: Proces "D:\Programy\Qt\Tools\mingw530_32\bin\mingw32-make.exe" zakończył się normalnie.
20:16:43: Uruchamianie "D:\Programy\Qt\5.7\android_armv7\bin\androiddeployqt.exe" --input /build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release/android-libANDROID_TEST_2.so-deployment-settings.json --output /build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release/android-build --deployment bundled --android-platform android-24 --jdk "C:/Program Files (x86)/Java/jdk1.7.0_55" --ant D:/Programy/Android/apache-ant-1.9.7/bin/ant.bat
Generating Android Package
  Input file: /build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release/android-libANDROID_TEST_2.so-deployment-settings.json
  Output directory: D:/build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release/android-build/
  Application binary: D:/build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release/libANDROID_TEST_2.so
  Android build platform: android-24
  Install to device: No
Buildfile: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 25.2.2
 [checkenv] Installed at D:\Programy\Android\android-sdk

-setup:
     [echo] Project Name: QtApp
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 24.0.3
     [echo] Resolving Build Target for QtApp...
[gettarget] Project Target:   Android 7.0
[gettarget] API level:        24
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\res
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\rsObj
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\rsLibs
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\gen
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\classes
    [mkdir] Created dir: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for QtApp...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'debug'...
   [subant] No sub-builds to iterate on

-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
     [echo] Handling aidl files...
     [aidl] Found 2 AIDL files.
     [aidl] Compiling 2 AIDL files.
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
     [aapt] Generating resource IDs...
     [echo] ----------
     [echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.

-pre-compile:

-compile:
    [javac] Compiling 10 source files to D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\classes
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/app/Activity.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/app/Dialog.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/app/Fragment.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/Context.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/Intent.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/res/Configuration.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/res/Resources.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/res/Resources$Theme.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/graphics/Bitmap.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/graphics/Canvas.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/Build.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/Bundle.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/util/AttributeSet.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ActionMode.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ActionMode$Callback.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ContextMenu.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ContextMenu$ContextMenuInfo.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/KeyEvent.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/Menu.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/MenuItem.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/MotionEvent.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/View.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/WindowManager.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/WindowManager$LayoutParams.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/accessibility/AccessibilityEvent.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/LayoutInflater.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/LayoutInflater$Factory2.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/LayoutInflater$Factory.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Object.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/Window.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/Window$Callback.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/KeyEvent$Callback.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/Parcelable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/InputEvent.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/View$OnCreateContextMenuListener.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/graphics/drawable/Drawable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/graphics/drawable/Drawable$Callback.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/accessibility/AccessibilityEventSource.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/ComponentCallbacks2.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/ComponentCallbacks.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ContextThemeWrapper.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/ContextWrapper.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/String.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/app/AlertDialog.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/DialogInterface.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/pm/ActivityInfo.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/pm/PackageManager.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/graphics/drawable/ColorDrawable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/net/Uri.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/reflect/Field.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/ComponentName.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/ServiceConnection.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/pm/ComponentInfo.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/pm/PackageInfo.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/res/AssetManager.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/IBinder.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/RemoteException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/util/Log.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/DataInputStream.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/DataOutputStream.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/File.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/FileInputStream.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/FileOutputStream.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/IOException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/InputStream.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/OutputStream.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/reflect/Method.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/util/ArrayList.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/util/Arrays.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(dalvik/system/DexClassLoader.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/CharSequence.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Class.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Runnable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/app/Application.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/util/HashMap.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/app/Service.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/IInterface.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/Binder.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/Parcel.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ViewDebug.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ViewDebug$ExportedProperty.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ViewDebug$IntToString.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/view/ViewDebug$FlagToString.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Override.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/annotation/Annotation.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/annotation/Target.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/annotation/ElementType.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/annotation/Retention.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/annotation/RetentionPolicy.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Error.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/pm/PackageManager$NameNotFoundException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/util/AndroidException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Exception.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/Throwable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/RuntimeException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/IntentSender.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/content/IntentSender$SendIntentException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/io/FileNotFoundException.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(java/lang/AutoCloseable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] warning: D:\Programy\Android\android-sdk\platforms\android-24\android.jar(android/os/Build$VERSION.class): major version 52 is newer than 51, the highest major version supported by this compiler.
    [javac]   It is recommended that the compiler be upgraded.
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 100 warnings

-post-compile:

-obfuscate:

-dex:
      [dex] input: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\bin\classes
      [dex] input: D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\libs\QtAndroid-bundled.jar
      [dex] Pre-Dexing D:\build-ANDROID_TEST_2-Android_dla_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release\android-build\libs\QtAndroid-bundled.jar -> QtAndroid-bundled-54b73b9a03f0275efa23543e5a23f581.jar
       [dx] java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0
       [dx] 	at java.lang.ClassLoader.defineClass1(Native Method)
       [dx] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
       [dx] 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
       [dx] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
       [dx] 	at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
       [dx] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
       [dx] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
       [dx] 	at java.security.AccessController.doPrivileged(Native Method)
       [dx] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
       [dx] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
       [dx] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:412)
       [dx] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
       [dx] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
       [dx] 	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
       [dx] Exception in thread "main" 

BUILD FAILED
D:\Programy\Android\android-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
D:\Programy\Android\android-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
D:\Programy\Android\android-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
D:\Programy\Android\android-sdk\tools\ant\build.xml:283: null returned: 1

Total time: 1 second
Building the android package failed!
  -- For more information, run this command with --verbose.
20:16:47: Proces "D:\Programy\Qt\5.7\android_armv7\bin\androiddeployqt.exe" zakończył się kodem wyjściowym 14.
Błąd budowania / instalowania projektu ANDROID_TEST_2 (zestaw narzędzi: Android dla armeabi-v7a (GCC 4.9, Qt 5.7.0))
Podczas wykonywania kroku "Zbuduj Android APK"
20:16:47: Czas trwania: 00:06.

Plik: D:\Programy\Android\android-sdk\tools\ant\build.xml w załącznikach.
build.xml:888:
<do-only-if-manifest-hasCode elseText="hasCode = false. Skipping...">
build.xml:890:
<do-only-if-not-library elseText="Library project: do not convert bytecode..." >
build.xml:902:
<dex-helper />
build.xml:283:
verbose="${verbose}">

Pytanie brzmi: Co zrobić aby projekt się skompilował poprawnie do pliku apk i aby również zadziałał na telefonie :(

w załącznikach:

  • projekt Qt
  • plik build.xml
  • screen konfiguracji Androida w Qt
kq
Moderator C/C++
  • Rejestracja:prawie 12 lat
  • Ostatnio:3 minuty
  • Lokalizacja:Szczecin
0

Zgodnie z warningami, masz zbyt nową wersję sdk. Zainstaluj o jedną wersję starszą z managera


Kliknij, aby dodać treść...

Pomoc 1.18.8

Typografia

Edytor obsługuje składnie Markdown, w której pojedynczy akcent *kursywa* oraz _kursywa_ to pochylenie. Z kolei podwójny akcent **pogrubienie** oraz __pogrubienie__ to pogrubienie. Dodanie znaczników ~~strike~~ to przekreślenie.

Możesz dodać formatowanie komendami , , oraz .

Ponieważ dekoracja podkreślenia jest przeznaczona na linki, markdown nie zawiera specjalnej składni dla podkreślenia. Dlatego by dodać podkreślenie, użyj <u>underline</u>.

Komendy formatujące reagują na skróty klawiszowe: Ctrl+B, Ctrl+I, Ctrl+U oraz Ctrl+S.

Linki

By dodać link w edytorze użyj komendy lub użyj składni [title](link). URL umieszczony w linku lub nawet URL umieszczony bezpośrednio w tekście będzie aktywny i klikalny.

Jeżeli chcesz, możesz samodzielnie dodać link: <a href="link">title</a>.

Wewnętrzne odnośniki

Możesz umieścić odnośnik do wewnętrznej podstrony, używając następującej składni: [[Delphi/Kompendium]] lub [[Delphi/Kompendium|kliknij, aby przejść do kompendium]]. Odnośniki mogą prowadzić do Forum 4programmers.net lub np. do Kompendium.

Wspomnienia użytkowników

By wspomnieć użytkownika forum, wpisz w formularzu znak @. Zobaczysz okienko samouzupełniające nazwy użytkowników. Samouzupełnienie dobierze odpowiedni format wspomnienia, zależnie od tego czy w nazwie użytkownika znajduje się spacja.

Znaczniki HTML

Dozwolone jest używanie niektórych znaczników HTML: <a>, <b>, <i>, <kbd>, <del>, <strong>, <dfn>, <pre>, <blockquote>, <hr/>, <sub>, <sup> oraz <img/>.

Skróty klawiszowe

Dodaj kombinację klawiszy komendą notacji klawiszy lub skrótem klawiszowym Alt+K.

Reprezentuj kombinacje klawiszowe używając taga <kbd>. Oddziel od siebie klawisze znakiem plus, np <kbd>Alt+Tab</kbd>.

Indeks górny oraz dolny

Przykład: wpisując H<sub>2</sub>O i m<sup>2</sup> otrzymasz: H2O i m2.

Składnia Tex

By precyzyjnie wyrazić działanie matematyczne, użyj składni Tex.

<tex>arcctg(x) = argtan(\frac{1}{x}) = arcsin(\frac{1}{\sqrt{1+x^2}})</tex>

Kod źródłowy

Krótkie fragmenty kodu

Wszelkie jednolinijkowe instrukcje języka programowania powinny być zawarte pomiędzy obróconymi apostrofami: `kod instrukcji` lub ``console.log(`string`);``.

Kod wielolinijkowy

Dodaj fragment kodu komendą . Fragmenty kodu zajmujące całą lub więcej linijek powinny być umieszczone w wielolinijkowym fragmencie kodu. Znaczniki ``` lub ~~~ umożliwiają kolorowanie różnych języków programowania. Możemy nadać nazwę języka programowania używając auto-uzupełnienia, kod został pokolorowany używając konkretnych ustawień kolorowania składni:

```javascript
document.write('Hello World');
```

Możesz zaznaczyć również już wklejony kod w edytorze, i użyć komendy  by zamienić go w kod. Użyj kombinacji Ctrl+`, by dodać fragment kodu bez oznaczników języka.

Tabelki

Dodaj przykładową tabelkę używając komendy . Przykładowa tabelka składa się z dwóch kolumn, nagłówka i jednego wiersza.

Wygeneruj tabelkę na podstawie szablonu. Oddziel komórki separatorem ; lub |, a następnie zaznacz szablonu.

nazwisko;dziedzina;odkrycie
Pitagoras;mathematics;Pythagorean Theorem
Albert Einstein;physics;General Relativity
Marie Curie, Pierre Curie;chemistry;Radium, Polonium

Użyj komendy by zamienić zaznaczony szablon na tabelkę Markdown.

Lista uporządkowana i nieuporządkowana

Możliwe jest tworzenie listy numerowanych oraz wypunktowanych. Wystarczy, że pierwszym znakiem linii będzie * lub - dla listy nieuporządkowanej oraz 1. dla listy uporządkowanej.

Użyj komendy by dodać listę uporządkowaną.

1. Lista numerowana
2. Lista numerowana

Użyj komendy by dodać listę nieuporządkowaną.

* Lista wypunktowana
* Lista wypunktowana
** Lista wypunktowana (drugi poziom)

Składnia Markdown

Edytor obsługuje składnię Markdown, która składa się ze znaków specjalnych. Dostępne komendy, jak formatowanie , dodanie tabelki lub fragmentu kodu są w pewnym sensie świadome otaczającej jej składni, i postarają się unikać uszkodzenia jej.

Dla przykładu, używając tylko dostępnych komend, nie możemy dodać formatowania pogrubienia do kodu wielolinijkowego, albo dodać listy do tabelki - mogłoby to doprowadzić do uszkodzenia składni.

W pewnych odosobnionych przypadkach brak nowej linii przed elementami markdown również mógłby uszkodzić składnie, dlatego edytor dodaje brakujące nowe linie. Dla przykładu, dodanie formatowania pochylenia zaraz po tabelce, mogłoby zostać błędne zinterpretowane, więc edytor doda oddzielającą nową linię pomiędzy tabelką, a pochyleniem.

Skróty klawiszowe

Skróty formatujące, kiedy w edytorze znajduje się pojedynczy kursor, wstawiają sformatowany tekst przykładowy. Jeśli w edytorze znajduje się zaznaczenie (słowo, linijka, paragraf), wtedy zaznaczenie zostaje sformatowane.

  • Ctrl+B - dodaj pogrubienie lub pogrub zaznaczenie
  • Ctrl+I - dodaj pochylenie lub pochyl zaznaczenie
  • Ctrl+U - dodaj podkreślenie lub podkreśl zaznaczenie
  • Ctrl+S - dodaj przekreślenie lub przekreśl zaznaczenie

Notacja Klawiszy

  • Alt+K - dodaj notację klawiszy

Fragment kodu bez oznacznika

  • Alt+C - dodaj pusty fragment kodu

Skróty operujące na kodzie i linijkach:

  • Alt+L - zaznaczenie całej linii
  • Alt+, Alt+ - przeniesienie linijki w której znajduje się kursor w górę/dół.
  • Tab/⌘+] - dodaj wcięcie (wcięcie w prawo)
  • Shit+Tab/⌘+[ - usunięcie wcięcia (wycięcie w lewo)

Dodawanie postów:

  • Ctrl+Enter - dodaj post
  • ⌘+Enter - dodaj post (MacOS)