android java.lang.RuntimeException: Stub!错误

Exception in thread "main" java.lang.RuntimeException: Stub!
at android.util.Base64.encodeToString(Base64.java:8)
at pos.tre.com.facedemo.TestChangeImage.GetImageStr(TestChangeImage.java:44)
at pos.tre.com.facedemo.TestChangeImage.main(TestChangeImage.java:17)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)

at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)


普通java项目里不能导入安卓的包

你可能感兴趣的:(Stub!)