首页 新闻 赞助 找找看

android新手,第一个hello world程序出错,恳求帮助

0
[待解决问题]

操作系统是win10,android studio 2.3 ,模拟器是studio自带的。

本人新手,写了第一个hello world程序,运行时模拟器可以显示,也可以显示hello world程序。但是会报错。下面是报错的日志:

E/libEGL(1296): load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
E/perfprofd(1317): unable to open configuration file /data/data/com.google.android.gms/files/perfprofd.conf
E/EmulatedCamera_HotplugThread(1305): createFileIfNotExists: Could not create file '/data/misc/media/emulator.camera.hotplug.0', error: 'Permission denied' (13)
E/EmulatedCamera_HotplugThread(1305): createFileIfNotExists: Could not create file '/data/misc/media/emulator.camera.hotplug.1', error: 'Permission denied' (13)
E/cutils-trace(1305): Error opening trace file: Permission denied (13)
E/CameraService(1305): setUpVendorTags: Vendor tag operations not fully defined. Ignoring definitions.
E/cutils-trace(1304): Error opening trace file: Permission denied (13)
E/audio_hw_generic(1304): Error opening input stream format 1, channel_mask 0010, sample_rate 16000
E/AudioFlinger(1304): int android::load_audio_interface(const char *, audio_hw_device_t **) couldn't load audio hw module audio.r_submix (No such file or directory)
E/AudioFlinger(1304): loadHwModule() error -2 loading module r_submix
E/RadioService(1304): couldn't load radio module radio.primary (No such file or directory)
E/SoundTriggerHwService(1304): couldn't load sound trigger module sound_trigger.primary (No such file or directory)
E/SurfaceFlinger(1296): hwcomposer module not found
E/cutils-trace(1296): Error opening trace file: Permission denied (13)
E/SurfaceFlinger(1296): ro.sf.lcd_density must be defined as a build property
E/libEGL(1370): load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
E/cutils-trace(1370): Error opening trace file: Permission denied (13)
E/memtrack(1303): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug(1303): failed to load memtrack module: -2
E/Typeface(1303): Error mapping font file /system/fonts/DroidSansFallback.ttf
E/libEGL(1303): load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
E/Hyphenator(1303): error loading hyphenation /system/usr/hyphen-data/hyph-as.hyb
E/Hyphenator(1303): java.io.FileNotFoundException: /system/usr/hyphen-data/hyph-as.hyb: open failed: ENOENT (No such file or directory)

 

zhongjjcntm的主页 zhongjjcntm | 菜鸟二级 | 园豆:202
提问于:2017-03-22 23:39
< >
分享
所有回答(3)
0
  • 1.Permission denied (13) 访问权限不够!

  • 2.dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found 相关引用的插件没包含。

BUTTERAPPLE | 园豆:3190 (老鸟四级) | 2017-03-23 10:02
0

能运行就先不必理会这些细节。

HBU_DAVID | 园豆:204 (菜鸟二级) | 2017-06-26 05:17
0

"/system/lib/egl/libGLES_emulation.so" not found   看看你这个包是不是没有这个so文件 百度下载这个文件,放入这个文件夹,build path 一下就可以正常运行了。

袁忠明 | 园豆:210 (菜鸟二级) | 2018-04-02 17:36
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册