- Home /
Question by
yassineboudane · Sep 25, 2020 at 11:49 PM ·
c#androidpluginjar
Unity3D:Field text or type signature not found when i use GetStatic to reach a string inside a Jar android plugin
i am trying to add an android plugin to unity ...i have built an android project in eclipse and i have export it as jar ..then i have created Plugins/Android folders inside Assets folder in unity which i have placed the jar file with the AndroidManifest. The problem is that whenever i try to reach the class inside the plugin and try to get a static string using GetStatic it gives me this error:
Exception: Field text or type signature not found
UnityEngine._AndroidJNIHelper.GetFieldID (System.IntPtr jclass, System.String fieldName, System.String signature, System.Boolean isStatic) (at <276f2981b14b4cff9d7381915070a7a8>:0)
UnityEngine.AndroidJNIHelper.GetFieldID (System.IntPtr javaClass, System.String fieldName, System.String signature, System.Boolean isStatic) (at <276f2981b14b4cff9d7381915070a7a8>:0)
UnityEngine._AndroidJNIHelper.GetFieldID[ReturnType] (System.IntPtr jclass, System.String fieldName, System.Boolean isStatic) (at <276f2981b14b4cff9d7381915070a7a8>:0)
Comment
Your answer
Follow this Question
Related Questions
FB Gift Requests not appearing as Push Notification 0 Answers
Multiple Cars not working 1 Answer