编译配置文件修复
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed Nov 12 23:48:49 GMT 2025
|
||||
#Wed Nov 12 23:59:20 GMT 2025
|
||||
stageCount=0
|
||||
libraryProject=
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.0
|
||||
buildCount=2
|
||||
buildCount=6
|
||||
baseBetaVersion=15.11.1
|
||||
|
||||
@@ -3,13 +3,14 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="cc.winboll.studio.positions">
|
||||
|
||||
<!-- 权限配置不变 -->
|
||||
<!-- 权限配置 -->
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION"/>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<!-- 仅保留Android 8.0以下所需权限,若最低版本≥API26可移除 -->
|
||||
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
|
||||
|
||||
<uses-feature
|
||||
@@ -24,13 +25,15 @@
|
||||
android:resizeableActivity="true"
|
||||
android:name=".App">
|
||||
|
||||
<!-- 主Activity(非启动入口,无需LAUNCHER意图) -->
|
||||
<!-- 主Activity(核心页面,非启动入口) -->
|
||||
<activity
|
||||
android:name=".MainActivity"
|
||||
android:label="@string/app_name">
|
||||
|
||||
</activity>
|
||||
|
||||
<!-- 独立CrashActivity(替换内部类声明,避免实例化失败) -->
|
||||
<activity android:name=".activities.CrashActivity"/>
|
||||
|
||||
<!-- Wukong 别名入口(默认禁用,通过代码启用) -->
|
||||
<activity-alias
|
||||
android:name=".MainActivityWukong"
|
||||
@@ -38,7 +41,7 @@
|
||||
android:exported="true"
|
||||
android:label="@string/app_name"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:enabled="true"> <!-- 默认禁用,避免桌面显示 -->
|
||||
android:enabled="true">
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
@@ -53,12 +56,12 @@
|
||||
|
||||
<!-- Laojun 别名入口(默认禁用,通过代码启用) -->
|
||||
<activity-alias
|
||||
android:name=".PlusActivity"
|
||||
android:targetActivity=".PlusActivity"
|
||||
android:name=".MainActivityLaojun"
|
||||
android:targetActivity=".MainActivity"
|
||||
android:exported="true"
|
||||
android:label="@string/appplus_name"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:enabled="false"> <!-- 默认禁用,避免桌面显示 -->
|
||||
android:enabled="false">
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
@@ -71,18 +74,20 @@
|
||||
android:resource="@xml/shortcutsplus" />
|
||||
</activity-alias>
|
||||
|
||||
<!-- 其他配置不变 -->
|
||||
<!-- 屏幕适配配置 -->
|
||||
<meta-data
|
||||
android:name="android.max_aspect"
|
||||
android:value="4.0"/>
|
||||
|
||||
<activity android:name=".GlobalApplication$CrashActivity"/>
|
||||
<!-- 其他Activity -->
|
||||
<activity android:name="cc.winboll.studio.positions.activities.LocationActivity"/>
|
||||
|
||||
<!-- Google服务版本配置 -->
|
||||
<meta-data
|
||||
android:name="com.google.android.gms.version"
|
||||
android:value="@integer/google_play_services_version"/>
|
||||
|
||||
<!-- 服务声明 -->
|
||||
<service
|
||||
android:name=".services.MainService"
|
||||
android:exported="false"/>
|
||||
@@ -93,6 +98,7 @@
|
||||
android:name=".services.DistanceRefreshService"
|
||||
android:exported="false"/>
|
||||
|
||||
<!-- 广播接收器 -->
|
||||
<receiver android:name="cc.winboll.studio.positions.receivers.MotionStatusReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="cc.winboll.studio.positions.receivers.MotionStatusReceiver"/>
|
||||
|
||||
Reference in New Issue
Block a user