修复Android demo编译错误的问题

This commit is contained in:
huanglinhuan
2025-12-19 11:28:44 +08:00
parent 36841d0b48
commit 16a066ac94
7 changed files with 42 additions and 7 deletions

View File

@@ -4,12 +4,13 @@ plugins {
}
android {
compileSdk 31
namespace 'com.displayflow.receiver'
compileSdk 34
defaultConfig {
applicationId "com.displayflow.receiver"
minSdk 24
targetSdk 31
targetSdk 34
versionCode 1
versionName "1.0"
@@ -36,7 +37,7 @@ android {
externalNativeBuild {
cmake {
path file('src/main/cpp/CMakeLists.txt')
version '3.18.1'
version '3.22.1'
}
}
}

View File

@@ -8,9 +8,9 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:icon="@drawable/ic_launcher"
android:label="DisplayFlow Receiver"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@drawable/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.NoActionBar">
<activity

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z"/>
<path
android:fillColor="#FFFFFF"
android:pathData="M54,54m-20,0a20,20 0 1,1 40,0a20,20 0 1,1 -40,0"/>
</vector>