Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. I can't deploy app to Android
Forum Updated to NodeBB v4.3 + New Features

I can't deploy app to Android

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.1k 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
    dmendizabal
    wrote on last edited by
    #1

    I'm trying to deploy a simple (sample) app to my Nexus 4 without luck.
    I'm using Ubuntu 13.04 as my developping machine.
    I've done the following:

    • Activate the debbuging mode of the phone
    • I'm using openjdk 7 in Ubuntu
    • I have created a rule: /etc/udev/rules.d/51-android.rule with the line: SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

    Every time I run the application, it asks to create a AVD.

    What could be the problem?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kortus
      wrote on last edited by
      #2

      I had the same problem under Windows and my Samsung ACE 2.
      I have solved the problem by installing the same Android API version as on my cell phone at my host system.
      In my case API level 10, because ACE 2 has Android 2.3.6 ("Android API levels":http://en.wikipedia.org/wiki/Android_version_history)
      Then if you have activated USB-Debugging and the right driver installed the AVD uses your handy if you run from QtCreator.
      You must select the API version under Projects/Run/Android target SDK.

      Hope that helps

      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