WEB开发网
开发学院手机开发Android 开发 Android 初学者常见问题解析 阅读

Android 初学者常见问题解析

 2010-04-20 05:14:00 来源:WEB开发网   
核心提示:再打开cdm 运行adb push F:MP3EnglishSongAngels.mp3 sdcard(如果是用MediaStore获取歌曲列表,添加完后,Android 初学者常见问题解析(4),进入模拟器,进入Dev Tools

再打开cdm 运行

adb push F:MP3EnglishSongAngels.mp3 sdcard

(如果是用MediaStore获取歌曲列表,添加完后,进入模拟器,进入Dev Tools,里面有个Media Scanner.运行一下。ok现在进入应用就能看到歌曲列表了)

后查看sdcard 如下图:

10. Console

[2010-03-26 10:18:34 - TestMediaPlayer]Installation failed due to invalid APK file!

[2010-03-26 10:18:34 - TestMediaPlayer]Please check logcat output for more details.

[2010-03-26 10:18:34 - TestMediaPlayer]Launch canceled!

LogCat

03-26 02:18:33.950: DEBUG/asset(59): failed to open Zip archive '/data/app/vmdl10030.tmp'

03-26 02:18:33.959: WARN/PackageParser(59): Unable to read AndroidManifest.xml of /data/app/vmdl10030.tmp

03-26 02:18:33.959: WARN/PackageParser(59): java.io.FileNotFoundException: AndroidManifest.xml

03-26 02:18:33.959: WARN/PackageParser(59): at android.content.res.AssetManager.openXmlAssetNative(Native Method)

03-26 02:18:33.959: WARN/PackageParser(59): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:469)

03-26 02:18:33.959: WARN/PackageParser(59): at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:437)

03-26 02:18:33.959: WARN/PackageParser(59): at android.content.pm.PackageParser.parsePackageName(PackageParser.java:560)

03-26 02:18:33.959: WARN/PackageParser(59): at com.android.server.PackageManagerService.installPackageLI(PackageManagerService.java:4237)

03-26 02:18:33.959: WARN/PackageParser(59): at com.android.server.PackageManagerService.access$1600(PackageManagerService.java:109)

03-26 02:18:33.959: WARN/PackageParser(59): at com.android.server.PackageManagerService$5.run(PackageManagerService.java:3768)

03-26 02:18:33.959: WARN/PackageParser(59): at android.os.Handler.handleCallback(Handler.java:587)

03-26 02:18:33.959: WARN/PackageParser(59): at

上一页  1 2 3 4 5  下一页

Tags:Android 初学者 常见问题

编辑录入:coldstar [复制链接] [打 印]
赞助商链接