diff --git a/app/build.gradle b/app/build.gradle index afd43c2..d15bf90 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -60,6 +60,12 @@ android { experimental = true } namespace 'com.nova.brain.glass' + + packagingOptions { + // 确保只保留第一个遇到的 so 文件 + pickFirst 'lib/arm64-v8a/libr2aud.so' + pickFirst 'lib/armeabi-v7a/libr2aud.so' + } } dependencies { @@ -73,9 +79,9 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.3.0' - implementation 'tp.xmaihh:serialport:2.1' - - implementation 'com.rabbitmq:amqp-client:5.15.0' + implementation ('com.rokid.security:glass3.open.sdk:2.1.5-E') { + exclude group: "org.slf4j" + } } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index ccb9209..9f7f6f1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,8 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +