Friday, February 23, 2018

illegal number of arguments for updateHotspot command

Leave a Comment

I am creating a simple app using React Native for both iOS and Android. I've tested both platform for awhile and works very well. But recently, I was focus on iOS and all my functionalities works perfectly so far. But when I run it on Android specifically when I tried to add an item to my existing local data in AsyncStorage it gives me the following error:

illegal number of arguments for updateHotspot command 

My app have also other functionality that adds item that uses AsyncStorage with no problem. But again everything works fine in iOS.

I'm using Genymotion (trial version) to test it in an Android platform.

I tried to search from the Internet but to no avail. It seems to me it's a Java thing.

Update:

I am no longer using Genymotion (trial version expired) but just the emulator from Android Studio this time.

This is the error that I received:

enter image description here

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment