刚刚下载了SKMaps
Android SDK
和演示版。演示应用程序崩溃如下:
04-28 09:51:12.891: E/Adreno-ES11(22284): <qglDrvAPI_glDeleteTextures:371>: GL_INVALID_VALUE
04-28 09:51:12.897: A/libc(22284): Fatal signal 11 (SIGSEGV) at 0x00000074 (code=1), thread 22322 (Thread-7847)
04-28 09:52:07.843: E/Adreno-ES11(22486): <qglDrvAPI_glDeleteTextures:371>: GL_INVALID_VALUE
04-28 09:52:07.853: A/libc(22486): Fatal signal 11 (SIGSEGV) at 0x00000074 (code=1), thread 22529 (Thread-7859)
开发环境:Eclipse,Android 4.4.2,Device MotoG。 (对于所有与Skobbler相关的问题,应该有一个skmaps标签。我无法找到任何此类标签)。请注意,我在函数prepareMapCreatorFile中对SplashActivity.java进行了以下更改。我相信这是 有效的改变。
//final String mapCreatorFolderPath = Environment.getExternalStorageDirectory().getAbsolutePath() + "/SKMaps";
//
final String mapCreatorFolderPath;
if (isExternalStorageWritable()) {
mapCreatorFolderPath = getExternalFilesDir(null).getAbsolutePath() + "/SKMaps";
} else {
mapCreatorFolderPath = getFilesDir().getAbsolutePath() + "/SKMaps";
}
/* Checks if external storage is available for read and write */
private boolean isExternalStorageWritable() {
String state = Environment.getExternalStorageState();
if (Environment.MEDIA_MOUNTED.equals(state)) {
return true;
}
return false;
}
答案 0 :(得分:1)
对我来说有用的是删除应用程序并重新安装它,所以资产再次被复制,然后它突然起作用:X