android疑难问题

问题集

2019-04-15  本文已影响0人  NullPoint3Exce
// 未解决
13:21   Emulator: emulator: ERROR: Could not load OpenGLES emulation library [libOpenglRender]: Could not load DLL!

13:21   Emulator: emulator: ERROR: Retrying in program directory/lib64...

13:21   Emulator: emulator: ERROR: Could not load OpenGLES emulation library [C:\Users\chen\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\lib64\libOpenglRender]: Could not load DLL! (2nd try)

13:22   Emulator: emulator: ERROR: OpenGLES emulation failed to initialize. Please consider the following troublesh

13:22   Emulator: Process finished with exit code -1073741819 (0xC0000005)

Question1: Add an Activity to Mobile 创建项目失败

一次升级版本后,创建module,到了 Add an Activity to Mobile 这步,就无法继续下一步的操作了。
解决:
删除androidstudio 配置文件
eg:~/资源库/Preferences/androidstudio3.3 删除重启。

image.png

Question2: Caused by: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.

android:theme="@style/Theme.AppCompat.Light.NoActionBar"

上一篇下一篇

猜你喜欢

热点阅读