我有一个在所有4.x设备上都能完美工作的应用程序,但现在我有一个报告,这个应用程序在samsung_gt (advance)安卓2.3.6上不能工作。下面是跟踪信息:
FATAL EXCEPTION: main
java.lang.VerifyError: com.bamobile.fdtks.activities.MainActivity
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1409)
at android.app.Instrumentation
我在安卓系统中使用loginActivity。
误差
can not find symbol class Builder
我还导入了文件:com.google.android.gms.plus.PlusClient
这行的错误
mPlusClient = new PlusClient.Builder(this, this, this).setScopes(Scopes.PLUS_LOGIN, Scopes.PLUS_ME).build();
这是从模板自动生成的文件。造成这一错误的原因是什么?
编辑
我用的是安卓工作室
minSdkVersion 11
targetSdkVersion 21
Wikitude插件用于在基于Cordova的应用程序中创建我们自己的增强现实。但是在添加了插件之后,按照官方的例子,这个应用程序就失败了,
在安卓系统中,app.wikitudePlugin.isDeviceSupported由于错误而失败,
Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a null object reference
在iOS中,应用程序会因错误而崩溃,
This app has crashed because it attempted to a