Closed rhysturner closed 3 years ago
'ClassNotFoundException' suggests that the AVPro Video plugins are not making it to the build.
Can you check to see if they APK contains them? Or if you want to send us an APK to check, email it over to unitysupport@renderheads.com and mark the subject #794.
Are you building your Android build for ARM7, ARM64, x86? Or indeed a combination?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this as no response has been received.
Describe the issue AVPro suport on Android in a React Native Project
Your Setup (please complete the following information):
To Reproduce
yarn android
Note: AVPRo in React Native works fine in iOS but just not in Android.
Logs UnityEngine.AndroidJavaException: java.lang.ClassNotFoundException: com.renderheads.AVPro.Video.Manager at UnityEngine.AndroidJNISafe.CheckException () [0x00096] in <64438264e25a42398aa0824121908267>:0 at UnityEngine.AndroidJNISafe.FindClass (System.String name) [0x0000c] in <64438264e25a42398aa0824121908267>:0 at UnityEngine.AndroidJavaObject._AndroidJavaObject (System.String className, System.Object[] args) [0x0002d] in <64438264e25a42398aa0824121908267>:0 at UnityEngine.AndroidJavaObject..ctor (System.String className, System.Object[] args) [0x00008] in <64438264e25a42398aa0824121908267>:0 at RenderHeads.Media.AVProVideo.AndroidMediaPlayer.InitialisePlatform () [0x00040] in:0
at RenderHeads.Media.AVProVideo.MediaPlayer.CreateMediaPlayer (RenderHeads.Media.AVProVideo.MediaPlayer+OptionsAndroid options) [0x00002] in :0
at RenderHeads.Media.AVProVideo.MediaPlayer.CreateMediaPlayer () [0x00002] in :0
at RenderHeads.Media.AVProVideo.MediaPlayer.Initialise () [0x00000] in :0
at RenderHeads.Media.AVProVideo.MediaPlayer.OpenMedia (RenderHeads.Media.AVProVideo.MediaPathType pathType, System.String path, System.Boolean autoPlay) [0x0002e] in :0
at VideoControllerInput.LoadMovie (System.String mp4Str) [0x00031] in :0
Videos Any of the sample mp4s