-
Notifications
You must be signed in to change notification settings - Fork 195
Android release build error on v1.1.14 RNMixpanel.sharedInstanceWithToken got 3 arguments, expected 4 #218
Comments
I have same problem. |
Its ok in removing metro cache file |
@matt-dalton how did you fix it ? if you have |
you have a metro-cache directory under the tmp directory of your operating system. Remove this metro-cache file and rebuid. |
TypeError: Mixpanel.sharedInstanceWithToken is not a function |
Same here upgrading from 1.1.1 to 1.2.0, going to downgrade, since I've have checked/followed these as far as I can tell
Debug-mode is not an issue, only release-mode builds too RN 0.61.5 too |
Sorry @enigmablue - didn't see this. I'm still having problems with it. It just only seems to affect release builds on my simulator, so have just been building on device until now.
I tried this: And rebuilt and it didn't seem to fix anything. Has anyone else managed to work this out? |
When I try and create a release build using
react-native run-android --variant=release
, the app builds successfully, but then when I open it on the simulator I get:Library version 1.1.14, RN version 0.61.5
The Android gradle dependency tells me I'm using this version
com.mixpanel.android:mixpanel-android:5.6.8@aar
I've tested this on someone else's machine too and the same issue.
The text was updated successfully, but these errors were encountered: