antlersoft / android-vnc-viewer

Automatically exported from code.google.com/p/android-vnc-viewer
69 stars 26 forks source link

Installation fails on Froyo #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Installation from market: Installation failed
2. Installing from .apk : Installation failed

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Android 2.2 

Please provide any additional information below.

Here is the data from Dalvik Debug Monitor:

I/ActivityManager( 2442): Starting activity: Intent { 
dat=/sdcard/androidVNC_build20100725.apk 
cmp=com.android.packageinstaller/.InstallAppProgress (has extras) }
D/AudioHardwareALSA( 2338): 
D/AudioHardwareALSA( 2338): ------------------------>>>>>> ALSA OPEN mode 
0,device 2 
I/AudioHardwareALSA( 2338): Try to open ALSA PLAYBACK device 
AndroidPlayback_Speaker_normal
I/AudioHardwareALSA( 2338): Initialized ALSA PLAYBACK device 
AndroidPlayback_Speaker_normal
D/AudioHardwareALSA( 2338): Set PLAYBACK PCM format to S16_LE (Signed 16 bit 
Little Endian)
D/AudioHardwareALSA( 2338): Using 2 channels for PLAYBACK.
D/AudioHardwareALSA( 2338): Set PLAYBACK sample rate to 44100 HZ
D/AudioHardwareALSA( 2338): Buffer size: 2048
D/AudioHardwareALSA( 2338): Latency: 46439
D/dalvikvm( 3507): GC_EXPLICIT freed 64 objects / 3496 bytes in 35ms
D/MountService( 2442):  :::: getSecureContainerList :: 
D/VoldCmdListener( 2328): CommandListener::AsecCmd::runCommand -> ++ list 
D/VoldCmdListener( 2328): asec list
D/VoldCmdListener( 2328): CommandListener::AsecCmd::runCommand -> -- list 
I/PackageHelper( 3507): Size of container 2 MB 137420 bytes
D/MountService( 2442):  :::: createSecureContainer :: id = smdl2tmp1, sizeMb = 
2, fstype = fat, key = a50f4b0016c5cfc643de3ff5194645a6, ownerUid = 10060
D/VoldCmdListener( 2328): CommandListener::AsecCmd::runCommand -> ++ create 
D/VoldCmdListener( 2328): asec create smdl2tmp1 2 fat {} 10060
D/Vold    ( 2328): Loop::create -> id 1ebf5579178f5fff0c62fd706a516213,loopFile 
/mnt/secure/asec/smdl2tmp1.asec
D/Vold    ( 2328): Loop::create -> 
mknod(/dev/block/loop0,0x000061b0,0x00000700) 
D/Vold    ( 2328): Loop::create -> setting up loopback interface
D/Vold    ( 2328): Devmapper::create -> name 1ebf5579178f5fff0c62fd706a516213
D/Vold    ( 2328): void VolumeManager::handleBlockEvent(NetlinkEvent*): 
/devices/virtual/block/dm-1
W/Vold    ( 2328): No volumes handled block event for 
'/devices/virtual/block/dm-1'
D/Vold    ( 2328): void VolumeManager::handleBlockEvent(NetlinkEvent*): 
/devices/virtual/block/dm-1
W/Vold    ( 2328): No volumes handled block event for 
'/devices/virtual/block/dm-1'
E/Vold    ( 2328): Error creating device mapping (Device or resource busy)
E/Vold    ( 2328): ASEC device mapping failed (Device or resource busy)
I/ActivityManager( 2442): Displayed activity 
com.android.packageinstaller/.InstallAppProgress: 333 ms (total 333 ms)
E/PackageHelper( 3507): Failed to create secure container smdl2tmp1
E/DefContainer( 3507): Failed to create container smdl2tmp1
D/VoldCmdListener( 2328): CommandListener::AsecCmd::runCommand -> -- create ret 
= -1
D/dalvikvm( 2442): GC_EXPLICIT freed 10167 objects / 577144 bytes in 81ms
I/AudioHardwareALSA( 2338): Output standby called!!. Turn off PCM device.

Original issue reported on code.google.com by jede...@gmail.com on 30 Jul 2010 at 11:26

GoogleCodeExporter commented 9 years ago
The error log indicates a problem with your device; in particular it seems it 
can't create the secure partition on the SD card to store apps there.  Perhaps 
there is a problem with the SD card?

Recent versions of android-vnc-viewer install to the SD card by default.  If 
you can't fix SD installations on your device, one option would be to grab the 
source and turn off SD. Installs in the manifest and build your own apk.

Original comment by googlec...@antlersoft.com on 2 Aug 2010 at 4:03

GoogleCodeExporter commented 9 years ago
thanks, removing the sd card resolved the problem

Original comment by jede...@gmail.com on 2 Aug 2010 at 7:23

GoogleCodeExporter commented 9 years ago
I had android VNC running on a Pandigital Novel and loved it.  Now that I have 
"upgraded" to a Viewsonic G Tablet, I can't install android VNC.  I assume it 
is due to the sd card issue/problem.  I don't know how to/am not setup to 
compile (yet).  Would someone post or email me the apk compiled with sd card by 
default option?  Thanks in advance!

Paul

Original comment by paulroun...@gmail.com on 7 Nov 2010 at 6:19

GoogleCodeExporter commented 9 years ago
I am also having the same issues that Paul is having.  I just picked up a 
G-Tablet myself and would love to get this working on my device.  If anyone has 
a version that works with this device I would greatly appreciate it. I am new 
to the Android OS and linux in general, I wouldn't even know where to begin to 
fix it. Our devices utilize the internal memory as /SDCARD and the actual 
sdcard as /SDCARD2. Again any help with this would be greatly appreciated! 
Thanks all!

Original comment by jacob.w....@gmail.com on 14 Nov 2010 at 12:57

GoogleCodeExporter commented 9 years ago
BTW, I found 2 ways to install this as is on my Viewsonic G Tablet.  1) using 
adb with the -f option [adb install -f androidVNC_build20100819.apk] and 2) 
connect G Tablet to PC over USB with usb debugging on and install directly from 
tablet internal memory (/sdcard/download for me).  Hope it works for you.  FYI, 
no one provided an APK without sd card option.

Original comment by paulroun...@gmail.com on 14 Nov 2010 at 2:49

GoogleCodeExporter commented 9 years ago
Latest development apk on download page makes SD install optional; I'd 
appreciate it if someone who saw this problem checks to see if that resolves 
their install issues

Original comment by googlec...@antlersoft.com on 19 Nov 2010 at 8:04

GoogleCodeExporter commented 9 years ago
I just installed the latest APK directly from the downloads page here and it 
installed with no issues.  I did this from a clean flash that did not have any 
previous version of ANDROIDVNC installed. Thanks for the fix.  Love the app. 

Original comment by paulroun...@gmail.com on 25 Nov 2010 at 6:08

GoogleCodeExporter commented 9 years ago
remove the sd card and install using the -f option works for me.

Original comment by antonios...@gmail.com on 23 Feb 2012 at 2:15

GoogleCodeExporter commented 9 years ago
Hi, all:
    I met the similar issue. it happened "Failure [INSTALL_FAILED_CONTAINER_ERROR]" while i ran 'adb install xxx.apk', and the logcat message shows as below:
E/Vold(799): Error creating device mapping (Device or resource busy)
E/Vold(799): ASEC device mapping failed (Device or resource busy)
E/PackageHelper(1180): Failed to create secure container smdl2tmp1
E/DefContainer(1180): Failed to create container smdl2tmp1

in my phone, there's no external sdcard, so we partition the internal storage 
to use as sdcard and disable 'service sdcard' in 'init.xxx.rc', then the issue 
happen.
but while i try to install apk with "adb install -f xxx.apk", it works well.

looking forward to your comments!

Thanks
Haoran

Original comment by haoranm2...@gmail.com on 27 Jun 2012 at 11:26