You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documents/FAQ.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,6 +123,39 @@ Instructions for building, installing, and use of the Android SDK can be found [
123
123
### Where can I find MQTT 311 Samples?
124
124
The MQTT 311 Samples can be found in the v1.27.2 samples folder [here](https://github.com/aws/aws-iot-device-sdk-java-v2/tree/v1.27.2/samples)
125
125
126
+
### The library size is large, can I improve it?
127
+
The SDK depends on aws-crt-java(CRT) library, which deploys native binaries for multiple platforms and results in a huge size. You can try the following options to reduce the package size.
128
+
1. Use platform-specific dependencies
129
+
Instead of including all platform binaries, specify only the platforms you need.
130
+
Sample to use classifier from aws-crt:
131
+
```
132
+
<dependency>
133
+
<groupId>software.amazon.awssdk.crt</groupId>
134
+
<artifactId>aws-crt</artifactId>
135
+
<version>0.39.0</version>
136
+
<classifier>linux-x86_64</classifier> <!-- Only Linux 64-bit -->
0 commit comments