Android Question SQLCipher Problem help

park jae hyun

Member
Licensed User
>>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
CheckJNI is ON


Trying to load lib libjavacore.so 0x0
Added shared lib libjavacore.so 0x0
Trying to load lib libnativehelper.so 0x0
Added shared lib libnativehelper.so 0x0
Calling main entry com.android.commands.pm.Pm
No content provider found for permission revoke: file:///data/local/tmp/1_DEBUG.apk
No content provider found for permission revoke: file:///data/local/tmp/1_DEBUG.apk
Removing non-system package:b4a.example
Force stopping package b4a.example uid=10062
Package b4a.example codePath changed from /data/app/b4a.example-1.apk to /data/app/b4a.example-2.apk; Retaining data and using new
Running dexopt on: b4a.example
DexOpt: 'Lorg/apache/commons/codec/Decoder;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/BinaryDecoder;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/Encoder;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/BinaryEncoder;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/DecoderException;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/EncoderException;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/StringDecoder;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/StringEncoder;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/StringEncoderComparator;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/binary/Base64;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/binary/BinaryCodec;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/binary/Hex;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/language/DoubleMetaphone$DoubleMetaphoneResult;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/language/DoubleMetaphone;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/language/Metaphone;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/language/RefinedSoundex;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/language/Soundex;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/language/SoundexUtils;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/net/RFC1522Codec;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/net/BCodec;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/net/QCodec;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/net/QuotedPrintableCodec;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/net/StringEncodings;' has an earlier definition; blocking out
DexOpt: 'Lorg/apache/commons/codec/net/URLCodec;' has an earlier definition; blocking out
DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Hex;'
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/Decoder;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/BinaryDecoder;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/Encoder;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/BinaryEncoder;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/DecoderException;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/EncoderException;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/StringDecoder;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/StringEncoder;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/StringEncoderComparator;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/binary/Base64;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/binary/BinaryCodec;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/binary/Hex;': multiple definitions


DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Hex;'
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/language/DoubleMetaphone$DoubleMetaphoneResult;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/language/DoubleMetaphone;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/language/Metaphone;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/language/RefinedSoundex;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/language/Soundex;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/language/SoundexUtils;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/net/RFC1522Codec;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/net/BCodec;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/net/QCodec;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/net/QuotedPrintableCodec;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/net/StringEncodings;': multiple definitions
DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/net/URLCodec;': multiple definitions
DexOpt: load 439ms, verify+opt 1964ms, 1650356 bytes
Force stopping package b4a.example uid=10062
Code path for pkg : b4a.example changing from /data/app/b4a.example-1.apk to /data/app/b4a.example-2.apk
Resource path for pkg : b4a.example changing from /data/app/b4a.example-1.apk to /data/app/b4a.example-2.apk
New package installed in /data/app/b4a.example-2.apk
Now staging backup of android
Force stopping package b4a.example uid=10062
WAIT_FOR_CONCURRENT_GC blocked 0ms
Reconfiguring input devices. changes=0x00000010
GC_EXPLICIT freed 1000K, 11% free 15183K/16903K, paused 31ms+18ms, total 245ms
generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
generateServicesMap(android.content.SyncAdapter): 4 services unchanged
Received broadcast Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:b4a.example flg=0x8000010 (has extras) }
Loaded meta-data for 1 account types, 0 accounts in 96ms(wall) 8ms(cpu)
generateServicesMap(android.accounts.AccountAuthenticator): 2 services unchanged
generateServicesMap(android.content.SyncAdapter): 4 services unchanged
Received broadcast Intent { act=android.intent.action.PACKAGE_ADDED dat=package:b4a.example flg=0x8000010 (has extras) }
removePackageParticipantsLocked: uid=10062 #1
Reconfiguring input devices. changes=0x00000010
Found no subtypes in a system IME: com.android.inputmethod.pinyin
addPackageParticipantsLocked: #1
Loaded meta-data for 1 account types, 0 accounts in 33ms(wall) 5ms(cpu)
WAIT_FOR_CONCURRENT_GC blocked 0ms
GC_CONCURRENT freed 386K, 6% free 11112K/11719K, paused 9ms+28ms, total 115ms
no available voice recognition services found
GC_EXPLICIT freed 588K, 11% free 15164K/16903K, paused 7ms+41ms, total 405ms
Shutting down VM
GC_CONCURRENT freed 97K, 78% free 452K/2048K, paused 2ms+2ms, total 17ms
NOTE: attach of thread 'Binder_3' failed

>>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
CheckJNI is ON
Trying to load lib libjavacore.so 0x0
Added shared lib libjavacore.so 0x0
Trying to load lib libnativehelper.so 0x0
Added shared lib libnativehelper.so 0x0
Calling main entry com.android.commands.am.Am
START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=b4a.example/.main u=0} from pid 2212
Failure taking screenshot for (328x583) to layer 21005
Shutting down VM
NOTE: attach of thread 'Binder_3' failed
GC_CONCURRENT freed 98K, 77% free 483K/2048K, paused 1ms+4ms, total 23ms
Start proc b4a.example for activity b4a.example/.main: pid=2223 uid=10062 gids={1015, 3003, 3002, 3001, 1028}
error opening trace file: No such file or directory (2)


Switching to real app window: Window{41695c28 b4a.example/b4a.example.main paused=false}


Skipped 30 frames! The application may be doing too much work on its main thread.


Emulator without GPU emulation detected.


Displayed b4a.example/.main: +2s768ms


** Activity (main) Create, isFirst = true **


GC_CONCURRENT freed 165K, 3% free 11044K/11271K, paused 22ms+42ms, total 252ms


false true


false true


Trying to load lib /data/data/b4a.example/lib/libstlport_shared.so 0x41498c08


Added shared lib /data/data/b4a.example/lib/libstlport_shared.so 0x41498c08


No JNI_OnLoad found in /data/data/b4a.example/lib/libstlport_shared.so 0x41498c08, skipping init


Trying to load lib /data/data/b4a.example/lib/libsqlcipher_android.so 0x41498c08
Added shared lib /data/data/b4a.example/lib/libsqlcipher_android.so 0x41498c08
No JNI_OnLoad found in /data/data/b4a.example/lib/libsqlcipher_android.so 0x41498c08, skipping init
Trying to load lib /data/data/b4a.example/lib/libdatabase_sqlcipher.so 0x41498c08


Added shared lib /data/data/b4a.example/lib/libdatabase_sqlcipher.so 0x41498c08
JNI_OnLoad called
JNI_OnLoad register methods
Error copying icu data file


java.io.FileNotFoundException: icudt46l.zip
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:315)
at android.content.res.AssetManager.open(AssetManager.java:289)
at net.sqlcipher.database.SQLiteDatabase.loadICUData(SQLiteDatabase.java:118)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:151)
at net.sqlcipher.database.SQLiteDatabase.loadLibs(SQLiteDatabase.java:137)
at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:50)
at b4a.example.main._activity_create(main.java:334)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at b4a.example.main.afterFirstLayout(main.java:98)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:615)


at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
net.sqlcipher.database.SQLiteException: not an error


at net.sqlcipher.database.SQLiteDatabase.dbopen(Native Method)
at net.sqlcipher.database.SQLiteDatabase.<init>(SQLiteDatabase.java:1951)
at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:901)
at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:948)
at anyhwheresoftware.b4a.objects.sqlcipher.SQLCipher.Initialize(SQLCipher.java:51)
at b4a.example.main._activity_create(main.java:334)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:175)
at b4a.example.main.afterFirstLayout(main.java:98)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)


at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Skipped 132 frames! The application may be doing too much work on its main thread.


Skipped 51 frames! The application may be doing too much work on its main thread.
 
Top