Closed athompson887 closed 1 year ago
Can I get a hand here @gaaclarke and @xster?
Hi Brett,
Thanks for responding to me so quickly. I am an app developer and I have asked by my work to investigate adding flutter modules to native android and the medium post looks fantastic and pretty straight forward but as I have said it doesn’t seem to work properly. I have not changed the grade version or anything like that - the code is pretty much as it has been written. I am using Electric Eel but have tried it on older IDE’s.
Also the instructions for adding a flutter module are no longer available in more recent versions of the Android Studio IDE and have not been available for some time.
I am using a non intel Mac but I don’t think that is the cause because I know I have tried iton a PC.
I really appreciate any help you can give.
Kind regards
Andrew
On 26 Feb 2023, at 22:46, Brett Morgan @.***> wrote:
Can I get a hand here @gaaclarke https://github.com/gaaclarke and @xster https://github.com/xster?
— Reply to this email directly, view it on GitHub https://github.com/flutter/put-flutter-to-work/issues/193#issuecomment-1445488653, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEQZ42FZQNCJPVHWFBP4BTWZPMNDANCNFSM6AAAAAAVIVN4OQ. You are receiving this because you authored the thread.
While I wait on support from the engineers, can I ask you to do two things?
flutter/flutter
issue tracker regarding the missing instructions?I will continue to chase up this information, but having a bug tracking the specific missing documentation helps, and you'll get great support from the Flutter extended community on Stack Overflow.
Hi Andrew, Brett,
I took a look at the project and I was able to fix it for Android (also the Flutter part wasn't running either). I opened a PR: #195
Andrew, you can check out the code and check that it's working for you.
Once it's merged, it would be nice to update the documentation with the latest assets (the ones provided on the Readme have expired)
Brilliant thank you Sent from my iPhoneOn 28 Feb 2023, at 15:11, elainedb @.***> wrote: Hi Andrew, Brett, I took a look at the project and I was able to fix it for Android :) I opened a PR: #195 Andrew, you can check out the code and check that it's working for you. Once it's merged, it would be nice to update the documentation with the latest assets (the ones provided on the Readme have expired)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hi,It works!  I am so pleased.  It is a credit to you that you responded so quickly.  Thank you so much.Kind regards Andrew Sent from my iPhoneOn 28 Feb 2023, at 15:28, Andrew Thompson @.> wrote:Brilliant thank you Sent from my iPhoneOn 28 Feb 2023, at 15:11, elainedb @.> wrote: Hi Andrew, Brett, I took a look at the project and I was able to fix it for Android :) I opened a PR: #195 Andrew, you can check out the code and check that it's working for you. Once it's merged, it would be nice to update the documentation with the latest assets (the ones provided on the Readme have expired)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
I have built the aar. I have built the Android project and it runs and shows the list of items. When the list is scrolled it seems to try to load something but nothing actually renders. Investigation showed that it was compaining about đź‘Ž Cannot call this method in a scroll callback. Scroll callbacks mightbe run during a measure & layout pass where you cannot change theRecyclerView data. Any method call that might change the structureof the RecyclerView or the adapter contents should be postponed tothe next frame. I tried to mitigate this by starting the module after a delay after onResume - same sitation with error Rejecting re-init on previously-failed class java.lang.Class<io.flutter.embedding.android.FlutterActivity$1>
Am I on my own here. I cannot get a flutter module to actually load in an android project.