operator is not allowed for source level below 17 and Android requires compiler compliance level 5.0
来源:互联网 发布:网络运营许可证 编辑:程序博客网 时间:2024/05/20 11:47
今天在做一个蓝牙的项目的时候出现了个问题,首先是V7包,我在导入的时候,在导入界面V7包不显示出来,后来用了不正常人手段,让他导入进去了,给我的蓝牙项目做成了依赖库,然后呢,我在此调整我的项目改4.4到5.0。
然后出现了报错,请改17
operator is not allowed for source level below 17
宝宝很不开心的改了,结果又报错了
Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.
好吧,你牛,我跟着做
做完之后报错被干掉,但是他居然修改成 level 16
然后又报错,然后又改成17
死循环~~~~~~~~~~~~~~~~~~~~~~
我先clean,然后深吸一口气,V7包删掉,关掉ES
然后继续乖乖做,V7包先不管,先在报错,把下面JAR包统统干掉! 然后再次加回去
然后报错,先报错17哪里,手动施法。。。呸,是手动改错。
然后再去改后面的 Android Tools > Fix Project Properties.。。。。报错就消失了,然后在去修理V7那个二货就好了
关于V7包的问题,我在这里重中之重的强调一句话,很多人都忘记,切记!一定要把V7包和自己的项目文件放在一个盘符下,我知道有N个人看到这句话才反应过来自己的V7包不报错,但是你仔细看一眼你的依赖库或者关联是绿色的嘛。
0 0
- operator is not allowed for source level below 17 and Android requires compiler compliance level 5.0
- '<>' operator is not allowed for source level below 1.7
- <>' operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- '<>' operator is not allowed for source level below 1.7
- eclipse报错:'<>' operator is not allowed for source level below 1.7
- idea javaweb项目 jsp页面报错:'<>'operator is not allowed for source level below 1.7
- Resource specification not allowed here for source level below 1.7
- Resource specification not allowed here for source level below 1.7
- 解决Android requires compiler compliance level 5.0.错误
- Android requires compiler compliance level 5.0. Please fix project propertie
- Android requires compiler compliance level 5.0 or 6.0.
- 解决Android requires compiler compliance level 5.0.错误
- Lightoj-1347 Aladdin and the Magical Lamp(后缀数组&&线段树)
- 110. Balanced Binary Tree
- c++之引用
- 在公司的一堂课
- People Counting
- operator is not allowed for source level below 17 and Android requires compiler compliance level 5.0
- POJ1200-hash基础
- 104. Maximum Depth of Binary Tree
- Unable to instantiate activity
- LeetCode——Path Sum
- Hexo 搭建github个人博客
- MD5算法理论和实现
- JVM学习
- Yii