各位会Android studio的博主们,不好意思叨扰一下:
是这样的我打开我同学的项目,他电脑跑的完全没问题,为啥子一到我这androidmainfest 文件和mainactivity文件就大面积报红,无法运行
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.MyApplication">
Attribute android:allowBackup is not allowed here
Attribute android:icon is not allowed here
Attribute android:roundIcon is not allowed here
Attribute android:supportsRtl is not allowed here
是不是SDK版本的问题,我试了一下午都改不过来,希望有能人指点一二,非常感谢!
sync同步或者build构建没有通过,看下build的日志,光看页面报红解决不了问题的
你的gradle同步成功了吗?
这些报红像是grald没同步成功导致的