一开始我遇到的问题是,如果手机有SD卡槽,则不管有没有插卡,都会闪退,打日记后发现是找不到so文件.报错日记如下: nativeLibraryDirectories=[/data/app/com.lukouapp-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libxxxx.so 据大神说(转自http://www.jianshu.com/p/a75cc076480f),问题原因:64位机器默认去查找arm64-v8a目录…
java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.tongyan.tutelage-1/lib/arm/libstlport_shared.so: has text relocations at java.lang.Runtime.loadLibrary(Runtime.java:384) at java.lang.System.loadLibrary(System.java:1086) at net.sqlcipher.d…
最近在写本地录音转码过程中引入了liblame.so,我这边用了不同系统版本的手机测试本地录音都没有出现问题,但是有一天,同事在测试的时候,出现了以下错误: 09-13 17:32:29.140 26874-27362/com.axxn.xx E/linker: /data/app/com.axxn.xx-2/lib/arm/liblame.so: has text relocations 09-13 17:32:29.192 26874-27362/com.axxn.xx E/AndroidR…
Caused by: java.lang.ClassNotFoundException: Didn't find class "** *** ** **" on path: DexPathList[[zip file "/data/app/*** *** ***-2/base.apk"],nativeLibraryDirectories 解决方案: 备份项目  -> 工作空间 删除该项目 -> 导入备份项目 解决了 但是不知道为什么 ??? (求知道的大…
当make编译出现错误 usr/bin/ld: /data/app/openssl/lib/libcrypto.a(ecs_asn1.o): relocation R_X86_64_PC32 against symbol `ECDSA_SIG_it' can not be used when making a shared object; recompile with -fPIC 重新配置一下openssl 配置 ./config -fPIC 编译 make 安装 make install 然后…
一运行,加载mainActivity就报错 布局文件乱写一通,然后急着运行,报莫名其妙的错误: 07-09 07:28:38.350: E/AndroidRuntime(1437): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.googleplay.ui.activity.MainActivity" on path: DexPathList[[zip file "/da…
http://blog.csdn.net/lovexieyuan520/article/details/9032797/ 很多人出现了java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{*****Activity}: java.lang.ClassNotFoundException: Didn't find class "*****Activity" on path: /data/app/**…
错误信息: 12-26 11:08:44.809 1501-1535/system_process E/PackageInstaller: Commit of session 201020547 failed: Failed to collect certificates from /data/app/vmdl201020547.tmp/base.apk: META-INF/CERT.SF indicates /data/app/vmdl201020547.tmp/base.apk is sig…
Android Studio 在Gradle编译完成后安装APK时总是失败,EventLog提示如下信息: Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/vmdl99393454.tmp/10_slice__ signatures are inconsistent 因为昨天把SDK路径从“android_sdk/sdk”改成了“android_sdk”导致签名文件不一致,解决方式: Android Studi…
原文:http://www.codeproject.com/Articles/4135/XZip-and-XUnzip-Add-zip-and-or-unzip-to-your-app-w Download source files - 154.3 KB Introduction I have already introduced XZip in a previous article. This article presents XZip and also XUnzip, which toget…