Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined

孙风畔
2023-12-01

TargetSdkVersion 31 ,Android Studio运行项目在Android 12上报错INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

activity节点加上 android:exported="true"

<activity
     android:name=".MainActivity"
     android:exported="true"
     android:launchMode="singleTop"
     android:theme="@style/LaunchTheme"
 </activity>

 类似资料:

相关阅读

相关文章

相关问答