Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android - Basic Steps, Deploy calculator on device

Android - Basic Steps, Deploy calculator on device

Scheduled Pinned Locked Moved Mobile and Embedded
2 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.
  • D Offline
    D Offline
    dualfaces
    wrote on last edited by
    #1

    Hello,

    i downloaded the beta version of the android windows version (windows 7). Furthermore i installed Java 7 JDK, installed android sdk (Android SDK Tools 22.3, platform-tools 19, build tools 18.1, platform, samples, armeabiv7a system image, x86system image, mips systems image google apis : all version 16).
    I open the calculator example project and deploy it in a virtual device: works fine (compiled for armV7), then i want to deploy to my tablet (running android 4.1.1) but while deploying the following error occurs:
    Invalid json file: C:/Qt/Qt5.2.0/5.2.0-beta1/mingw48_32/examples/quick/demos/build-calqlatr-Android_for_armeabi_v7a_GCC_4_8_Qt_5_2_0-Release/android-libcalqlatr.so-deployment-settings.json

    Then i tested a Qt GUI application, just containing a push button, while compiling for armv7 i get the error:
    :-1: Error:No rule to make target '............\Users\username\Downloads\android-ndk-r9-windows-x86_64\android-ndk-r9\sources\cxx-stl\gnu-libstdc++\4.8\libs\armeabi-v7a\include\bits\cpu_defines.h', needed by 'main.obj'. Stop.

    I think something is misconfigured. Would be nice if someone could hint me where the problem is.

    Thank you!

    regards!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MontezooM
      wrote on last edited by
      #2

      Hi,

      Try to clean project before you build and deploy it on your tablet. If it doesn't help you could look at android-libcalqlatr.so-deployment-settings.json file, there is configuration of Android SDK, NDK, target version and so on. Hope it helps to find out what is wrong with configuration.

      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