PS D:\sample\arkui-x\demo> ace build apk --debug
Start compiling jsBundle...
install completed in 0s 17ms
> hvigor Finished :entry:default@PreBuild... after 195 ms
> hvigor Finished :entry:default@MergeProfile... after 5 ms
> hvigor Finished :entry:default@GenerateLoaderJson... after 11 ms
> hvigor Finished :entry:default@ProcessProfile... after 169 ms
> hvigor Finished :entry:default@ProcessResource... after 2 ms
> hvigor Finished :entry:default@CompileResource... after 1 s 157 ms
> hvigor Finished :entry:default@CompileArkTS... after 5 s 367 ms
> hvigor BUILD SUCCESSFUL in 7 s 83 ms
> hvigor Finished :entry:ohosTest@PreBuild... after 8 ms
> hvigor Finished :entry:ohosTest@MergeProfile... after 3 ms
> hvigor Finished :entry:ohosTest@GenerateLoaderJson... after 9 ms
> hvigor Finished :entry:ohosTest@ProcessProfile... after 131 ms
> hvigor Finished :entry:ohosTest@ProcessResource... after 2 ms
> hvigor Finished :entry:ohosTest@CompileResource... after 102 ms
> hvigor Finished :entry:ohosTest@OhosTestCompileArkTS... after 4 s 978 ms
> hvigor BUILD SUCCESSFUL in 5 s 389 ms
android Gradle File: D:\sample\arkui-x\demo\.arkui-x\android\app\build.gradle
Start building apk...
Downloading https://repo.huaweicloud.com/gradle/gradle-7.5-all.zip
........................................................................................................................................................
......
Unzipping C:\Users\jianguo\.gradle\wrapper\dists\gradle-7.5-all\53f1ffk4w1cpu9gl7h9reqjeg\gradle-7.5-all.zip to C:\Users\jianguo\.gradle\wrapper\dists\g
radle-7.5-all\53f1ffk4w1cpu9gl7h9reqjeg
Welcome to Gradle 7.5!
Here are the highlights of this release:
- Support for Java 18
- Support for building with Groovy 4
- Much more responsive continuous builds
- Improved diagnostics for dependency resolution
For more details see https://docs.gradle.org/7.5/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Checking the license for package Android SDK Tools in C:\Users\jianguo\AppData\Local\Android\Sdk\licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 26.1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in C:\Users\jianguo\AppData\Local\Android\Sdk\tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 30.0.3 in C:\Users\jianguo\AppData\Local\Android\Sdk\licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in C:\Users\jianguo\AppData\Local\Android\Sdk\build-tools\30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 33 in C:\Users\jianguo\AppData\Local\Android\Sdk\licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision: 3)".
"Install Android SDK Platform 33 (revision: 3)" ready.
Installing Android SDK Platform 33 in C:\Users\jianguo\AppData\Local\Android\Sdk\platforms\android-33
"Install Android SDK Platform 33 (revision: 3)" complete.
"Install Android SDK Platform 33 (revision: 3)" finished.
> Task :app:processDebugMainManifest
package="com.jianguo.demo" found in source AndroidManifest.xml: D:\sample\arkui-x\demo\.arkui-x\android\app\src\main\AndroidManifest.xml.
Setting the namespace via a source AndroidManifest.xml's package attribute is deprecated.
Please instead set the namespace (or testNamespace) in the module's build.gradle file, as described here: https://developer.android.com/studio/build/con
figure-app-module#set-namespace
This migration can be done automatically using the AGP Upgrade Assistant, please refer to https://developer.android.com/studio/build/agp-upgrade-assista
nt for more information.
> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libarkui_android.so, libhilog.so, libhilog_android.so, libresourcemanager.so.
> Task :app:packageDebug
PackagingOptions.jniLibs.useLegacyPackaging should be set to true because android:extractNativeLibs is set to "true" in AndroidManifest.xml.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 2m 12s
31 actionable tasks: 31 executed
Build apk successful.
filepath: D:\sample\arkui-x\demo\.arkui-x\android\app\build\outputs\apk\