
升上android studio3.1之后,gradle build总是出现"".点击Run按钮,直接install Apk 5
升上3.1之后,gradlebuild总是出现“Theoption'android.enableAapt2'isdeprecatedandshouldnotbeuseda...
升上3.1之后,gradle build总是出现“The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018.”
当我改成 android.enableAapt2=true 以后,又有新的问题出现。
但是,使用build->build APK(s)时,可以生成APK包。
之后即使代码里有做修改,点击“Run”按钮时,直接install Apk,不再gradle build。
当我改成 android.enableAapt2=true 以后,出现的是“Message{kind=ERROR, text=error: style attribute '@android:attr/windowExitAnimation' not found., sources=[F:\Android Project\xxxx\app\src\main\res\values\xxxx_styles.xml:105:5-110:13], original message=, tool name=Optional.of(AAPT)}”的错误 展开
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018.”
当我改成 android.enableAapt2=true 以后,又有新的问题出现。
但是,使用build->build APK(s)时,可以生成APK包。
之后即使代码里有做修改,点击“Run”按钮时,直接install Apk,不再gradle build。
当我改成 android.enableAapt2=true 以后,出现的是“Message{kind=ERROR, text=error: style attribute '@android:attr/windowExitAnimation' not found., sources=[F:\Android Project\xxxx\app\src\main\res\values\xxxx_styles.xml:105:5-110:13], original message=, tool name=Optional.of(AAPT)}”的错误 展开
3个回答
展开全部
不用管这个警告,不影响使用。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
不用管那个警告。话说你升到3.1 build.gradle 编辑不卡吗,我是因为build。gradle编辑太卡了 又回退到3.0了。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
朋友,我想问问你这问题解决没?我手欠升级了,也遇到这个问题了
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询