Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

On Android receiving 'Couchbase Lite not installed' #26

Open
ghost opened this issue Apr 10, 2017 · 1 comment
Open

On Android receiving 'Couchbase Lite not installed' #26

ghost opened this issue Apr 10, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 10, 2017

Setup is as follows:
phonegap 6.4.6,
android studio 2.3,
JDK 8,
AVD Nexus 9 api 25
Android 7.1.1 x86,
1.5GB

ls plugins/ android.json cordova-plugin-contacts cordova-plugin-file-transfer cordova-plugin-network-information com.couchbase.lite.phonegap cordova-plugin-device cordova-plugin-geolocation cordova-plugin-splashscreen cordova-plugin-battery-status cordova-plugin-device-motion cordova-plugin-globalization cordova-plugin-statusbar cordova-plugin-camera cordova-plugin-device-orientation cordova-plugin-inappbrowser cordova-plugin-vibration cordova-plugin-compat cordova-plugin-dialogs cordova-plugin-media cordova-plugin-whitelist cordova-plugin-console cordova-plugin-file cordova-plugin-media-capture fetch.json

Plugins show in config.xml (attached)

Run phonegap run android

no errors even with --verbose

After emulator starts I get an alert 'Couchbase Lite not installed'

logcat shows

04-10 15:46:30.155: I/PackageManager.DexOptimizer(1757): Running dexopt (dex2oat) on: /data/app/vmdl493492682.tmp/base.apk pkg=com.couchbase.TodoLite isa=x86 vmSafeMode=false debuggable=true target-filter=interpret-only oatDir = /data/app/vmdl493492682.tmp/oat sharedLibraries=null 04-10 15:46:31.118: W/PackageManager(1757): Unknown permission android.permission.RECORD_VIDEO in package com.couchbase.TodoLite 04-10 15:46:31.162: D/installd(1307): Detected label change from u:object_r:system_data_file:s0 to u:object_r:app_data_file:s0:c512,c768 at /data/data/com.couchbase.TodoLite; running recursive restorecon 04-10 15:46:31.164: D/installd(1307): Detected label change from u:object_r:system_data_file:s0 to u:object_r:app_data_file:s0:c512,c768 at /data/user_de/0/com.couchbase.TodoLite; running recursive restorecon 04-10 15:46:31.177: V/BackupManagerService(1757): restoreAtInstall pkg=com.couchbase.TodoLite token=1 restoreSet=0 04-10 15:46:32.323: I/ActivityManager(1757): START u0 {act=android.intent.action.MAIN flg=0x10000000 cmp=com.couchbase.TodoLite/.MainActivity} from uid 2000 on display 0 04-10 15:46:32.402: I/ActivityManager(1757): Start proc 4131:com.couchbase.TodoLite/u0a71 for activity com.couchbase.TodoLite/.MainActivity 04-10 15:46:32.485: W/System(4131): ClassLoader referenced unknown path: /data/app/com.couchbase.TodoLite-1/lib/x86 04-10 15:46:32.977: D/VoldConnector(1757): SND -> {31 volume mkdirs /storage/emulated/0/Android/data/com.couchbase.TodoLite/files/} 04-10 15:46:32.985: D/VoldConnector(1757): SND -> {32 volume mkdirs /storage/09EC-2310/Android/data/com.couchbase.TodoLite/files/} 04-10 15:46:33.470: I/WindowManager(1757): Switching to real app window: Window{e8b4237 u0 com.couchbase.TodoLite/com.couchbase.TodoLite.MainActivity} 04-10 15:46:33.646: I/ActivityManager(1757): Displayed com.couchbase.TodoLite/.MainActivity: +1s261ms 04-10 15:46:38.896: I/UpdateIcingCorporaServi(3434): Updating corpora: APPS=com.couchbase.TodoLite, CONTACTS=MAYBE

I have attached the full log file.

Thank You,
Erik

failed_phonegap_todo_log.txt

config.txt

@ghost
Copy link
Author

ghost commented Apr 12, 2017

Not sure if this helps at all,

04-10 15:46:32.485: W/System(4131): ClassLoader referenced unknown path: /data/app/com.couchbase.TodoLite-1/lib/x86

./adb shell ls -la /data/app/com.couchbase.TodoLite-1/lib
total 16
drwxr-xr-x 2 system system 4096 2017-04-10 15:46 .
drwxr-xr-x 4 system system 4096 2017-04-10 15:46 ..

I don't see the x86 folder.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants