marcus728
marcus728
  • 发布:2023-11-03 21:13
  • 更新:2023-11-03 21:13
  • 阅读:264

离线打包安卓,配置了scheme ,拉不起来app

分类:uni-app

HBuilder 3.8.7 版本

我自己离线打包安卓app,配置了scheme ,拉不起来app

代码如下:

<activity  
            android:name="io.dcloud.PandoraEntry"  
            android:configChanges="orientation|keyboardHidden|keyboard|navigation"  
            android:label="@string/app_name"  
            android:launchMode="singleTask"  
            android:hardwareAccelerated="true"  
            android:theme="@style/TranslucentTheme"  
            android:screenOrientation="portrait"  
            android:windowSoftInputMode="adjustResize" >  
            <intent-filter>  
                <action android:name="android.intent.action.MAIN" />  
                <category android:name="android.intent.category.LAUNCHER" />  
            </intent-filter>  
        </activity>  
        <activity  
            android:name="io.dcloud.PandoraEntryActivity"  
            android:launchMode="singleTask"  
            android:configChanges="orientation|keyboardHidden|screenSize|mcc|mnc|fontScale|keyboard|smallestScreenSize|screenLayout|screenSize"  
            android:hardwareAccelerated="true"  
            android:permission="com.miui.securitycenter.permission.AppPermissionsEditor"  
            android:screenOrientation="portrait"  
            android:theme="@style/DCloudTheme"  
            android:windowSoftInputMode="adjustResize"  
        >  
            <intent-filter>  
                <category android:name="android.intent.category.DEFAULT" />  
                <category android:name="android.intent.category.BROWSABLE" />  
                <action android:name="android.intent.action.VIEW" />  
                <data android:scheme="testscheme" />  
            </intent-filter>  
        </activity>

然后使用

<a href="testscheme://test">TEST</a>

点击后,没有反应,拉不起来app

请问,不知道我哪里配置的不对呢?

2023-11-03 21:13 负责人:无 分享
已邀请:

要回复问题请先登录注册