Admod in qt 5.3



  • I'm using Qt quick ver 5.3 and I have a problem with admod.
    I follow this topic: "Link of this topic":http://xanm.blogspot.ru/2014/03/admob-in-qt.html to create admod for my app but I can't run step 2 of it.
    Anybody can explain this step clearly for me?
    Thank u for reading. Have a nice day!!


  • Lifetime Qt Champion

    Hi,

    You should add what you tried and what happened



  • my trouble is:
    I'm using Ubuntu 14.4, when I open terminal and open this forder ( I use "cd /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib" command to open forder as this topic. I can't run follow commands:

    android update lib-project --path .

    ant clean
    ant release

    because terminal show error: android: command not found

    huyquang@HuyPC:~/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib$ ant clean
    Buildfile: /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml
    [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.
    [taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.

    -check-env:

    BUILD FAILED
    /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml:396: Problem: failed to create task or type checkenv
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.

    Total time: 0 seconds

    and
    huyquang@HuyPC:~/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib$ ant release
    Buildfile: /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml
    [taskdef] Could not load definitions from resource anttasks.properties. It could not be found.
    [taskdef] Could not load definitions from resource emma_ant.properties. It could not be found.

    -set-mode-check:

    -set-release-mode:

    BUILD FAILED
    /home/huyquang/Downloads/android-sdk-linux/extras/google/google_play_services/libproject/google-play-services_lib/build.xml:1113: Problem: failed to create task or type xpath
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.

    Total time: 0 seconds


  • Lifetime Qt Champion

    Probably missing something like

    @./android@

    to call the executable


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.