Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple_flutters_android not found #755

Closed
zsunkun opened this issue Mar 5, 2021 · 4 comments
Closed

multiple_flutters_android not found #755

zsunkun opened this issue Mar 5, 2021 · 4 comments
Assignees

Comments

@zsunkun
Copy link

zsunkun commented Mar 5, 2021

There is no multiple_flutters_android directory on the master branch.
https://github.com/flutter/samples/blob/master/add_to_app/multiple_flutters/multiple_flutters_android/README.md get 404

@xster
Copy link
Member

xster commented Mar 5, 2021

@gaaclarke let's merge #677

@xster
Copy link
Member

xster commented Mar 8, 2021

@zhouxin1233 please see our code of conduct at https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md and use productive language to help everyone move forward.

@gaaclarke
Copy link
Member

Landed.

@zhouxin1233
Copy link

@zhouxin1233 please see our code of conduct at https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md and use productive language to help everyone move forward.

2021-03-09 11:01:20.706 21297-21297/dev.flutter.multipleflutters E/AndroidRuntime: FATAL EXCEPTION: main
Process: dev.flutter.multipleflutters, PID: 21297
java.lang.RuntimeException: Unable to start activity ComponentInfo{dev.flutter.multipleflutters/dev.flutter.multipleflutters.SingleFlutterActivity}: java.lang.IllegalStateException: Failed to spawn new JNI connected shell from existing shell.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3762)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3938)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2277)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8425)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.IllegalStateException: Failed to spawn new JNI connected shell from existing shell.
at io.flutter.util.Preconditions.checkState(Preconditions.java:52)
at io.flutter.embedding.engine.FlutterJNI.spawn(FlutterJNI.java:342)
at io.flutter.embedding.engine.FlutterEngine.spawn(FlutterEngine.java:383)
at io.flutter.embedding.engine.FlutterEngineGroup.createAndRunEngine(FlutterEngineGroup.java:101)
at dev.flutter.multipleflutters.EngineBindings.(EngineBindings.kt:45)
at dev.flutter.multipleflutters.SingleFlutterActivity$engineBindings$2.invoke(SingleFlutterActivity.kt:16)
at dev.flutter.multipleflutters.SingleFlutterActivity$engineBindings$2.invoke(SingleFlutterActivity.kt:14)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at dev.flutter.multipleflutters.SingleFlutterActivity.getEngineBindings(Unknown Source:2)
at dev.flutter.multipleflutters.SingleFlutterActivity.provideFlutterEngine(SingleFlutterActivity.kt:30)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setupFlutterEngine(FlutterActivityAndFragmentDelegate.java:227)
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:155)
at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:409)
at dev.flutter.multipleflutters.SingleFlutterActivity.onCreate(SingleFlutterActivity.kt:20)
at android.app.Activity.performCreate(Activity.java:8183)
at android.app.Activity.performCreate(Activity.java:8167)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3735)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3938) 
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) 
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) 
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2277) 
at android.os.Handler.dispatchMessage(Handler.java:106) 
at android.os.Looper.loop(Looper.java:246) 
at android.app.ActivityThread.main(ActivityThread.java:8425) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants