This happens in android studio, because the jump page does not have permission to add, just add permission in AndroidManifest Under the
same package name:
<activity android:name=".MainActivity"/>
different package name
<activity android:name="com.example.administrator.activity_intent.MainActivity"></activity>
里面的mainactivity是你自己的文件名