Chinaunix首页 | 论坛 | 博客
  • 博客访问: 194260
  • 博文数量: 47
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 470
  • 用 户 组: 普通用户
  • 注册时间: 2014-06-18 12:09
个人简介

be a happy lazy and fat cat

文章分类
文章存档

2017年(1)

2016年(5)

2015年(22)

2014年(19)

我的朋友

分类: Android平台

2015-03-27 13:51:06

--------- beginning of crash
E/AndroidRuntime(11542): FATAL EXCEPTION: main
E/AndroidRuntime(11542): Process: com.android.speechrecorder, PID: 11542
E/AndroidRuntime(11542): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.speechrecorder/com.android.speechrecorder.SpeechRecorderActivity}: java.lang.ClassNotFoundException: Didn't find class "com.android.speechrecorder.SpeechRecorderActivity" on path: DexPathList[[zip file "/system/app/SpeechRecorder/SpeechRecorder.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
E/AndroidRuntime(11542):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2236)
E/AndroidRuntime(11542):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
E/AndroidRuntime(11542):        at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime(11542):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
E/AndroidRuntime(11542):        at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(11542):        at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(11542):        at android.app.ActivityThread.main(ActivityThread.java:5258)
E/AndroidRuntime(11542):        at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(11542):        at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(11542):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime(11542):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime(11542): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.speechrecorder.SpeechRecorderActivity" on path: DexPathList[[zip file "/system/app/SpeechRecorder/SpeechRecorder.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
E/AndroidRuntime(11542):        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime(11542):        at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime(11542):        at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/AndroidRuntime(11542):        at android.app.Instrumentation.newActivity(Instrumentation.java:1066)
E/AndroidRuntime(11542):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2226)
E/AndroidRuntime(11542):        ... 10 more
E/AndroidRuntime(11542):        Suppressed: java.io.IOException: Zip archive '/system/app/SpeechRecorder/SpeechRecorder.apk' doesn't contain classes.dex (error msg: Entry not found)
E/AndroidRuntime(11542):                at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime(11542):                at dalvik.system.DexFile.openDexFile(DexFile.java:295)
E/AndroidRuntime(11542):                at dalvik.system.DexFile.(DexFile.java:80)
E/AndroidRuntime(11542):                at dalvik.system.DexFile.(DexFile.java:59)
E/AndroidRuntime(11542):                at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
E/AndroidRuntime(11542):                at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)
E/AndroidRuntime(11542):                at dalvik.system.DexPathList.(DexPathList.java:109)
E/AndroidRuntime(11542):                at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:48)
E/AndroidRuntime(11542):                at dalvik.system.PathClassLoader.(PathClassLoader.java:65)
E/AndroidRuntime(11542):                at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime(11542):                at android.app.LoadedApk.getClassLoader(LoadedApk.java:361)
E/AndroidRuntime(11542):                at android.app.LoadedApk.makeApplication(LoadedApk.java:553)
E/AndroidRuntime(11542):                at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4530)
E/AndroidRuntime(11542):                at android.app.ActivityThread.access$1500(ActivityThread.java:151)
E/AndroidRuntime(11542):                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364)
E/AndroidRuntime(11542):                ... 7 more
E/AndroidRuntime(11542):        Caused by: java.io.IOException: Failed to open oat file from dex location '/system/app/SpeechRecorder/SpeechRecorder.apk'
E/AndroidRuntime(11542):                ... 22 more
E/AndroidRuntime(11542):        Caused by: java.io.IOException: Failed to open oat file from /system/app/SpeechRecorder/x86_64/SpeechRecorder.odex (error Failed to open oat filename for reading: No such file or directory) (no dalvik_cache availible) and relocation failed.

LOCAL_PATH:= $(call my-dir)                                                                                                                                                                                  
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := eng
LOCAL_DEX_PREOPT := false
LOCAL_SRC_FILES := $(call all-subdir-java-files) \

LOCAL_PACKAGE_NAME := SpeechRecorder

include $(BUILD_PACKAGE)

you can add the red line in this apk's Android.mk can fix this issue
阅读(8602) | 评论(0) | 转发(0) |
0

上一篇:adb remount failed

下一篇:no title

给主人留下些什么吧!~~