mumumusuc / termux-flutter

Run Flutter on Termux !
GNU General Public License v3.0
73 stars 10 forks source link

Important request #16

Closed L4R-777 closed 10 months ago

L4R-777 commented 10 months ago

Have too much errors in step or may be am wrong at something, kindly make a documentation on complete setup from scratch. It worth giving the documentation on setup for future flutter developers. Thanking you

mumumusuc commented 10 months ago

what is the error message?

L4R-777 commented 10 months ago

https://docs.google.com/document/d/1jOGrs3S3VhLp8-_d6LmgCfIKvu4wApV_0FfCYxU7nYI/edit?usp=drivesdk

Here is the output when running flutter build Linux

And can u please make doc of how to setup for Apk building(setup SDK, path)?

mumumusuc commented 10 months ago

dart-sdk is broken, remove <flutter-path>/bin/cache/dart-sdk then run the install script again.

And can u please make doc of how to setup for Apk building(setup SDK, path)?

As README says, download android-sdk and follow the instruction in release page.

L4R-777 commented 10 months ago

Can u please send me your telegram username ?

L4R-777 commented 10 months ago

I installed dart from official termux cli, and removed dart from flutter/bin/dart, still error arises

mumumusuc commented 10 months ago

I installed dart from official termux cli, and removed dart from flutter/bin/dart, still error arises

flutter doesn't use user's dart-sdk.

run flutter doctor -v and paste the output run flutter clean before flutter run

L4R-777 commented 10 months ago

Screenshot_2023-12-30-02-50-04-31_84d3000e3f4017145260f7618db1d683

I tried from scratch , it says some kinda Java versioning error

mumumusuc commented 10 months ago

I tried from scratch , it says some kinda Java versioning error

That's not a problem, because flutter cannot parse version string like 17-internal, it only accepts 17.xx.yy.