Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Setting up android development environment on Arch Linux
Forum Updated to NodeBB v4.3 + New Features

Setting up android development environment on Arch Linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 1.3k Views
  • 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.
  • M Offline
    M Offline
    mcarl
    wrote on 26 Feb 2023, 12:23 last edited by
    #1

    I tried it for several hours but still no luck. I installed required modules and created new android project. Firstly i was getting:

    General error during conversion: Unsupported class file major version 63
    

    error. After that I changed gradle version to 8.0.1 in gradle-wrapper.properties file:

    distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
    

    The file under <build_folder>/android-build/gradle/wrapper/.
    Now I am getting :

    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Could not determine the dependencies of task ':packageDebug'.
    > Could not create task ':mergeDebugAssets'.
       > Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
    

    I dont understand most of terms and im completly blank at this point. At this points, it suggests:

    * Try:
    > Run with --stacktrace option to get the stack trace.
    > Run with --info or --debug option to get more log output.
    > Run with --scan to get full insights.
    

    But I dont know what will i run with these options.

    Any suggestions to configure qt for mobile development?

    M 1 Reply Last reply 27 Feb 2023, 10:19
    0
    • M mcarl
      26 Feb 2023, 12:23

      I tried it for several hours but still no luck. I installed required modules and created new android project. Firstly i was getting:

      General error during conversion: Unsupported class file major version 63
      

      error. After that I changed gradle version to 8.0.1 in gradle-wrapper.properties file:

      distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
      

      The file under <build_folder>/android-build/gradle/wrapper/.
      Now I am getting :

      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Could not determine the dependencies of task ':packageDebug'.
      > Could not create task ':mergeDebugAssets'.
         > Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
      

      I dont understand most of terms and im completly blank at this point. At this points, it suggests:

      * Try:
      > Run with --stacktrace option to get the stack trace.
      > Run with --info or --debug option to get more log output.
      > Run with --scan to get full insights.
      

      But I dont know what will i run with these options.

      Any suggestions to configure qt for mobile development?

      M Offline
      M Offline
      mcarl
      wrote on 27 Feb 2023, 10:19 last edited by
      #2

      @mcarl Now i tried on ubuntu 20.04 on virtual machine. After several try, i can build android programs.
      Still no luck for arch.

      1 Reply Last reply
      0

      1/2

      26 Feb 2023, 12:23

      • Login

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