Я пытаюсь развернуть приложение Google IO Schedule (http://code.google.com/p/iosched/),, которое отлично работает на планшете Motorola Xoom (ICS 4.03), на моем Nexus One (2.3), на эмуляторе.
Однако, когда я пытаюсьчтобы запустить его на планшете Novo 7 Padalin (ICS 4.01), я получаю сообщение INSTALL_FAILED_INVALID_APK.
Ниже приведен журнал, когда я пытаюсь развернуть приложение (имя пакета приложения отличается от исходного имени Google IO, ноэто то же самое приложение).
Кто-то ранее уже сообщал об этой проблеме, и она была опубликована на форуме LiveCode, но, поскольку StackOverflow довольно популярен, я решил дать ему краткое изложение для возможного решения. Или, может быть, этопроблема с этим конкретным планшетом / стеком Android.
http://forums.runrev.com/viewtopic.php?f=53&t=10606&p=50837#p50837
(у меня последняя версия Android ICS SDK в Mac OS X Lion.)
Манифест приложения:http://code.google.com/p/iosched/source/browse/android/AndroidManifest.xml
Журнал ошибок:
http://pastebin.com/jhGhRsv7
Target device: Novo7 Paladin
Uploading file
local path: /Users/user/Projects/USJ/mo.edu.usj.cis.android/out/production/mo.edu.usj.cis.android/mo.edu.usj.cis.android.apk
remote path: /data/local/tmp/mo.edu.usj.cis.android
Installing mo.edu.usj.cis.android
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/mo.edu.usj.cis.android"
pkg: /data/local/tmp/mo.edu.usj.cis.android
Failure [INSTALL_FAILED_INVALID_APK]
D/AndroidRuntime( 2502):
D/AndroidRuntime( 2502): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 2502): CheckJNI is OFF
D/AndroidRuntime( 2502): Calling main entry com.android.commands.pm.Pm
I/NativeLibraryHelper( 1172): hello +++++++++++++++++++++++++++++++++++++++++ /data/local/tmp/mo.edu.usj.cis.android --- /data/local/tmp/mo.edu.usj.cis.android ---(null) ok
D/NativeLibraryHelper( 1172): Comparing ABIs mips versus README.txt
D/NativeLibraryHelper( 1172): abi didn't match anything: README.txt (end at -1)
I/NativeLibraryHelper( 1172): hello +++++++++++++++++++++++++++++++++++++++++ /data/local/tmp/mo.edu.usj.cis.android --- /data/local/tmp/mo.edu.usj.cis.android ---(null) ok
D/NativeLibraryHelper( 1172): Comparing ABIs armeabi versus README.txt
D/NativeLibraryHelper( 1172): abi didn't match anything: README.txt (end at -1)
I/NativeLibraryHelper( 1172): hello +++++++++++++++++++++++++++++++++++++++++ /data/local/tmp/mo.edu.usj.cis.android --- /data/local/tmp/mo.edu.usj.cis.android ---(null) ok
D/NativeLibraryHelper( 1172): Comparing ABIs armeabi-v7a versus README.txt
D/NativeLibraryHelper( 1172): abi didn't match anything: README.txt (end at -1)
W/ActivityManager( 130): No content provider found for permission revoke: file:///data/local/tmp/mo.edu.usj.cis.android
D/dalvikvm( 1172): GC_CONCURRENT freed 395K, 8% free 6905K/7431K, paused 1ms+2ms
W/ActivityManager( 130): No content provider found for permission revoke: file:///data/local/tmp/mo.edu.usj.cis.android
D/dalvikvm( 130): GC_CONCURRENT freed 1159K, 11% free 11705K/13127K, paused 3ms+6ms
D/dalvikvm( 130): GC_FOR_ALLOC freed 755K, 11% free 11703K/13127K, paused 64ms
D/dalvikvm( 130): GC_FOR_ALLOC freed 732K, 11% free 11703K/13127K, paused 63ms
D/dalvikvm( 130): GC_FOR_ALLOC freed 739K, 11% free 11710K/13127K, paused 64ms
E/PackageManager( 130): ---------------------------------in else if /data/app/mo.edu.usj.cis.android-1.apk---/data/data/mo.edu.usj.cis.android/lib
I/NativeLibraryHelper( 130): hello +++++++++++++++++++++++++++++++++++++++++ /data/app/mo.edu.usj.cis.android-1.apk --- /data/app/mo.edu.usj.cis.android-1.apk ---(null) ok
D/NativeLibraryHelper( 130): Comparing ABIs mips versus README.txt
D/NativeLibraryHelper( 130): abi didn't match anything: README.txt (end at -1)
I/NativeLibraryHelper( 130): hello +++++++++++++++++++++++++++++++++++++++++ /data/app/mo.edu.usj.cis.android-1.apk --- /data/app/mo.edu.usj.cis.android-1.apk ---(null) ok
D/NativeLibraryHelper( 130): Comparing ABIs armeabi versus README.txt
D/NativeLibraryHelper( 130): abi didn't match anything: README.txt (end at -1)
I/NativeLibraryHelper( 130): hello +++++++++++++++++++++++++++++++++++++++++ /data/app/mo.edu.usj.cis.android-1.apk --- /data/app/mo.edu.usj.cis.android-1.apk ---(null) ok
D/NativeLibraryHelper( 130): Comparing ABIs armeabi-v7a versus README.txt
D/NativeLibraryHelper( 130): abi didn't match anything: README.txt (end at -1)
E/PackageManager( 130): --------------------------------- NativeLibraryHelper.copyNativeBinariesIfNeededLI err!
W/PackageManager( 130): Package couldn't be installed in /data/app/mo.edu.usj.cis.android-1.apk
D/dalvikvm( 130): GC_EXPLICIT freed 158K, 12% free 11678K/13127K, paused 4ms+11ms
D/AndroidRuntime( 2502): Shutting down VM
I/AndroidRuntime( 2502): NOTE: attach of thread 'Binder Thread #3' failed
D/dalvikvm( 2502): GC_CONCURRENT freed 123K, 78% free 465K/2048K, paused 1ms+0ms
D/jdwp ( 2502): Got wake-up signal, bailing out of select
D/dalvikvm( 2502): Debugger has detached; object registry had 1 entries
D/dalvikvm( 192): GC_CONCURRENT freed 689K, 64% free 9355K/25607K, paused 2ms+6ms
I/EventLogService( 223): Aggregate from 1327891093093 (log), 1327891093093 (data)
D/dalvikvm( 223): GC_CONCURRENT freed 400K, 9% free 7614K/8327K, paused 2ms+4ms