Build MATTER chip-tool Android APK in Ubuntu server

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Build MATTER chip-tool Android APK in Ubuntu server

Build MATTER chip-tool Android APK in Ubuntu server

 

Introduction

 

MATTER chip-tool android APK is a very useful tool for commission, control the MATTER network by smart phone. Vendor can add various features into the APK.

It supports build by Android Studio and command line. The official build steps can be found here: https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/android_building.md

But the official guide does not cover how to build in a non-GUI linux distribution (without Android Studio installed). This article describes how to build under Ubuntu server.

Install Android SDK 

Install SDK command line from: https://developer.android.com/studio, And follow the steps: https://developer.android.com/tools/sdkmanager to install. 

Install the Android-26 SDK and 23 NDK:

$./sdkmanager "platforms;android-26" "ndk;23.2.8568313" 

Export env 

$export ANDROID_HOME=<SDK path> 
$export ANDROID_NDK_HOME=<SDK path>/ndk/23.2.8568313/

 

Install kotlin (1.8.0) 

$curl -s https://get.sdkman.io | bash 
$sdk install kotlin 1.8.0 
$whereis kotlin 
$export PATH=$PATH:<patch of bin of kotlin> 

 

Configure proxy for gradle 

$ cat ~/.gradle/gradle.properties 
# Set the socket timeout to 5 minutes (good for proxies) 
org.gradle.internal.http.socketTimeout=300000 
# the number of retries (initial included) (default 3) 
org.gradle.internal.repository.max.retries=10 
# the initial time before retrying, in milliseconds (default 125) 
org.gradle.internal.repository.initial.backoff=500 
systemProp.http.proxyHost=apac.nics.nxp.com 
systemProp.http.proxyPort=8080 
systemProp.http.nonProxyHosts=localhost|*.nxp.com 
systemProp.https.proxyHost=apac.nics.nxp.com 
systemProp.https.proxyPort=8080 
systemProp.https.nonProxyHosts=localhost|*.nxp.com 

 

Configure proxy 

Configure proxy for download packages during build

export FTP_PROXY="http://apac.nics.nxp.com:8080" 
export HTTPS_PROXY="http://apac.nics.nxp.com:8080" 
export HTTP_PROXY="http://apac.nics.nxp.com:8080" 
export NO_PROXY="localhost,*.nxp.com" 
export ftp_proxy="http://apac.nics.nxp.com:8080" 
export http_proxy="http://apac.nics.nxp.com:8080" 
export https_proxy="http://apac.nics.nxp.com:8080" 
export no_proxy="localhost,*.nxp.com" 

 

Patch for gradle java option 

This step can be skipped if using OpenJDK16. 

Otherwise if you're using OpenJDK 17 (Java 61), you have to upgrade the gradle from 7.1.1 to 7.3, and add java.io open to ALL-UNNAMED: 

diff --git a/examples/android/CHIPTool/gradle.properties b/examples/android/CHIPTool/gradle.properties 
index 71f72db8c8..5bce4b4528 100644 
--- a/examples/android/CHIPTool/gradle.properties 
+++ b/examples/android/CHIPTool/gradle.properties 
@@ -6,7 +6,8 @@ 
http://www.gradle.org/docs/current/userguide/build_environment.html 
# Specifies the JVM arguments used for the daemon process. 
# The setting is particularly useful for tweaking memory settings. 
-org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 
+#org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 
+org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8  --add-opens=java.base/java.io=ALL-UNNAMED 
# When configured, Gradle will run in incubating parallel mode. 
# This option should only be used with decoupled projects. More details, visit 
http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 
diff --git a/examples/android/CHIPTool/gradle/wrapper/gradle-wrapper.properties b/examples/android/CHIPTool/gradle/wrapper/gradle-wrapper.properties 
index 05679dc3c1..e750102e09 100644 
--- a/examples/android/CHIPTool/gradle/wrapper/gradle-wrapper.properties 
+++ b/examples/android/CHIPTool/gradle/wrapper/gradle-wrapper.properties 
@@ -1,5 +1,5 @@ 
distributionBase=GRADLE_USER_HOME 
distributionPath=wrapper/dists 
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip 
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip 
zipStoreBase=GRADLE_USER_HOME 
zipStorePath=wrapper/dists 

 

Build & Install

Clone all the modules from github:

$git clone --single-branch --recurse-submodules https://github.com/project-chip/connectedhomeip.git

Enviroment setup:

$source scripts/bootstrap.sh

Build:

./scripts/build/build_examples.py --target android-arm64-chip-tool build

Install built apk into phone:

$adb install out/android-arm64-chip-tool/outputs/apk/debug/app-debug.apk

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1881092%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUbuntu%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7MATTER%E3%83%81%E3%83%83%E3%83%97%E3%83%BB%E3%83%84%E3%83%BC%E3%83%AB%E3%81%AEAndroid%20APK%E3%82%92%E3%83%93%E3%83%AB%E3%83%89%E3%81%99%E3%82%8B%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1881092%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20class%3D%22lia-message-template-symptoms-zone%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-solution-zone%22%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId--1208644087%22%20id%3D%22toc-hId--493835980%22%3E%3CSPAN%20data-contrast%3D%22none%22%3E%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%20aria-level%3D%221%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EMATTER%E3%83%81%E3%83%83%E3%83%97%E3%83%BB%E3%83%84%E3%83%BC%E3%83%ABAndroid%20APK%E3%81%AF%E3%80%81%E8%A9%A6%E9%A8%93%E9%81%8B%E7%94%A8%E3%80%81%E3%82%B9%E3%83%9E%E3%83%BC%E3%83%88%E3%83%95%E3%82%A9%E3%83%B3%E3%81%AB%E3%82%88%E3%82%8BMATTER%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF%E3%81%AE%E5%88%B6%E5%BE%A1%E3%81%AB%E9%9D%9E%E5%B8%B8%E3%81%AB%E4%BE%BF%E5%88%A9%E3%81%AA%E3%83%84%E3%83%BC%E3%83%AB%E3%81%A7%E3%81%99%E3%80%82%E3%83%99%E3%83%B3%E3%83%80%E3%83%BC%E3%81%AFAPK%E3%81%AB%E3%81%95%E3%81%BE%E3%81%96%E3%81%BE%E3%81%AA%E6%A9%9F%E8%83%BD%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EAndroid%20Studio%E3%81%8A%E3%82%88%E3%81%B3%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%83%BB%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%A7%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89%E3%82%92%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E5%85%AC%E5%BC%8F%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89%E6%89%8B%E9%A0%86%E3%81%AF%E3%81%93%E3%81%A1%E3%82%89%E3%82%92%E3%81%94%E8%A6%A7%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fproject-chip%2Fconnectedhomeip%2Fblob%2Fmaster%2Fdocs%2Fguides%2Fandroid_building.md%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fproject-chip%2Fconnectedhomeip%2Fblob%2Fmaster%2Fdocs%2Fguides%2Fandroid_building.md%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22none%22%3E%E3%81%9F%E3%81%A0%E3%81%97%E3%80%81%E5%85%AC%E5%BC%8F%E3%82%AC%E3%82%A4%E3%83%89%E3%81%A7%E3%81%AFGUI%E3%81%AE%E3%81%AA%E3%81%84%EF%BC%88Android%20Studio%E3%81%8C%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%AA%E3%81%84%EF%BC%89Linux%E3%83%87%E3%82%A3%E3%82%B9%E3%83%88%E3%83%AA%E3%83%93%E3%83%A5%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%A7%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89%E6%96%B9%E6%B3%95%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%81%AF%E8%AA%AC%E6%98%8E%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%81%93%E3%81%AE%E8%A8%98%E4%BA%8B%E3%81%A7%E3%81%AF%E3%80%81Ubuntu%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7%E3%81%AE%E3%83%93%E3%83%AB%E3%83%89%E6%96%B9%E6%B3%95%E3%82%92%E7%B4%B9%E4%BB%8B%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId-1278868746%22%20id%3D%22toc-hId-1993676853%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EAndroid%20SDK%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ESDK%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%83%BB%E3%83%A9%E3%82%A4%E3%83%B3%E3%82%92%E6%AC%A1%E3%81%AE%E3%83%AA%E3%83%B3%E3%82%AF%E3%81%8B%E3%82%89%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.android.com%2Fstudio%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehttps%3A%2F%2Fdeveloper.android.com%2Fstudio%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%E3%80%82%E3%81%93%E3%81%A1%E3%82%89%E3%81%AE%E6%89%8B%E9%A0%86%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.android.com%2Ftools%2Fsdkmanager%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehttps%3A%2F%2Fdeveloper.android.com%2Ftools%2Fsdkmanager%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%E3%81%AB%E5%BE%93%E3%81%A3%E3%81%A6%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EAndroid-26%20SDK%E3%81%A823NDK%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%24%3CSPAN%20data-contrast%3D%22auto%22%3E.%2Fsdkmanager%26nbsp%3B%22platforms%3Bandroid-26%22%20%22%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Endk%3B23.2.8568313%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EExport%20env%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%20ANDROID_HOME%3D%3CSDK%20path%3D%22%22%3E%3C%2FSDK%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%20ANDROID_NDK_HOME%3D%3CSDK%20path%3D%22%22%3E%2Fndk%2F23.2.8568313%2F%3C%2FSDK%3E%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId--528585717%22%20id%3D%22toc-hId-186222390%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId-1958927116%22%20id%3D%22toc-hId--1621232073%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EInstall%26nbsp%3Bkotlin%26nbsp%3B(1.8.0)%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ecurl%20-s%20https%3A%2F%2Fget.sdkman.io%20%7C%20bash%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24sdk%26nbsp%3Binstall%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ekotlin%26nbsp%3B1.8.0%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24whereis%26nbsp%3Bkotlin%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24export%20PATH%3D%24PATH%3A%3CPATCH%20of%3D%22%22%20bin%3D%22%22%20of%3D%22%22%3E%3C%2FPATCH%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId-151472653%22%20id%3D%22toc-hId-866280760%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EGradle%E3%81%AE%E3%83%97%E3%83%AD%E3%82%AD%E3%82%B7%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%24%20cat%20~%2F.gradle%2Fgradle.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20Set%20the%20socket%20timeout%20to%205%20minutes%20(good%20for%20proxies)%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eorg.gradle.internal.http.socketTimeout%3D300000%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20the%20number%20of%20retries%20(initial%20included)%20(default%203)%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eorg.gradle.internal.repository.max.retries%3D10%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20the%20initial%20time%20before%20retrying%2C%20in%20milliseconds%20(default%20125)%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eorg.gradle.internal.repository.initial.backoff%3D500%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EsystemProp.http.proxyHost%3Dapac.nics.nxp.com%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EsystemProp.http.proxyPort%3D8080%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EsystemProp.http.nonProxyHosts%3Dlocalhost%7C*.nxp.com%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EsystemProp.https.proxyHost%3Dapac.nics.nxp.com%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EsystemProp.https.proxyPort%3D8080%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EsystemProp.https.nonProxyHosts%3Dlocalhost%7C*.nxp.com%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId--1655981810%22%20id%3D%22toc-hId--941173703%22%3E%3CSPAN%20data-contrast%3D%22none%22%3E%E3%83%97%E3%83%AD%E3%82%AD%E3%82%B7%E3%82%92%E6%A7%8B%E6%88%90%E3%81%99%E3%82%8B%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3E%E3%83%93%E3%83%AB%E3%83%89%E4%B8%AD%E3%81%AB%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89%E3%83%BB%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8%E7%94%A8%E3%81%AE%E3%83%97%E3%83%AD%E3%82%AD%E3%82%B7%E3%82%92%E6%A7%8B%E6%88%90%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%20FTP_PROXY%3D%22http%3A%2F%2Fapac.nics.nxp.com%3A8080%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3EHTTPS_PROXY%3D%22http%3A%2F%2Fapac.nics.nxp.com%3A8080%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3EHTTP_PROXY%3D%22http%3A%2F%2Fapac.nics.nxp.com%3A8080%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3ENO_PROXY%3D%22localhost%2C*.nxp.com%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eftp_proxy%3D%22http%3A%2F%2Fapac.nics.nxp.com%3A8080%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehttp_proxy%3D%22http%3A%2F%2Fapac.nics.nxp.com%3A8080%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehttps_proxy%3D%22http%3A%2F%2Fapac.nics.nxp.com%3A8080%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eexport%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eno_proxy%3D%22localhost%2C*.nxp.com%22%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20aria-level%3D%221%22%20id%3D%22toc-hId-831531023%22%20id%3D%22toc-hId-1546339130%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EGradle%20Java%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%AE%E3%83%91%E3%83%83%E3%83%81%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOpenJDK16%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AF%E3%80%81%E3%81%93%E3%81%AE%E6%89%8B%E9%A0%86%E3%81%AF%E3%82%B9%E3%82%AD%E3%83%83%E3%83%97%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%E3%81%9D%E3%82%8C%E4%BB%A5%E5%A4%96%E3%81%AE%E5%A0%B4%E5%90%88%E3%80%81OpenJDK%2017%20(Java%2061)%20%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E5%A0%B4%E5%90%88%E3%81%AF%E3%80%81Gradle%20%E3%82%92%207.1.1%20%E3%81%8B%E3%82%89%207.3%20%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%82%B0%E3%83%AC%E3%83%BC%E3%83%89%E3%81%97%E3%80%81java.io%20open%20%E3%82%92%20ALL-UNNAMED%20%E3%81%AB%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%EF%BC%9A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ediff%20--git%20a%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle.properties%26nbsp%3Bb%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eindex%2071f72db8c8..5bce4b4528%20100644%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E---%20a%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%2B%2B%2B%20b%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%40%40%20-6%2C7%20%2B6%2C8%20%40%40%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehttp%3A%2F%2Fwww.gradle.org%2Fdocs%2Fcurrent%2Fuserguide%2Fbuild_environment.html%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20Specifies%20the%20JVM%20arguments%20used%20for%20the%20daemon%20process.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20The%20setting%20is%20particularly%20useful%20for%20tweaking%20memory%20settings.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22none%22%3E-org.gradle.jvmargs%3D-Xmx4096m%20-XX%3AMaxPermSize%3D2048m%20-XX%3A%2BHeapDumpOnOutOfMemoryError%26nbsp%3B-Dfile.encoding%3DUTF-8%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22none%22%3E%2B%23org.gradle.jvmargs%3D-Xmx4096m%20-XX%3AMaxPermSize%3D2048m%20-XX%3A%2BHeapDumpOnOutOfMemoryError%26nbsp%3B-Dfile.encoding%3DUTF-8%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22none%22%3E%2Borg.gradle.jvmargs%3D-Xmx4096m%20-XX%3A%2BHeapDumpOnOutOfMemoryError%26nbsp%3B-Dfile.encoding%3DUTF-8%26nbsp%3B%20--add-opens%3Djava.base%2Fjava.io%3DALL-UNNAMED%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20When%20configured%2C%20Gradle%20will%20run%20in%20incubating%20parallel%20mode.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%20This%20option%20should%20only%20be%20used%20with%20decoupled%20projects.%20More%20details%2C%20visit%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%23%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehttp%3A%2F%2Fwww.gradle.org%2Fdocs%2Fcurrent%2Fuserguide%2Fmulti_project_builds.html%23sec%3Adecoupled_projects%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ediff%20--git%20a%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle%2Fwrapper%2Fgradle-wrapper.properties%26nbsp%3Bb%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle%2Fwrapper%2Fgradle-wrapper.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eindex%2005679dc3c1..e750102e09%20100644%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E---%20a%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle%2Fwrapper%2Fgradle-wrapper.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%2B%2B%2B%20b%2Fexamples%2Fandroid%2FCHIPTool%2Fgradle%2Fwrapper%2Fgradle-wrapper.properties%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%40%40%20-1%2C5%20%2B1%2C5%20%40%40%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EdistributionBase%3DGRADLE_USER_HOME%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EdistributionPath%3Dwrapper%2Fdists%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22none%22%3E-distributionUrl%3Dhttps%5C%3A%2F%2Fservices.gradle.org%2Fdistributions%2Fgradle-7.1.1-bin.zip%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22none%22%3E%2BdistributionUrl%3Dhttps%5C%3A%2F%2Fservices.gradle.org%2Fdistributions%2Fgradle-7.3-bin.zip%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EzipStoreBase%3DGRADLE_USER_HOME%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%20data-contrast%3D%22auto%22%3EzipStorePath%3Dwrapper%2Fdists%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3CH2%20id%3D%22toc-hId--975923440%22%20id%3D%22toc-hId--261115333%22%3E%3CSPAN%3E%E3%83%93%E3%83%AB%E3%83%89%EF%BC%86%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EGitHub%E3%81%8B%E3%82%89%E3%81%99%E3%81%B9%E3%81%A6%E3%81%AE%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%82%92%E8%A4%87%E8%A3%BD%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E%24git%20clone%20--single-branch%20--recurse-submodules%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fproject-chip%2Fconnectedhomeip.git%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fproject-chip%2Fconnectedhomeip.git%3C%2FA%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%20class%3D%22pl-c1%22%3E%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A%EF%BC%9A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%20class%3D%22pl-c1%22%3E%24source%3C%2FSPAN%3E%20scripts%2Fbootstrap.sh%3C%2FPRE%3E%0A%3CP%3E%E3%83%93%E3%83%AB%E3%83%89%3A%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E.%2Fscripts%2Fbuild%2Fbuild_examples.py%20--target%20android-arm64-chip-tool%20build%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3E%E3%83%93%E3%83%AB%E3%83%89%E3%81%97%E3%81%9FAPK%E3%82%92%E3%82%B9%E3%83%9E%E3%83%BC%E3%83%88%E3%83%95%E3%82%A9%E3%83%B3%E3%81%AB%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%20translate%3D%22no%22%3E%3CSPAN%3E%24adb%20install%20out%2Fandroid-arm64-chip-tool%2Foutputs%2Fapk%2Fdebug%2Fapp-debug.apk%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CBR%20%2F%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1881092%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAndroid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX%208%E3%83%95%E3%82%A1%E3%83%9F%E3%83%AA%20%7C%20i.MX%208QuadMax%E2%80%AF(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ei.MX%208M%20%7C%20i.MX%208M%20Mini%20%7C%20i.MX%208M%20Nano%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
評価なし
バージョン履歴
最終更新日:
‎06-04-2024 07:33 PM
更新者: