fix bugs.

This commit is contained in:
2025-12-02 15:37:29 +08:00
parent 7bf2297750
commit 8ce028379c
7 changed files with 44 additions and 66 deletions

View File

@@ -63,8 +63,7 @@ android {
// 【正式版图标】替换manifest中的占位符使用main目录下的正式图标
manifestPlaceholders = [
appIcon: "@mipmap/ic_launcher", // 需在main/res/mipmap放置该图标
fileProviderAuthority: "com.qxcm.qxlive.provider"
appIcon: "@mipmap/ic_launcher" // 需在main/res/mipmap放置该图标
]
}
@@ -81,8 +80,7 @@ android {
//
// // 【测试版图标】替换为测试专用图标
manifestPlaceholders = [
appIcon: "@mipmap/ic_launcher_app_bat", // 需在main/res/mipmap放置该图标
fileProviderAuthority: "com.qxcm.qxlive.beta.provider"
appIcon: "@mipmap/ic_launcher_app_bat" // 需在main/res/mipmap放置该图标
]
}
}

View File

@@ -202,17 +202,6 @@
android:exported="true"
/>
<!--<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>-->
</application>
<!-- <queries>-->
<!-- &lt;!&ndash; 支付宝 scheme &ndash;&gt;-->

View File

@@ -1,3 +0,0 @@
package com.qxcm.qxlive;
public class FileProvider extends androidx.core.content.FileProvider {}