zhuowei / Boardwalk

Source code for Boardwalk, a Minecraft Java Edition launcher for Android (not actively developed)
Apache License 2.0
364 stars 56 forks source link

Dex returned 11/Error: java.util.zip.ZipException: File too short to be a zip file: 0 #25

Open cerg2010cerg2010 opened 9 years ago

cerg2010cerg2010 commented 9 years ago

Version of Boardwalk: 1.0.2

Version of Android: 4.2.2

Device model: Highscreen Zera F

Description of the problem: Error: java.util.zip.ZipException: File too short to be a zip file: 0. I tried to delete the data, kill processes, task killer, safe mode, etc, but it still shows that error! Solution from Issue #2 does not help.

cerg2010cerg2010 commented 9 years ago

Something with DalvikVM while converting minecraft 1.7.10:

10-20 00:35:23.709 E/SQLiteLog( 3696): (14) cannot open file at line 30176 of [00bb9c9ce4] 10-20 00:35:23.710 E/SQLiteLog( 3696): (14) os_unix.c:30176: (2) open(/NotificationPermissions.db) - 10-20 00:35:23.710 D/WebKit ( 3696): ERROR: 10-20 00:35:23.710 D/WebKit ( 3696): SQLite database failed to load from /NotificationPermissions.db 10-20 00:35:23.710 D/WebKit ( 3696): Cause - unable to open database file 10-20 00:35:23.710 D/WebKit ( 3696): 10-20 00:35:23.710 D/WebKit ( 3696): external/webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71) : bool WebCore::SQLiteDatabase::open(const WTF::String&, bool) 10-20 00:35:54.513 E/CellLocation( 490): create GsmCellLocation 10-20 00:35:54.520 E/CellLocation( 490): create GsmCellLocation 10-20 00:35:54.532 E/CellLocation( 490): create GsmCellLocation 10-20 00:35:58.481 E/CellLocation( 490): create GsmCellLocation 10-20 00:35:58.486 E/CellLocation( 490): create GsmCellLocation 10-20 00:35:58.495 E/CellLocation( 490): create GsmCellLocation 10-20 00:36:05.595 D/libc-netbsd( 131): getaddrinfo: www.google.com NO result from proxy 10-20 00:36:05.596 D/libc-netbsd( 131): res_queryN name = www.google.com, class = 1, type = 1 10-20 00:36:05.608 D/libc-netbsd( 131): res_queryN name = www.google.com succeed 10-20 00:36:05.609 D/libc-netbsd( 828): getaddrinfo: www.google.com get result from proxy >> 10-20 00:36:05.729 E/NativeCrypto( 828): ssl=0x7663e5c0 cert_verify_callback x509_store_ctx=0x75fe3ab8 arg=0x0 10-20 00:36:05.729 E/NativeCrypto( 828): ssl=0x7663e5c0 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA 10-20 00:36:14.985 E/CellLocation( 490): create GsmCellLocation 10-20 00:36:14.988 E/CellLocation( 490): create GsmCellLocation 10-20 00:36:14.995 E/CellLocation( 490): create GsmCellLocation 10-20 00:37:14.796 E/dalvikvm( 5984): DalvikVM: double-overflow of stack in threadid=1; aborting 10-20 00:37:14.796 E/dalvikvm( 5984): VM aborting 10-20 00:37:14.796 F/libc ( 5984): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 5984 (dalvikvm) 10-20 00:37:14.800 I/DEBUG ( 5985): handle_request(15) 10-20 00:37:14.801 I/DEBUG ( 5985): check process 5984 name:dalvikvm 10-20 00:37:14.801 I/DEBUG ( 5985): BOOM: pid=5984 uid=10152 gid=10152 tid=5984 10-20 00:37:14.803 I/DEBUG ( 5985): [OnPurpose Redunant in preset_info] pid: 5984, tid: 5984, name: dalvikvm >>> dalvikvm <<< 10-20 00:37:14.904 I/DEBUG ( 5985): * * * * * * * * * * * * * * * * 10-20 00:37:14.904 I/DEBUG ( 5985): Build fingerprint: 'highscreen/highscreen/highscreen_Zera_F:4.2.2/JDQ39/1397713410:user/test-keys' 10-20 00:37:14.905 I/DEBUG ( 5985): pid: 5984, tid: 5984, name: dalvikvm >>> dalvikvm <<< 10-20 00:37:14.905 I/DEBUG ( 5985): signal 11 (SIGSEGV), code 1 (SEGVMAPERR), fault addr deadd00d 10-20 00:37:14.934 I/DEBUG ( 5985): r0 00000000 r1 a0d9760e r2 deadd00d r3 00000000 10-20 00:37:14.934 I/DEBUG ( 5985): r4 400d5318 r5 0000020c r6 8215d2e0 r7 8214bfec 10-20 00:37:14.934 I/DEBUG ( 5985): r8 00000000 r9 833791f2 sl befbb6a0 fp 00000000 10-20 00:37:14.934 I/DEBUG ( 5985): ip 400d0d7c sp befbb3d0 lr 401076f4 pc 400645e8 cpsr 60000030 10-20 00:37:14.941 I/DEBUG ( 5985): 10-20 00:37:14.941 I/DEBUG ( 5985): backtrace: 10-20 00:37:14.941 I/DEBUG ( 5985): #00 pc 000465e8 /system/lib/libdvm.so (dvmAbort+75) 10-20 00:37:14.941 I/DEBUG ( 5985): #01 pc 000610c3 /system/lib/libdvm.so (dvmHandleStackOverflow+38) 10-20 00:37:14.941 I/DEBUG ( 5985): #02 pc 0006130d /system/lib/libdvm.so 10-20 00:37:14.941 I/DEBUG ( 5985): #03 pc 000614b5 /system/lib/libdvm.so (dvmCallMethodV(Thread, Method const, Object, bool, JValue_, std::__valist)+24) 10-20 00:37:14.941 I/DEBUG ( 5985): #04 pc 000615d7 /system/lib/libdvm.so (dvmCallMethod(Thread, Method const, Object, JValue, ...)+20) 10-20 00:37:14.941 I/DEBUG ( 5985): #05 pc 00044a03 /system/lib/libdvm.so (dvmThrowChainedException(ClassObject, char const_, Object*)+494) 10-20 00:37:14.941 I/DEBUG

zhuowei commented 9 years ago

thanks - will try to fix.

zhuowei commented 9 years ago

Give http://zhuoweizhang.net/Boardwalk/Boardwalk-release.apk a try?

cerg2010cerg2010 commented 9 years ago

Converts good, but crashes after running (black screen, error message (not minecraft crash report) and controlls showing)

10-20 23:52:54.650 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.652 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.653 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.656 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.666 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.667 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.668 W/dalvikvm(15103): VFY: unable to find class referenced in signature (Landroid/support/v4/app/Fragment;) 10-20 23:52:54.668 E/dalvikvm(15103): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment 10-20 23:52:54.668 W/dalvikvm(15103): VFY: unable to resolve instanceof 165 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil; 10-20 23:52:54.668 E/dalvikvm(15103): Could not find class 'android.support.v4.app.FragmentActivity', referenced from method com.google.android.gms.common.GooglePlayServicesUtil.showErrorDialogFragment 10-20 23:52:54.668 W/dalvikvm(15103): VFY: unable to resolve check-cast 165 (Landroid/support/v4/app/FragmentActivity;) in Lcom/google/android/gms/common/GooglePlayServicesUtil; 10-20 23:52:56.391 D/libc-netbsd( 131): getaddrinfo: s3.amazonaws.com NO result from proxy 10-20 23:52:56.391 D/libc-netbsd( 131): res_queryN name = s3.amazonaws.com, class = 1, type = 1 10-20 23:52:56.420 D/libc-netbsd( 131): res_queryN name = s3.amazonaws.com succeed 10-20 23:52:56.421 D/libc-netbsd(15103): getaddrinfo: s3.amazonaws.com get result from proxy >> 10-20 23:53:03.191 D/libc-netbsd( 131): getaddrinfo: libraries.minecraft.net NO result from proxy 10-20 23:53:03.192 D/libc-netbsd( 131): res_queryN name = libraries.minecraft.net, class = 1, type = 1 10-20 23:53:03.193 D/libc-netbsd( 131): res_queryN name = libraries.minecraft.net succeed 10-20 23:53:03.193 D/libc-netbsd(15103): getaddrinfo: libraries.minecraft.net get result from proxy >> 10-20 23:53:03.280 E/NativeCrypto(15103): ssl=0x543f03c8 cert_verify_callback x509_store_ctx=0x54cedab8 arg=0x0 10-20 23:53:03.280 E/NativeCrypto(15103): ssl=0x543f03c8 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA 10-20 23:53:56.370 D/libc-netbsd( 131): getaddrinfo: www.google.com NO result from proxy 10-20 23:53:56.372 D/libc-netbsd( 131): res_queryN name = www.google.com, class = 1, type = 1 10-20 23:53:56.372 D/libc-netbsd( 131): res_queryN name = www.google.com succeed 10-20 23:53:56.377 D/libc-netbsd(11836): getaddrinfo: www.google.com get result from proxy >> 10-20 23:54:00.400 E/CellLocation( 491): create GsmCellLocation 10-20 23:54:00.410 E/CellLocation( 491): create GsmCellLocation 10-20 23:54:00.420 E/CellLocation( 491): create GsmCellLocation 10-20 23:54:38.045 E/CellLocation( 491): create GsmCellLocation 10-20 23:54:38.048 E/CellLocation( 491): create GsmCellLocation 10-20 23:54:38.057 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:29.991 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:29.995 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:30.015 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:44.600 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:44.604 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:44.610 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:53.039 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:53.044 E/CellLocation( 491): create GsmCellLocation 10-20 23:55:53.049 E/CellLocation( 491): create GsmCellLocation 10-20 23:56:06.432 E/AndroidRuntime(15103): FATAL EXCEPTION: GLThread 746 10-20 23:56:06.432 E/AndroidRuntime(15103): java

cerg2010cerg2010 commented 9 years ago

Not full log:

10-20 23:56:06.432 E/AndroidRuntime(15103): java.lang.RuntimeException: java.lang.ClassNotFoundException: Didn't find class "net.minecraft.client.Minecraft" on path: DexPathList[[zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/mojang/realms/1.3.5/realms-1.3.5.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/google/guava/guava/15.0/guava-15.0.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/commons-io/commons-io/2.4/commons-io-2.4.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/mojang/authlib/1.5.16/authlib-1.5.16.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/tv/twitch/twitch/5.16/twitch-5.16.jar"],nativeLibraryDirectories=[/data/app-lib/net.zhuoweizhang.boardwalk-2, /vendor/lib, /system/lib]] 10-20 23:56:06.432 E/AndroidRuntime(15103): at net.zhuoweizhang.boardwalk.MainActivity.runCraft2(MainActivity.java:545) 10-20 23:56:06.432 E/AndroidRuntime(15103): at net.zhuoweizhang.boardwalk.MainActivity$2.onSurfaceCreated(MainActivity.java:146) 10-20 23:56:06.432 E/AndroidRuntime(15103): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1494) 10-20 23:56:06.432 E/AndroidRuntime(15103): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240) 10-20 23:56:06.432 E/AndroidRuntime(15103): Caused by: java.lang.ClassNotFoundException: Didn't find class "net.minecraft.client.Minecraft" on path: DexPathList[[zip file "/data/data/net.zhuoweizhang.boardwalk/app_working_dir/dexed_libraries/com/mojang/realms/1.3.5/realms-1.3.5.jar", zip file "/data/data/net.zhuoweizhang.boardwalk/app_work 10-20 23:56:06.506 E/AppErrorDialog( 491): Failed to get ILowStorageHandle instance 10-20 23:56:10.882 E/CellLocation( 491): create GsmCellLocation 10-20 23:56:10.886 E/CellLocation( 491): create GsmCellLocation 10-20 23:56:10.890 E/CellLocation( 491): create GsmCellLocation

mralext20 commented 9 years ago

suggestion: use gist.github.com

zhuowei commented 9 years ago

Clear data and try again? Minecraft didn't convert correctly.

cerg2010cerg2010 commented 9 years ago

Now Error: java.lang.RuntimeException: java.lang.RuntimeException: Dex returned 11 with error:

cerg2010cerg2010 commented 9 years ago

Log:

https://docs.google.com/file/d/0B89MjDzbWX2waWRMUE9wZVZ4bGs/edit?usp=docslist_api

542687603 commented 9 years ago

screenshot_2014-10-13-13-27-16 Version of Boardwalk 1.0.3 Version of Android 4.3 Device model XiaoMi HM 1SC Can fix this Bug?

kevinrodolfo commented 9 years ago

Re install the aplication on play store and erase the carpet boardwalk.

fabiam commented 9 years ago

Android: 4.0.3 Modelo: Samsung galaxy tab 2 7.0 Este es mi error y no puedo entrar al minecraft AYUDA!!! : Error: java.lang.RuntimeException: java.lang.RuntimeException: Dex regresó 11 con el error:

lvzhuozhao commented 7 years ago

这个问题则么解决呢? 哪位大神 指导一下