更新时间:2021-07-04 10:26:19
例外情况是清楚的。您需要设置机器人:出口=真正的
在AndroidManifest.xml文件中,您声明此活动
The exception is clear. You need to set android:exported="true"
in your AndroidManifest.xml file where you declare this Activity.
修改
<activity
android:name="com.example.lib.MainActivity"
android:label="LibMain"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" >
</action>
</intent-filter>
</activity>