2016-08-01 19 views
0

Fehler während des Builds nur mit Android ABI Level 15, aber ok mit Level 24, in Qt Schöpfer (passiert sowohl in x86 und ARM Android), Gebäude für ABI 15 im Android Studio funktioniert.Qt Mobile Android Build Fehler mit Android ABI Level 15, aber arbeitet mit höheren ABIs

Qt Creator 4.0.3

Position 40:36-165 : String types not allowed (at 'configChanges' with value 'orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation'). 

:processDebugResources FAILED 

FAILURE: Build failed with an exception. 

* What went wrong: 
Execution failed for task ':processDebugResources'. 
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/a/android/android-sdk-linux/build-tools/24.0.1/aapt'' finished with non-zero exit value 1 

Antwort

1

Per the documentation wurde layoutDirection in API-Ebene hinzugefügt 17, so dass Sie für mindestens API-Ebene 17 zu bauen, um benötigen, um festzulegen, dass Ihre App gehen wird Konfigurationsänderungen aufgrund von Änderungen der Layout-Richtung selbst zu behandeln.