示例项目链接:https://github.com/zarelaky/panoramagl-android
在运行示例项目时,如果我调用loadPanorama(position)
代替loadPanoramaFromJSON(position)
,我将收到错误日志。
代码段:
mPanoramaTypeSpinner.setOnItemSelectedListener(new OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView<?> parentView, View selectedItemView, int position, long id) {
// loadPanoramaFromJSON(position);
loadPanorama(position);
// loadPanorama(0);
}
@Override
public void onNothingSelected(AdapterView<?> parentView) {
}
});
错误日志:
06-18 15:27:58.342 21117-21149 / com.example.hellopanoramagl E / PanoramaGL - PLRenderableElementBase ::渲染: java.lang.UnsatisfiedLinkError:com.panoramagl.opengl.GLUES 在com.panoramagl.PLSceneBase.createRayWithPoint(PLSceneBase.java:419) 在com.panoramagl.PLSceneBase.endRender(PLSceneBase.java:352) 在 com.panoramagl.PLRenderableElementBase.render(PLRenderableElementBase.java:164) 在com.panoramagl.PLRenderer.renderScene(PLRenderer.java:267) 在com.panoramagl.PLRenderer.render(PLRenderer.java:317) 在com.panoramagl.PLRenderer.onDrawFrame(PLRenderer.java:477) 在 android.opengl.GLSurfaceView $ GLThread.guardedRun(GLSurfaceView.java:1535) 在android.opengl.GLSurfaceView $ GLThread.run(GLSurfaceView.java:1240) 06-18 15:27:58.364 21117-21149 / com.example.hellopanoramagl I / art:拒绝先前失败的类的重新初始化 java.lang.Class中
任何帮助都将不胜感激......