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. Qt Android 6.6.1: Qt6Android.jar: D8: java.lang.NullPointerException
Forum Updated to NodeBB v4.3 + New Features

Qt Android 6.6.1: Qt6Android.jar: D8: java.lang.NullPointerException

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 694 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.
  • S Offline
    S Offline
    swurl
    wrote on last edited by swurl
    #1

    When attempting to build any project, Widgets or Quick, for Android, including example projects, the following build errors occur.

    ERROR:/hdd/code/build-AndroidWidgets-Android_Qt_6_6_1_aarch64_Clang_arm64_v8a-Debug/android-build/libs/Qt6AndroidNetworkInformationBackend.jar: D8: java.lang.NullPointerException
    ERROR:/hdd/code/build-AndroidWidgets-Android_Qt_6_6_1_aarch64_Clang_arm64_v8a-Debug/android-build/libs/Qt6Android.jar: D8: java.lang.NullPointerException
    
    

    Running SDK 12, NDK 25, Java 17 (11 doesn't work), Android 14.

    S 1 Reply Last reply
    0
    • S swurl

      When attempting to build any project, Widgets or Quick, for Android, including example projects, the following build errors occur.

      ERROR:/hdd/code/build-AndroidWidgets-Android_Qt_6_6_1_aarch64_Clang_arm64_v8a-Debug/android-build/libs/Qt6AndroidNetworkInformationBackend.jar: D8: java.lang.NullPointerException
      ERROR:/hdd/code/build-AndroidWidgets-Android_Qt_6_6_1_aarch64_Clang_arm64_v8a-Debug/android-build/libs/Qt6Android.jar: D8: java.lang.NullPointerException
      
      

      Running SDK 12, NDK 25, Java 17 (11 doesn't work), Android 14.

      S Offline
      S Offline
      swurl
      wrote on last edited by
      #2

      As it turns out, the AUR packages for the Android aarch64 Qt 6 library are broken. Using the online installer fixes this.

      1 Reply Last reply
      0
      • S swurl has marked this topic as solved on

      • Login

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