1. 程式人生 > >關於錯誤Failed to open dex from file descriptor for zip file

關於錯誤Failed to open dex from file descriptor for zip file

I/PackageManager(  934): Running dexopt on: /system/app/Development/Development.apk pkg=com.android.development isa=x86 vmSafeMode=false with dexOptFlag=O2
I/dex2oat (10384): /system/bin/dex2oat --zip-fd=6 --zip-location=/system/app/Development/Development.apk --oat-fd=7 --oat-location=/data/dalvik-cache/x86/[email protected]
@[email protected]@classes.dex --instruction-set=x86 --instruction-set-features=sse4_2,aes_in,popcnt,movbe --runtime-arg -Xms64m --runtime-arg -Xmx512m --compiler-filter=interpret-only --swap-fd=21 E/dex2oat (10384): Failed to open dex from file descriptor for zip file '/system/app/Development/Development.apk': Entry not found E/installd( 647): DexInv: --- END '/system/app/Development/Development.apk' --- status=0x0100, process failed I/PackageManager( 934): Running dexopt on: /system/app/Development/Development.apk pkg=com.android.development isa=x86 vmSafeMode=false with dexOptFlag=O2 D/ ( 1670): Surface destroy: ANDROID_NATIVE_WINDOW_MAGIC W/Settings( 1549): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. W/Settings( 1549): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. E/installd( 647): DexInv: --- END '/system/app/DevI/dex2oat (10386): /system/bin/dex2oat --zip-fd=6 --zip-location=/system/app/Development/Development.apk --oat-fd=7 --oat-location=/data/dalvik-cache/x86/
[email protected]
@[email protected]@classes.dex --instruction-set=x86 --instruction-set-features=sse4_2,aes_in,popcnt,movbe --runtime-arg -Xms64m --runtime-arg -Xmx512m --compiler-filter=interpret-only --swap-fd=22 E/dex2oat (10386): Failed to open dex from file descriptor for zip file '/system/app/Development/Development.apk': Entry not foundelopment/Development.apk' --- status=0x0100, process failed W/ResourcesManager(10368): Asset path '/system/framework/android.test.runner.jar' does not exist or contains no resources. D/AndroidRuntime(10368): Shutting down VM E/AndroidRuntime(10368): FATAL EXCEPTION: main E/AndroidRuntime(10368): Process: com.android.development, PID: 10368 E/AndroidRuntime(10368): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.android.development/com.android.development.Development}: java.lang.ClassNotFoundException: Didn't find class "com.android.development.Development" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/app/Development/Development.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] E/AndroidRuntime(10368): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2236) E/AndroidRuntime(10368): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) E/AndroidRuntime(10368): at android.app.ActivityThread.access$800(ActivityThread.java:151) E/AndroidRuntime(10368): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) E/AndroidRuntime(10368): at android.os.Handler.dispatchMessage(Handler.java:102) E/AndroidRuntime(10368): at android.os.Looper.loop(Looper.java:135) E/AndroidRuntime(10368): at android.app.ActivityThread.main(ActivityThread.java:5258) E/AndroidRuntime(10368): at java.lang.reflect.Method.invoke(Native Method) E/AndroidRuntime(10368): at java.lang.reflect.Method.invoke(Method.java:372) E/AndroidRuntime(10368): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) E/AndroidRuntime(10368): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) E/AndroidRuntime(10368): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.development.Development" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/system/app/Development/Development.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]] E/AndroidRuntime(10368): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) E/AndroidRuntime(10368): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) E/AndroidRuntime(10368): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) E/AndroidRuntime(10368): at android.app.Instrumentation.newActivity(Instrumentation.java:1066) E/AndroidRuntime(10368): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2226) E/AndroidRuntime(10368): ... 10 more E/AndroidRuntime(10368): Suppressed: java.io.IOException: Zip archive '/system/app/Development/Development.apk' doesn't contain classes.dex (error msg: Entry not found) E/AndroidRuntime(10368): at dalvik.system.DexFile.openDexFileNative(Native Method) E/AndroidRuntime(10368): at dalvik.system.DexFile.openDexFile(DexFile.java:295) E/AndroidRuntime(10368): at dalvik.system.DexFile.<init>(DexFile.java:80) E/AndroidRuntime(10368): at dalvik.system.DexFile.<init>(DexFile.java:59) E/AndroidRuntime(10368): at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262) E/AndroidRuntime(10368): at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231) E/AndroidRuntime(10368): at dalvik.system.DexPathList.<init>(DexPathList.java:109) E/AndroidRuntime(10368): at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48) E/AndroidRuntime(10368): at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65) E/AndroidRuntime(10368): at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57) E/AndroidRuntime(10368): at android.app.LoadedApk.getClassLoader(LoadedApk.java:361) E/AndroidRuntime(10368): at android.app.LoadedApk.makeApplication(LoadedApk.java:553) E/AndroidRuntime(10368): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4530) E/AndroidRuntime(10368): at android.app.ActivityThread.access$1500(ActivityThread.java:151) E/AndroidRuntime(10368): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) E/AndroidRuntime(10368): ... 7 more E/AndroidRuntime(10368): Caused by: java.io.IOException: Failed to open oat file from dex location '/system/app/Development/Development.apk' E/AndroidRuntime(10368): ... 22 more E/AndroidRuntime(10368): Caused by: java.io.IOException: Failed to open oat file from /system/app/Development/x86/Development.odex (error Failed to open oat filename for reading: No such file or directory) (no dalvik_cache availible) and relocation failed. E/AndroidRuntime(10368): ... 22 more E/AndroidRuntime(10368): Caused by: java.io.IOException: E/AndroidRuntime(10368): ... 22 more E/AndroidRuntime(10368): Suppressed: java.lang.ClassNotFoundException: com.android.development.Development E/AndroidRuntime(10368): at java.lang.Class.classForName(Native Method) E/AndroidRuntime(10368): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) E/AndroidRuntime(10368): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) E/AndroidRuntime(10368): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) E/AndroidRuntime(10368): ... 13 more E/AndroidRuntime(10368): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

details and solution will be added the day after tomorrow. :)

do not create dex file .  Android.mk

+LOCAL_DEX_PREOPT := false

相關推薦

關於錯誤Failed to open dex from file descriptor for zip file

I/PackageManager( 934): Running dexopt on: /system/app/Development/Development.apk pkg=com.android.development isa=x86 vmSafeMode=false

MAC XAMPP搭建php開發環境,上傳圖片 move_uploaded_file出現錯誤 failed to open stream: Permission denied

1、daemon 改為apache 在電腦-設定-使用者與群組中,新增Apache群組 與Apache使用者。 並將etc-http.conf中的user 和group 改為Apache。 然後,在終端中  $ sudo chown Apache /Applications/XAMPP/xamppfiles/

使用android遇到的問題報failed to open zip file錯誤

在android studio匯入專案的時候出現了 failed to open zip file的錯誤, 根據網上的說法,定位到了,grale--->wrapper---->gradle-wrapper.properties的配置檔案,在檔案中, 關於distributionU

【Error】gdb.attach錯誤 Failed to read a valid object file image from memory.

python指令碼中pwntools gdb.attach遇到錯誤:Failed to read a valid object file image from memory. ****** Your encoding (ANSI_X3.4-1968) is different than UT

解決錯誤Error:Failed to open zip file. Gradle's dependency cache may be corrupt

錯誤樣例: 這句話的意思是 :打不開壓縮檔案, gradle依賴快取發生中斷 解決方式: 1.刪除專案中的 gradle資料夾—>wrapper資料夾 2.重新gradle編譯

Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

com add err erro lin .com aso tps color Try this : sudo modprobe vboxnetadp ref: https://github.com/gasolin/foxbox/issues/32Erro

windows下啟動redis提示Invalid argument during startup: Failed to open the .conf file: redis.windows.connf CWD=C:UsersAdministrator

環境 ini nbsp invalid file users 但是 user src 環境:Windows 7 64bit 旗艦版 redis 3.2.100 64bit 開始的時候,redis運行的好好的,不過每次啟動都要要進入其路徑,挺麻煩的,

Android Studio出現Failed to open zip file問題的解決方法

file clas andro led 新建 com 再次 roi width 新建一個Android項目,出現以上錯誤. 解決辦法: 修改gradle-wrapper.properties中的distributionUrl為: distributionUrl=http

failed to open the host key database file

watermark failed ima 51cto image secure log .com 其他 這個Secure CRT軟件是從其他地方考過來的。在WIN10上使用時出現了上面的提示頁面,每次使用的時候都提示,感覺很麻煩。 解決辦法:打開D:\SecureCRT\C

mysql source ERROR: Failed to open file '"D:\books_2.sql"', error22

mysqlserver:5.7 OS:windows10 出現問題原因:source打完之後直接託檔案進cmd然後就直接回車了,就出現了這個問題 首先百度出現了這個 第一次實驗: 然後還看到了另一個關於error 2*的意思的:不能識別目錄,不能讀取那個檔案等於"no

Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a net

AndroidStudio 3.2.1 遇到下面這個錯誤 解決辦法: distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip https修改成http

Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a net

修改 gradle-wrapper.properties為檔案的,從其他工程複製一份就可以,一樣的專案自帶的就不可以,複製一份就可以,Mac版android Studio3.1版本下面這段用第五行的就報錯,用第六行就可以。兩行程式碼用肉眼看明明是一樣的呀。把其中任意一行程式碼

java開發工具IntelliJ或eclipse中maven專案pom檔案錯誤failed to read artifact descriptor for xx.jar問題解決辦法

下載安裝好開發軟體之後,IntelliJ會自動對maven外掛進行配置,file-setting 輸入maven可檢視到配置資訊: pom檔案的編寫過程會出現project錯誤, 第一種想法:在第一張圖中home directory 和 setting file 第二種方法:

關於Android Studio出現Error:Failed to open zip file. Gradle's dependency cache may be corrupt 異常

今天本來開始使用Android Studio進行NDK開發入門,但是但我下載完安裝NDk之後,新建工程時就不斷的報這個錯誤。無論點選多少次Re-Download沒用。 這個錯誤還挺常見的,為了避免自己忘了,便編寫此文作為日誌。 ps:我出現過兩次這個情況,另一種是Andro

Error:Failed to open zip file.Gradle's dependency cache may be corrupt 【Mac系統 AS】

轉載請註明出處:http://blog.csdn.net/yudbl/article/details/78581508 To take advantage of all the latest features (such as Instant Run), impro

Android studio2.3更新以後Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this s

如題:在更新2.3以後報Error:Failed to open zip file. Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection tim

ssd sftp傳輸檔案問題出現 failed to open a secure file transfer session

系統:Centos 5.2 1、使用sshd 連線,sftp上傳檔案出現 failed to open a secure file transfer session錯誤提示 vi /etc/ssh/sshd_config    shift+G跳轉到檔案尾Subsystem sftp /usr/libe

failed to open file mysql,匯入mysql資料庫打不開的解決辦法

使用mysql匯入資料庫時很不湊巧的出現: Failed to open file 'xxx.sql', error: 2 出現這種情況時什麼都不要幹,第一在你的mysql中設定編碼模式 set n

Linux解決問題篇——ftp上傳檔案(使用put)時,permission denied,下載檔案(使用get)時,failed to open file

使用ftp連線本地伺服器時,在上傳put時出現問題,幾番折騰,最終解決。 我的操作流程:1、要上傳的檔案存在/tmp中,名稱為testfile,這個檔案我是使用dd建立的:dd if=/dev/zero of=/tmp/testfile bs=1M count=200,這

maven打包工程出現錯誤 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test

cut apach 解決辦法 blog 研究 gpo failed fire 描述 今天用maven在命令行打包項目的時候出現錯誤: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin: