From f2abb903c4ed1f30fe0c27c40d1de80fdf8f443a Mon Sep 17 00:00:00 2001 From: zhangxCode Date: Fri, 30 May 2025 11:20:06 +0800 Subject: [PATCH] =?UTF-8?q?FAQ=E5=BA=9F=E5=BC=83API=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CompilingAndBuilding/cpp/CMakeLists.txt | 6 +++--- .../{library3/hvigorfile_comfig.ts => hvigorfile_test.ts} | 0 .../entry/src/main/ets/pages/GetNetCapabilities.ets | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename CompilingAndBuilding/{library3/hvigorfile_comfig.ts => hvigorfile_test.ts} (100%) diff --git a/CompilingAndBuilding/cpp/CMakeLists.txt b/CompilingAndBuilding/cpp/CMakeLists.txt index fd2f942..ebdf857 100644 --- a/CompilingAndBuilding/cpp/CMakeLists.txt +++ b/CompilingAndBuilding/cpp/CMakeLists.txt @@ -1,5 +1,5 @@ -//FAQ:静态共享包HAR如何引用另一个HAR包中的so文件 -// [Start importLibnativeSub] +# FAQ:静态共享包HAR如何引用另一个HAR包中的so文件 +# [Start importLibnativeSub] target_link_directories(entry PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../../libs/${OHOS_ARCH}/) target_link_libraries(entry PUBLIC libace_napi.z.so libc++.a libnativeSub.so) -// [End importLibnativeSub] \ No newline at end of file +# [End importLibnativeSub] \ No newline at end of file diff --git a/CompilingAndBuilding/library3/hvigorfile_comfig.ts b/CompilingAndBuilding/hvigorfile_test.ts similarity index 100% rename from CompilingAndBuilding/library3/hvigorfile_comfig.ts rename to CompilingAndBuilding/hvigorfile_test.ts diff --git a/ConnectivityKit/entry/src/main/ets/pages/GetNetCapabilities.ets b/ConnectivityKit/entry/src/main/ets/pages/GetNetCapabilities.ets index 8b22a0a..38d54a5 100644 --- a/ConnectivityKit/entry/src/main/ets/pages/GetNetCapabilities.ets +++ b/ConnectivityKit/entry/src/main/ets/pages/GetNetCapabilities.ets @@ -55,7 +55,7 @@ struct Index { console.error(`getSignalInformation failed, callback: err->${JSON.stringify(err)}`); return; } - console.log(`getSignalInformation success, callback: data->${JSON.stringify(data)}`); + console.info(`getSignalInformation success, callback: data->${JSON.stringify(data)}`); // Return an array of SignalInformation objects, where the returned signalType represents the network type NetworkType }); } -- Gitee