- Home /
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 :0) UnityEngine.AndroidJNIHelper.GetFieldID (System.IntPtr javaClass, System.String fieldName, System.String signature, System.Boolean isStatic) (at :0) UnityEngine._AndroidJNIHelper.GetFieldID[ReturnType] (System.IntPtr jclass, System.String fieldName, System.Boolean isStatic) (at :0)