![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编译问题
逆风Lee
这个作者很懒,什么都没留下…
展开
-
Android关于 'roundIcon' in package '的错误
在android 7.1(api level 25)有一个新特性,就是圆形桌面Icon,对应的是在AndroidManifest.xml的application节点配置:android:roundIcon=”@mipmap/ic_launcher_round” 有时候载入别人的项目会发现编译错误: Error:No resource identifier found for attribute原创 2017-06-22 13:31:33 · 6331 阅读 · 0 评论 -
Java配置问题一:has value '1.8', but '1.7' is required.
打开开始菜单,搜索regedit,打开注册表 打开”HKEY_LOCAL_MACHINE” 点击”SOFTWARE” 点击”JavaSoft” 点击”Java Runtime Environment” 选中”CurrentVersion” ,右键点击更改,改成”1.7”原创 2017-07-12 10:23:09 · 1909 阅读 · 0 评论 -
Android studio编译错误二:Error: The WIFI_SERVICE must be looked up on the Application
编译错误Error:Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing to .getApplicationContext() [WifiManagerLeak]原因Android 7.0 在获取原创 2017-07-17 16:40:24 · 5966 阅读 · 0 评论 -
Android studio编译错误三:Unsupported major.minor version 52.0
今天用android studio 3.0新建了一个kotlin的工程,用gradlew编译代码,出现错误: FAILURE: Build failed with an exception.Where: Build file ‘xxx/build.gradle’ line: 1What went wrong: xxx java.lang.UnsupportedClassVer...原创 2018-03-07 14:25:52 · 899 阅读 · 0 评论