Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to register native method for 'isAutoRotationOn' #1

Open
fat0wl opened this issue Mar 23, 2018 · 2 comments
Open

Fails to register native method for 'isAutoRotationOn' #1

fat0wl opened this issue Mar 23, 2018 · 2 comments

Comments

@fat0wl
Copy link

fat0wl commented Mar 23, 2018

On a Samsung Galaxy S7 Edge I'm receiving the following error:

03-23 10:30:12.444 20044-20044/? E/art: Failed to register native method com.unity3d.player.UnityPlayer.nativeIsAutorotationOn()Z in /data/app/com.rnunitydemo-1/split_lib_dependencies_apk.apk:classes33.dex
03-23 10:30:12.445 20044-20044/? E/art: ----- class 'Lcom/unity3d/player/UnityPlayer;' cl=0x12caba90 -----

Will let you know if I figure anything out but perhaps you have some better intution about this?

(I'm using Unity 2017.3.1p2 to compile, fyi)

@f111fei
Copy link
Owner

f111fei commented Mar 23, 2018

Please tell me your unity version. I run the project in Unity 2017.2.0f3 without test in other versions. Suggest install Unity 2017.2.0f3 run the demo.

@fat0wl
Copy link
Author

fat0wl commented Mar 23, 2018

Sorry, had updated comment to include version but I guess after you saw it... will try with a match and let you know! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants