
AS_踩坑
安卓系列的相关问题
尘埃里的邂逅
做一个不一样的搬砖狗,成为不一样的花火。。。。
展开
-
Error:Duplicate class org.intellij.lang.annotations.Flow found in modules annotations-13.0.jar
问题1意思是重复导入了jar包,解决办法:在build.gradle(module app) 里面加入几行代码即可: configurations { cleanedAnnotations compile.exclude group: 'org.jetbrains' , module:'annotations' }问题2Unable to start activity ComponentInfo{com.example.zsbf/com.example.z原创 2020-08-20 16:14:35 · 4437 阅读 · 2 评论 -
安卓开发,全屏显示
全屏显示报错处理一般引导页设置全屏的时候,一般科研通过代码在setContentView之前进行设置,也可以在注册清单Manifest为Activity写明属性。采用第二种,出现闪退:<activity android:name=".activity.GuideActivity" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.F原创 2020-06-10 13:48:51 · 367 阅读 · 0 评论 -
Instant Run detected that you are running on a target device that has a work profile or multiple use
AS真机调试,无法安装应用,报错的信息:Instant Run detected that you are running on a target device that has a work profile or multiple user accounts.Launching the app under a work profile or another user account on th...原创 2019-07-15 15:38:09 · 529 阅读 · 1 评论