React Native Android run causes “Illegal number of arguments for updateHotspot command”

As you have mentioned you have other features in the application which seem to work perfectly fine in ios built of your application but on android side it causes you the bug! this bug is mostly relevant to

Missing some implementation command in your gradle and also not writing the command of project exporting in your setting.gradle! simply try react-native link if that could do that automatically else type manually and this should go away!

What is React Native link to me han?

wellReact native link tries to bind your Lib’s configuration to both ios and android native code! its some time needed for some libraries/3rd party code and some time not!

It specifically targets in android system to have! exported modules in settings.gradle; along side your app level build.gradle to have implementation in dependencies and also links the library main module to your MyApplication file in java.

but here is a gotcha sometime it does not do! I think due to some poor or low standard coded libraries (no offence)! and some time process needs extra care so instead of relying on linking people like to go for manually linking ! NATIVE CODE IS TRICKY in this kind of nature you know.

bottom line

try linking! or do it manually! read the docs of last library you added before falling into a pit hole like this ! Especially in android side of the code!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)