I am creating a simple app using React Native
for both iOS
and Android
. I've tested both platforms for a while and all works very well. But recently, I was focusing on iOS
and all my functionalities are working perfectly so far. But when I tried 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 has also other functions that ads item using 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 on the Internet but found nothing. 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: