Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Admod in qt 5.3
Forum Updated to NodeBB v4.3 + New Features

Admod in qt 5.3

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HuyQuang
    wrote on last edited by
    #1

    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!!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should add what you tried and what happened

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HuyQuang
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Probably missing something like

          @./android@

          to call the executable

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved