when try to build app there is warning?

C:\Users\Kells\AppData\Local\Temp\App Builder\build\DAB.002\a>call Gradle clean assemble Release –warning-mode=none

So i instilled Gradle and check java and Gradle command windows its show like

Microsoft Windows [Version 10.0.19045.3086]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Kells>java -version
openjdk version "11.0.19" 2023-04-18 LTS
OpenJDK Runtime Environment Zulu11.64+19-CA (build 11.0.19+7-LTS)
OpenJDK 64-Bit Server VM Zulu11.64+19-CA (build 11.0.19+7-LTS, mixed mode)

C:\Users\Kells>gradle -v

Gradle 8.2.1

Build time:   2023-07-10 12:12:35 UTC
Revision:     a38ec64d3c4612da9083cc506a1ccb212afeecaa

Kotlin:       1.8.20
Groovy:       3.0.17
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          11.0.19 (Azul Systems, Inc. 11.0.19+7-LTS)
OS:           Windows 10 10.0 amd64


but sill show warning-mode`=none

The Dictionary App Builder program is calling Gradle to do some of the work of building the app.

I think the --warning-mode=none is an option on the Gradle call telling Gradle to suppress all warning messages. So, it would seem this is not a warning being displayed, but rather a command to Gradle not to display any warnings.

Does the process successfully produce an app?

1 Like

I agree with @drowe it is just a parameter that is being passed to gradle to tell it to not show so much feedback.

If you install Gradle separately to the DAB installed Gradle, then in the past that has caused some build issues. DAB is for non programmers so the assumption is that you don’t have a separate Gradle installation.

In most programming a warning is not a an error. An error stops a build process. A warning does not stop the build process.

Directory of C:\Users\Kells\AppData\Local\Temp\App Builder\build\DAB.003\a\build\outputs\apk\release

07/14/2023  01:19 AM    <DIR>          .
07/14/2023  01:19 AM    <DIR>          ..
07/14/2023  01:19 AM         9,085,599 a-release.apk
07/14/2023  01:19 AM               375 output-metadata.json
               2 File(s)      9,085,974 bytes
               2 Dir(s)  73,647,656,960 bytes free

Copying APK to output folder

The filename, directory name, or volume label syntax is incorrect.
        0 file(s) copied.
        1 file(s) copied.

Android APK built successfully.

The filename, directory name, or volume label syntax is incorrect.

The system cannot find the path specified.

still have error

What do yo have for the Filename in this section?

You may need to just use ASCII characters for that file name. Most people don’t see that but you can rename it later manually.

Is the .apk file still in the temporary build folder? You could use that if it is there.