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. qt5.14.2 Armeabi-V7A failed to compile APK
Forum Updated to NodeBB v4.3 + New Features

qt5.14.2 Armeabi-V7A failed to compile APK

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

    When I compile the project with qt5.14.2, it says that the source file is not valid UTF-8.
    284bb9c4-71bb-4920-a5e4-0719df626ff6-image.png
    The JDK is JDK-8u351-windows-x64.
    The NDK is android-ndk-r20b-windows-x86_64.
    The SDK is installer_r24.4.1-windows with Android API 26

    jsulmJ 1 Reply Last reply
    0
    • Z zhouzishu

      When I compile the project with qt5.14.2, it says that the source file is not valid UTF-8.
      284bb9c4-71bb-4920-a5e4-0719df626ff6-image.png
      The JDK is JDK-8u351-windows-x64.
      The NDK is android-ndk-r20b-windows-x86_64.
      The SDK is installer_r24.4.1-windows with Android API 26

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @zhouzishu said in qt5.14.2 Armeabi-V7A failed to compile APK:

      file is not valid UTF-8

      Then store your file as UTF-8

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Z 1 Reply Last reply
      0
      • jsulmJ jsulm

        @zhouzishu said in qt5.14.2 Armeabi-V7A failed to compile APK:

        file is not valid UTF-8

        Then store your file as UTF-8

        Z Offline
        Z Offline
        zhouzishu
        wrote on last edited by
        #3

        @jsulm Thanks.But when I store the file as UTF-8, it still happens.I looked at all the files, some are UTF-8 encoded and others are UTF-8 BOM.This bothers me.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zhouzishu
          wrote on last edited by
          #4

          I found the answer because encryption software was installed, causing the Clang++ .exe to be blocked.

          1 Reply Last reply
          0
          • Z zhouzishu 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