Unity3D:Field text or type signature not found when i use GetStatic
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)
This is the C# code where i try to reach the "text" variable inside the plugin 
This is the class inside the android plugin 
This the AndroidManifest i placed inside Assets/Plugins/Android 
from Recent Questions - Stack Overflow https://ift.tt/3kOSohM
https://ift.tt/2EEEZte
Comments
Post a Comment