Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

[Android] Issues with ant

$
0
0
I have some issues I don’t understand with ant during the clean debug command. Here is the trace : 17:20:38: Déploiement du paquet : exécution de la commande "C:/sdk/apache-ant-1.9.1/bin/ant.bat clean debug". Buildfile: C:\projects\HomeDesign3D\Projects\Qt\android\build.xml   -check-env:  [checkenv] Android SDK Tools Revision 22.0.1  [checkenv] Installed at C:\sdk\adt-bundle-windows-x86_64-20130522\sdk   -setup:      [echo] Project Name: Home Design 3D   [gettype] Project Type: Application   ....        [echo] ----------      [echo] Handling Resources...      [aapt] Generating resource IDs...      [aapt] C:\projects\HomeDesign3D\Projects\Qt\android\bin\AndroidManifest.xml:9: error: Error: No resource found that matches the given name (at 'resource' with value '@array/qt_sources').      [aapt] C:\projects\HomeDesign3D\Projects\Qt\android\bin\AndroidManifest.xml:10: error: Error: No resource found that matches the given name (at 'value' with value '@string/repository').      [aapt] C:\projects\HomeDesign3D\Projects\Qt\android\bin\AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'resource' with value '@array/qt_libs').      [aapt] C:\projects\HomeDesign3D\Projects\Qt\android\bin\AndroidManifest.xml:12: error: Error: No resource found that matches the given name (at 'resource' with value '@array/bundled_libs').      [aapt] C:\projects\HomeDesign3D\Projects\Qt\android\bin\AndroidManifest.xml:16: error: Error: No resource found that matches the given name (at 'resource' with value '@array/bundled_in_lib').      [aapt] C:\projects\HomeDesign3D\Projects\Qt\android\bin\AndroidManifest.xml:17: error: Error: No resource found that matches the given name (at 'resource' with value '@array/bundled_in_assets').   BUILD FAILED C:\sdk\adt-bundle-windows-x86_64-20130522\sdk\tools\ant\build.xml:650: The following error occurred while executing this line: C:\sdk\adt-bundle-windows-x86_64-20130522\sdk\tools\ant\build.xml:691: null returned: 1   Total time: 1 second Erreur de paquetage : la commande "C:/sdk/apache-ant-1.9.1/bin/ant.bat clean debug" a échoué.Code de sortie : 1 Erreur lors de la compilation/déploiement du projet HomeDesign3D (kit : Android for arm (GCC 4.7, Qt 5.1.0)) Lors de l'exécution de l'étape "Paquetage pour Android" My manifest : <?xml version='1.0' encoding='utf-8'?> <manifest android:versionCode="1" package="fr.anuman.HomeDesign3D" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="300">     <application android:name="org.qtproject.qt5.android.bindings.SingletonQtApplication" android:label="@string/app_name">         <activity android:name="org.qtproject.qt5.android.bindings.QtActivity" android:configChanges="orientation|locale|fontScale|keyboard|keyboardHidden|navigation" android:label="@string/app_name">             <intent-filter>                 <action android:name="android.intent.action.MAIN"/>                 <category android:name="android.intent.category.LAUNCHER"/>             </intent-filter>             <meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>             <meta-data android:name="android.app.repository" android:value="@string/repository"/>             <meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>             <meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>             <meta-data android:name="android.app.lib_name" android:value="HomeDesign3D"/>             <!-- Deploy Qt libs as part of package -->             <meta-data android:name="android.app.bundle_local_qt_libs" android:value="1"/>             <meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>             <meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>             <!-- Run with local libs -->             <meta-data android:name="android.app.use_local_qt_libs" android:value="1"/>             <meta-data android:name="android.app.libs_prefix" android:value="/data/local/tmp/qt/"/>             <meta-data android:name="android.app.load_local_libs" android:value=":"/>             <meta-data android:name="android.app.load_local_jars" android:value=":"/>             <meta-data android:name="android.app.static_init_classes" android:value=":"/>             <!--  Messages maps -->             <meta-data android:name="android.app.ministro_not_found_msg" android:value="@string/ministro_not_found_msg"/>             <meta-data android:name="android.app.ministro_needed_msg" android:value="@string/ministro_needed_msg"/>             <meta-data android:name="android.app.fatal_error_msg" android:value="@string/fatal_error_msg"/>             <!--  Messages maps -->             <!-- Splash screen -->             <meta-data android:name="android.app.splash_screen" android:resource="@layout/splash"/>             <!-- Splash screen -->         </activity>     </application>     <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>     <uses-permission android:name="android.permission.INTERNET"/>     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> </manifest> My device target support android SDK 10.

Viewing all articles
Browse latest Browse all 13965

Trending Articles