Issue 1:
Not sure if this an issue that needs to be addressed or a normal behavior. I was adding facebook login to my flutter app, as a simple procedure, I added some activities that enable Facebook SDK to login.

Steps to Reproduce

I added the activity

<activity android:name="com.facebook.FacebookActivity"
android:configChanges=
"keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name" />

before the

<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

now when I run the app(flutter run) I get this error and the app crashes.

exception

ProcessException: ProcessException: Process "/Users/muskan/Library/Android/sdk/platform-tools/adb" exited abnormally:
Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.brainants.debitcredit/com.facebook.FacebookActivity (has extras) }

Security exception: Permission Denial: starting Intent { act=android.intent.action.RUN flg=0x30000000 cmp=com.brainants.debitcredit/com.facebook.FacebookActivity (has extras) } from null (pid=14200, uid=2000) not exported from uid 10494

java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.RUN flg=0x30000000 cmp=com.brainants.debitcredit/com.facebook.FacebookActivity (has extras) } from null (pid=14200, uid=2000) not exported from uid 10494
at com.android.server.am.ActivityStackSupervisor.checkStartAnyActivityPermission(ActivityStackSupervisor.java:1793)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:844)
at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:573)
at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1250)
at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:515)
at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5916)
at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:5890)
at com.android.server.am.ActivityManagerShellCommand.runStartActivity(ActivityManagerShellCommand.java:483)
at com.android.server.am.ActivityManagerShellCommand.onCommand(ActivityManagerShellCommand.java:165)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.am.ActivityManagerService.onShellCommand(ActivityManagerService.java:17880)
at android.os.Binder.shellCommand(Binder.java:655)
at android.os.Binder.onTransact(Binder.java:553)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3542)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3805)
at android.os.Binder.execTransact(Binder.java:752)
Command: /Users/muskan/Library/Android/sdk/platform-tools/adb -s 3fabac74 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true com.brainants.debitcredit/com.facebook.FacebookActivity

#0 runCheckedAsync (package:flutter_tools/src/base/process.dart:251:5)
<asynchronous suspension>
#1 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:441:34)
<asynchronous suspension>
#2 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289:54)
<asynchronous suspension>
#3 HotRunner.run (package:flutter_tools/src/run_hot.dart:272:39)
<asynchronous suspension>
#4 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:398:37)
<asynchronous suspension>
#5 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:401:18)
#6 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#7 _rootRunUnary (dart:async/zone.dart:1132:38)
#8 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#9 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#10 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#11 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#12 Future._complete (dart:async/future_impl.dart:476:7)
#13 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#14 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#15 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#16 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#17 _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#18 _rootRunUnary (dart:async/zone.dart:1132:38)
#19 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#20 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#21 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#22 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#23 Future._complete (dart:async/future_impl.dart:476:7)
#24 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#25 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#26 _rootRun (dart:async/zone.dart:1124:13)
#27 _CustomZone.run (dart:async/zone.dart:1021:19)
#28 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#29 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#30 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#31 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#32 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor

�[32m[✓]�[39m Flutter (Channel dev, v1.0.0, on Mac OS X 10.14.2 18C38b, locale en-US)
�[32m•�[39m Flutter version 1.0.0 at /Users/muskan/flutter
�[32m•�[39m Framework revision 5391447fae (9 days ago), 2018-11-29 19:41:26 -0800
�[32m•�[39m Engine revision 7375a0f414
�[32m•�[39m Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

�[32m[✓]�[39m Android toolchain - develop for Android devices (Android SDK 28.0.3)
�[32m•�[39m Android SDK at /Users/muskan/Library/Android/sdk
�[32m•�[39m Android NDK location not configured (optional; useful for native profiling support)
�[32m•�[39m Platform android-28, build-tools 28.0.3
�[32m•�[39m Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
�[32m•�[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
�[32m•�[39m All Android licenses accepted.

�[32m[✓]�[39m iOS toolchain - develop for iOS devices (Xcode 10.1)
�[32m•�[39m Xcode at /Applications/Xcode.app/Contents/Developer
�[32m•�[39m Xcode 10.1, Build version 10B61
�[32m•�[39m ios-deploy 1.9.4
�[32m•�[39m CocoaPods version 1.5.3

�[32m[✓]�[39m Android Studio (version 3.2)
�[32m•�[39m Android Studio at /Applications/Android Studio.app/Contents
�[32m•�[39m Flutter plugin version 30.0.1
�[32m•�[39m Dart plugin version 181.5656
�[32m•�[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

�[32m[✓]�[39m VS Code (version 1.29.1)
�[32m•�[39m VS Code at /Applications/Visual Studio Code.app/Contents
�[32m•�[39m Flutter extension version 2.21.1

�[32m[✓]�[39m Connected device (1 available)
�[32m•�[39m ONEPLUS A6000 • 3fabac74 • android-arm64 • Android 9 (API 28)

�[32m•�[39m No issues found!

Again, not sure if this is completely normal for adb to try to initiate the first Activity in the manifest file. Either way just letting the team know.

Issue 2:
Steps to Reproduce

...

...

...

Logs