• 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

  • 相关阅读:
    DS博客作业06--图
    DS博客作业05--树
    DS博客作业03--栈和队列
    DS博客作业02-线性表
    DS博客作业01--日期抽象数据类型设计与实现
    C语言博客作业06---结构体&文件
    C语言博客作业05---指针
    C语言博客作业04--数组
    DS博客作业08--课程总结
    DS博客作业07--查找
  • 原文地址:https://www.cnblogs.com/kafeibuku/p/5320264.html
Copyright © 2020-2023  润新知