腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(3888)
视频
沙龙
1
回答
将
约束
布局
从
1.1.2
升级到
1.1.3
后
,
android
应用
崩溃
android
、
android-constraintlayout
、
system-error
在从'com.
android
.support.constraint:constraint-layout:
1.1.2
‘
升级到
'com.
android
.support.constraint:constraint-layout:
1.1.3
’之前,
应用
运行正常java.lang.ClassCastException:
android
.widget.FrameLayout$LayoutParams
androi
浏览 12
提问于2019-11-16
得票数 0
13
回答
膨胀类androidx.constraintlayout.widget.ConstraintLayout时出错
android
、
androidx
在使用
Android
Studio菜单选项Refactor -> Refactor to Androidx迁移到Androidx包之后...
浏览 2
提问于2018-06-10
得票数 46
2
回答
androidx.constraintlayout.widget.constraintlayout没有可以拖动的链子
android
、
android-constraintlayout
、
constraint-layout-chains
、
androidx
我在
布局
中使用androidx.constraintlayout.widget.ConstraintLayout,它不显示链,也不能拖动任何小部件。我只需键入我想要使用的
约束
。"
android
:layout_width="match_parent" xmlns:tools=
浏览 0
提问于2018-07-03
得票数 23
回答已采纳
4
回答
在
android
studio 3.4.2中导入
约束
布局
时无法解析符号
android
我是
android
的初学者,正在创建一个程序,所有的事情都完成了,但是当导入语句‘导入
android
.support.constraint.ConstraintLayout’代码编辑器高亮显示为'cannotresolve symbol‘时,导入
约束
布局
。
浏览 5
提问于2019-08-13
得票数 1
3
回答
Androidx膨胀视图时出错
android
、
kotlin
、
android-jetpack
、
androidx
、
android-ktx
这个
应用
程序非常新,所以没有太多的代码。我在
android
studio中使用了"Refactor to Androidx“选项。但在那之后的一段时间,它停止了工作。我不知道是什么让它停止工作的。/res/
android
"
android
:layout_width="match_
浏览 13
提问于2018-06-09
得票数 6
1
回答
AndroidStudio3.1.x中的
约束
布局
编辑器是否已经支持AndroidX?
android
、
android-studio
、
android-constraintlayout
、
androidx
我正在使用
Android
3.1.4。最近,我将我的项目更新为AndroidX。从那时起,
Android
中的
布局
编辑器似乎忽略了
约束
布局
,并且不像您可以看到的 (第一组控件)那样,在属性窗口中显示带有宽度/高度、边距和偏差控件的查看检查器。基本上,我没有看到任何与
约束
布局
相关的控件--例如,工具栏中有按钮来配置编辑器中的
布局
外观,就像您可以看到一样。我能够建立和运行的
应用
程序,没有任何问题。我唯一的问题是,我无法通过
浏览 0
提问于2018-08-19
得票数 2
2
回答
安装
Android
1.0.2的
约束
布局
失败
android
、
sdk
、
android-constraintlayout
我是AndroidStudio和
android
程序新手,请帮助我在AndroidStudio v3.1.4上创建新项目时帮助我解决问题。在20秒生成同步失败
后
,第一次生成启动同步,并向我显示此错误: 无法解决“:app@debugAndroidTest/compileClasspath”的依赖关系:
浏览 0
提问于2018-09-05
得票数 1
5
回答
约束
布局
布局
崩溃
:
约束
布局
的所有子级都应该具有使用
约束
集的ids。
android
、
android-constraintlayout
更新到com.
android
.support.constraint:constraint-layout:1.1.0
后
约束
布局
的所有子级都应该有使用
约束
集的id。我已经
将
I设置为所有视图,即使这样也会
崩溃
。java.lang.RuntimeException: All children of ConstraintLayout must have ids to use ConstraintSet
浏览 17
提问于2018-05-25
得票数 30
回答已采纳
2
回答
渲染的问题,我如何解决它?
android
、
android-studio
我的
应用
程序预览有问题。 ? 在日志文件中,我有几个错误: ? 这是一个小组项目,但我是唯一一个遇到这个问题的人。我刚刚下载了
Android
Studio,所以我没有接触设置中的任何东西。 有什么想法吗?
浏览 9
提问于2019-04-29
得票数 0
1
回答
约束
布局
的宽度和高度属性自动重置为0dp
android
、
android-layout
、
android-studio
、
android-constraintlayout
因此,我有一个关于
约束
布局
的奇怪和恼人的问题--
约束
布局
中的一些视图在没有询问或通知的情况下
将
宽度和高度
从
自定义值更改为0dp。这种行为也不一致,因为我
将
构建我的
布局
,我会测试它们,我会很高兴,然后继续下一件事,但几个小时
后
,我会看到这些值被设置回0dp,
布局
都搞砸了。好消息是
android
studio中未提交的文件变成了蓝色,所以我可以简单地注意到这个不受欢迎的更改和ctrl+z。 我最近刚刚开
浏览 0
提问于2017-01-02
得票数 6
4
回答
无法在
Android
上安装Firebase性能监视SDK
firebase
、
firebase-performance
我已经完成了这里提到的所有必要步骤,,在此之后,当我试图构建项目时,它会给出以下错误 FirebasePerformancePlugin may only be applied to
Android
projects
浏览 9
提问于2017-05-18
得票数 1
回答已采纳
5
回答
Android
Build.gradle同步失败,返回NoSuchFieldError: FOR_COMPILE
android
、
android-studio
、
gradle
、
android-gradle-plugin
、
build.gradle
下面是我的build.gradle文件apply plugin: 'kotlin-
android
' implementation 'com.
android
.support.constraint:constraint-layout:
1.1.2
' implementation'c
浏览 168
提问于2018-06-29
得票数 4
回答已采纳
3
回答
在@+id错误的
约束
部分定义id ( ConstraintLayout )
android
、
android-constraintlayout
当第一次在
约束
部分(如@+id )中定义id ( app:layout_constraintBottom_toTopOf )时,我得到错误“无法解决符号”<
android
.support.constraint.ConstraintLayout xmlns:
android
="http://schemas.
android
.com/apk/res/gradle中,我有
约束
布局
1.1.3</e
浏览 0
提问于2018-11-13
得票数 0
回答已采纳
22
回答
Gradle同步失败找不到
约束
-
布局
:1.0.0-字母2
android
、
android-studio
、
gradle
、
android-constraintlayout
问题: Error:Could not find com.
android
.support.constraint:constraint-layout:1.0.0-alpha2.
浏览 0
提问于2016-06-23
得票数 140
回答已采纳
1
回答
构建
布局
2.0.1 constraintDimensionRatio错误
android
、
android-constraintlayout
、
android-motionlayout
我之前使用了一个
约束
布局
2.0.0-beta08,它显示了一个带有layout_constraintDimensionRatio="16:7“的较小图像。使用新的
约束
布局
版本2.0.1,图像现在看起来更大,并且无法根据尺寸比例调整其大小。我不会将版本
从
2.0.0 beta08更改为2.0.1,但该版本中的运动
布局
会随机导致移动Ui
崩溃
,
应用
程序需要强制停止以防止移动挂起。即使根视图是
约束
布局
而不是运动<em
浏览 0
提问于2020-09-28
得票数 0
2
回答
OneSignal通知单击Crashes ActivityNotFoundException
android
、
android-studio
、
ionic4
、
capacitor
、
onesignal
我有一个使用OneSignal向用户发送通知的Ionic
应用
程序。我更新了使用
Android
12 (API级别32)的项目,该项目还需要将电容
升级到
版本4: minSdkVersion = 22 androidxFragmentVersion = '1.4.1' androidxJunitVersion = '
1.1
浏览 27
提问于2022-09-20
得票数 1
1
回答
如何针对旧版本的库运行.NET核心
应用
程序
c#
、
.net
、
visual-studio
、
.net-core
我有一个使用.netstandard框架构建的库,该库的版本为
1.1.2
。现在,我已经使用这个库构建了一个.NET核心
应用
程序(版本:
1.1.2
)。如果我
将
库版本
升级到
1.1.3
,而不需要重新编译,那么是否有办法针对
1.1.3
运行相同的.NET核心
应用
程序?在.NET框架中,我们可以在App.Config文件中设置bindingRedirect,使用库版本
1.1.2
构建的.NET框架
应用
程序也可以在
1.1.3
浏览 2
提问于2020-09-10
得票数 1
回答已采纳
2
回答
崩溃
,同时膨胀正在进行-通知
布局
后
,立即升级。只有
Android
10
android
、
android-layout
、
crash
、
android-resources
、
android-10.0
只有
Android
10。对于给定的用户,只观察到一次
崩溃
。所以我们认为
崩溃
发生在
升级到
新版本之后。是新的构建
崩溃
了(而不是旧的)。:950)
崩溃
看起来与构建不同。有一个正在进行的通知(id=30)显示温度(我们正在制作天气
应用
程序)。由于在膨胀其RemoteViews
布局
时发生
崩溃
,通知无法发布。原来的
浏览 2
提问于2021-01-15
得票数 2
回答已采纳
1
回答
版本2.2 (8级)的安卓支持库ActionBar NullPointerException -与preferences.xml冲突
android
、
maven
、
android-support-library
、
android-maven-plugin
我正在使用v7支持库在
Android
2.x上显示一个ActionBar。01-07 15:05:22.671 937
浏览 1
提问于2014-01-07
得票数 2
回答已采纳
2
回答
dismissViewControllerAnimated:完成:导致内存
崩溃
ios
、
swift
、
autolayout
、
ios8
因此,我正在开发一个
应用
程序,如果在
应用
程序默认设置中没有存储用户名,则从基础视图启动登录视图。dispatch_get_main_queue(), {}) 在这里,我的
应用
程序
崩溃
了现在看来,我的视图在被忽略
后
被释放了,但有一个指向它的指针,尽管如此,它仍然保留着。我不确定如何修复它,因为它不在我写的任何代码中(我想),而是在AutoLayout系统本身中。
浏览 4
提问于2014-07-17
得票数 3
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券