Android模拟器图像存储在哪里?

Get*_*awn 26 android android-emulator android-file

在模拟器上,我从Google下载了一张图片.我可以在模拟器上找到图像,但我不知道图像的文件位置是什么.要调试我的应用程序,我需要知道该图像的位置.如何获得图像的完整路径?

nne*_*neo 44

AVD文档:

默认情况下,android工具在~/.android/avd/(在Linux/Mac上),C:\Documents and Settings\<user>\.android\Windows XP以及C:\Users\<user>\.android\Windows 7和Vista上创建AVD目录.


小智 14

官方文档中不明显的事情

也许是这个?


Jer*_*ome 6

系统镜像下载在 [ {android_version_home_dir}/sdk/system-images/{android-version-number}/system.img> ]

并且 avd 在 C:\Users\.android\avd\ (windows) 或 ~/.android/avd/ (linux/mac) 中创建


Get*_*awn 4

这似乎对我有用:

String path = Environment.getExternalStorageDirectory().getPath();
String myJpgPath = path + "/Download/dog-best-friend-1.jpg";
Run Code Online (Sandbox Code Playgroud)