zoukankan      html  css  js  c++  java
  • Android Studio IDE 所遇问题汇总

    窗体视图无法显示
        在/res/values/styles.xml文件中,修改一下内容
    <!-- Base application theme. -->
    <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
    <!-- Customize your theme here. -->
    </style>
    
    
    【ActionBarActivity过时的解决方法】
        新版本中用AppCompatActivity代替了它
            导入R的包,删除下面没用的代码,然后ctrl+shift+O重新导包
    
    
    【启动android时报错】
    emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
        解决方法:
    just simply when creating an AVD uncheck the host gpu option in emulate performance tab
      // 意思是在创建Android 虚拟机时,取消
    
    
    【单词拼写错误】
    spellchecker inspection helps locate typos and misspelled in your code,comments and literals, and fix them in one click.
    拼写检查器检查可以帮助查找拼写错误和拼写错误在您的代码、 注释和文本、 并修复它们中一次点击。
    解决一:去掉单词拼写检查的选项

    File----Settings


    把Spelling typo勾选去掉(禁用单词拼写检查)

    解决二:

    选中单词,单击鼠标右键,卧槽。


    
    
    
    

    Change to...就不用了。

    
    

    Save ‘miyuehu’ to dictionary...不就是保存到词典的意思嚒。。。果断点了。在看看,波浪消失了。

     

    [SDk更新问题]

    mirrors.neusoft.edu.cn 80 或者 www.google.com 80

  • 相关阅读:
    request:getParameter和getAttribute区别
    JSP登录页面大小
    单例模式详情
    关于HTML的总结
    遍历HashMap的四种方法
    三层开发原则
    java日期
    oracle6
    tomcat
    Linux命令
  • 原文地址:https://www.cnblogs.com/kafeibuku/p/5320264.html
Copyright © 2011-2022 走看看