当前位置: 首页 > 知识库问答 >
问题:

无法将我的颤振应用程序推送到 PlayStore,因为“意图过滤器,但没有'Android:导出'属性集”错误

胡越
2023-03-14

我尽力解决这个错误,请问有什么解决办法吗?manifest.xml文件关闭了。

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.zroom"
xmlns:tools="http://schemas.android.com/tools">
<queries>
    <!-- If your app opens https URLs -->
    <intent>
        <action android:name="android.intent.action.VIEW" />
        <data android:scheme="https" />
    </intent>
    <!-- If your app makes calls -->
    <intent>
        <action android:name="android.intent.action.DIAL" />
        <data android:scheme="tel" />
    </intent>
    <!-- If your sends SMS messages -->
    <intent>
        <action android:name="android.intent.action.SENDTO" />
        <data android:scheme="smsto" />
    </intent>
    <!-- If your app sends emails -->
    <intent>
        <action android:name="android.intent.action.SEND" />
        <data android:mimeType="*/*" />
    </intent>
</queries>
<!-- For Ios -->
<!--<key>LSApplicationQueriesSchemes</key>
<array>
    <string>https</string>
    <string>http</string>
</array>-->
<uses-permission android:name="android.permission.INTERNET"/> <!-- Add this -->
<application
    tools:replace="android:label"
    android:label="Zroom"
    android:exported="true"
    android:name="${applicationName}"
    android:icon="@mipmap/ic_launcher">
    <activity
        android:name=".MainActivity"
        android:exported="true"
        >
        <!-- Specifies an Android theme to apply to this Activity as soon as
             the Android process has started. This theme is visible to the user
             while the Flutter UI initializes. After that, this theme continues
             to determine the Window background behind the Flutter UI. -->
        <meta-data
            android:exported="true"
            android:name="io.flutter.embedding.android.NormalTheme"
            android:resource="@style/NormalTheme"
            />
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
        <intent-filter android:autoVerify="true">
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <!-- Accepts URIs that begin with https://YOUR_HOST -->
            <data

                android:scheme="https"
                android:host="meet.zroom.com" />
        </intent-filter>
    </activity>
    <!-- Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
    <meta-data
        android:name="flutterEmbedding"
        android:value="2" />
</application>

即使我将flutter更新到最新版本以及您可以看到的所有软件包,问题仍然会发生:

dependencies:

Flutter: sdk: flutter intl:^0.17.0jitsi_meet:^4.0.0shared_preferences:^2.0.15uni_links:^0.5.1flutter_inset_box_shadow:^1.0.7url_launcher:超文本传输协议:^0.13.4universal_html:^2.0.0 html:^0.15.0动画:^2.0.0

cupertino_icons:^1.0.2

dev_dependencies:flutter_test: sdk: flutterflutter_launcher_icons:^0.10.0flutter_native_splash:^2.0.1 1

flutter_native_splash:颜色:“#ffffff”图像:资产/图像/徽标小.png

flatter_icons:android:true-ios:true-image_path:“assets/images/logosmalx.png”

共有1个答案

慕容修伟
2023-03-14

问题是不支持目标 sdk = 31 的 jitsi_meet 颤振包。所以我使用了一个jitsi_meet_wrapper的替代包,一切都很好。

 类似资料:
  • 我正在努力解决下面的错误。 正如我在Targeting S(版本31及以上)中发现的那样,需要在存在意向过滤器时定义android:exported的显式值]和android Studio错误:“清单合并失败:针对android 12的应用程序”这只是将android:exported=“true”添加到android/app/src/main/AndroidManifest的问题。xml,但问题

  • 将颤振集成到主机应用程序(docs)时,有几种方法可以实现,其中一种(最简单的)方法是通过颤振活动类在新活动中打开颤振。这样地: 传统上,对于Flutter侧的Android风格窗口,我们创建带有后退按钮的AppBar。 此AppBar后退按钮和Android系统后退按钮的行为必须相同:按下后退按钮时,前台活动必须关闭(完成)。 目前系统后退按钮确实关闭了,但如何从flutters AppBar后

  • 我试图在Heroku上推动我的Spring Boot应用程序,我得到了一个错误:未能用Maven构建应用程序,即未能执行目标org.apache.Maven.plugins:maven-compiler-plugin:3.8.1:compile(default-compile)on project BlogApplication:致命错误编译:无效的目标版本:11。 日志: pom.xml

  • 当我运行颤动应用程序时,Android模拟器中没有任何反应,vscode控制台显示此错误: 颤振医生: 顺便说一下,dart和flutter插件都已安装。

  • 首先,抱歉英语不好。我从Flatter开始,我已经安装了所有必要的东西,但是当尝试运行测试应用程序(在模拟器或设备中)时,我会收到下面的错误消息。 正在启动lib\main。调试模式下XT1097上的dart。。。正在初始化gradle。。。正在解析依赖项…*运行Gradle时出错:从以下位置退出代码1:C:\Testes\first\u app\android\gradlew。bat应用程序:属

  • 我正试图生成一个构建apk,但出现以下错误。这与颤振版本2.8.1兼容 /home/dell/snap/Flatter/common/Flatter/bin/Flatter——无颜色构建apk 无声建筑零安全有关更多信息,请参阅https://dart.dev/null-safety/unsound-null-safety 警告:将新nshttp://schemas.android.com/rep

  • 更新: 20170703使用Android Studio3.0金丝雀5修改了一些Android清单和build.gradle文件, 从内部移动到内部为基地的Android清单和应用程序的Android清单,如下所示: 资源资产负债表: 网络验证成功通过(见下面的屏幕截图),上传了新的APK和ZIP(即时应用),但仍然存在无法推出即时应用的问题。 通过“实时聊天”联系了谷歌playstore的支持人