Android Market Error -17&丢失但尚可用的相机:还有其他人遇到过这个以及可以做些什么吗?

时间:2011-06-21 16:36:18

标签: java android google-play android-2.1-eclair

问题:背景信息

我正在为一个名为“Layar”的软件的客户端编写应用程序。尝试从Android Market安装此软件时,我收到以下信息:“安装错误;未知原因-17。”我和一位同事一起搜索了网络,以获取信息和解决方案,但没有发现任何用处。

正在使用的硬件

我正在为几款HTC Sapphire 32B(HTC Magic)开发应用程序。这些手机目前正在运行自定义Android操作系统。据我所知,操作系统只是由于蓝牙正常操作的修改而“自定义”。 编辑:手机的操作系统是Android 2.1。

stackoverflow可以帮助

这是尝试下载程序时的相关输出(编辑后删除不必要的行):

D/vending ( 1849): com.android.vending.AssetDownloader.downloadAndInstall(): Initiating Download for 1 applications.
I/vending ( 1849): com.android.vending.util.DownloadManagerUtil.enqueueDownload(): Enqueue for download com.android.vending.util.DownloadManagerUtil$Request@43b942c8
I/vending ( 1849): com.android.vending.AssetDownloader.startDownload(): Download request row inserted at content://downloads/download/19
D/dalvikvm(   75): GC freed 25607 objects / 1316336 bytes in 589ms
D/vending ( 1849): com.android.vending.api.LocalAssetDatabase.notifyListener(): -1629133212261177266 / DOWNLOADING
D/dalvikvm( 2286): GC freed 4445 objects / 308864 bytes in 246ms
D/dalvikvm(  178): GC freed 7430 objects / 403216 bytes in 458ms
D/OpenSSLSessionImpl(  178): Freeing OpenSSL session
D/dalvikvm(  178): GC freed 1124 objects / 55112 bytes in 362ms
D/ddm-heap( 2329): Got feature list request
I/ActivityThread( 2329): Publishing provider com.google.android.gmail.SuggestionProvider: com.google.android.gm.SuggestionsProvider
I/ActivityThread( 2329): Publishing provider com.google.android.gm.attachmentspreviews: com.google.android.gm.AttachmentPreviewProvider
I/ActivityManager(   75): Process com.android.browser (pid 1224) has died.
D/dalvikvm( 2286): threadid=23 wakeup: interrupted
I/vending ( 1849): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$DownloadManagerService.startNextDownload(): Found Paused URI null
I/vending ( 1849): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$DownloadManagerService.startNextDownload(): No more paused downloads.
D/vending ( 1849): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$DownloadManagerService.handleDownloadCompletedAction(): Got a download completed intent.
D/vending ( 1849): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$DownloadManagerService.installFromUri(): Calling install uri=content://downloads/download/19 src=null assetId=-1629133212261177266 name=Layar last=TRUE
D/dalvikvm( 1849): GC freed 10970 objects / 628040 bytes in 400ms
D/vending ( 1849): com.android.vending.api.LocalAssetDatabase.notifyListener(): -1629133212261177266 / INSTALLING
D/PackageParser(   75): Scanning package: /data/app/vmdl48148.tmp
D/dalvikvm(   75): GC freed 14645 objects / 1016520 bytes in 296ms
I/dalvikvm-heap(   75): Grow heap (frag case) to 7.715MB for 88948-byte allocation
D/dalvikvm(   75): GC freed 402 objects / 62296 bytes in 269ms
D/dalvikvm(   75): GC freed 13251 objects / 892840 bytes in 272ms
D/dalvikvm( 2286): GC freed 6457 objects / 439400 bytes in 171ms
E/PackageManager(   75): Package com.layar requires unavailable feature android.hardware.camera; failing!
W/PackageManager(   75): Package couldn't be installed in /data/app/com.layar.apk
D/dalvikvm(   75): GC freed 22681 objects / 975952 bytes in 317ms
D/vending ( 1849): com.android.vending.api.LocalAssetDatabase.notifyListener(): -1629133212261177266 / INSTALL_FAILED
D/vending ( 1849): com.android.vending.VendingNotificationManager.showNotification(): Showing notification: [AssetID=-1629133212261177266, NotificationID=1229128979, Title=Layar, Message=Installation unsuccessful.]
I/vending ( 1849): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/download/19 failed: Unknown reason -17

我能看到的最重要的事情是:

E/PackageManager(   75): Package com.layar requires unavailable feature android.hardware.camera; failing!
I/vending ( 1849): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver$MyPackageInstallObserver.packageInstalled(): Package install from content://downloads/download/19 failed: Unknown reason -17

但是,相机 可用且 可用。有谁知道这可能导致什么?错误编号-17是否与相机问题有关?有没有人甚至遇到过这个?无论如何,如果您能提供帮助,请提前感谢您的时间和感谢!

1 个答案:

答案 0 :(得分:1)

我要尝试的第一件事是将应用程序下载到非自定义ROM设备,看看这里发生了什么。也许自定义rom以某种方式破坏了硬件报告。