社区
Android
帖子详情
Android studio3.2.1中activity_main.xml出现红字错误
GOWITHSKY
2018-11-02 06:06:11
android:layout_width 显示为红字,老是提示:“Attribute android:layout_width is not allowed here”
...全文
1126
8
打赏
收藏
Android studio3.2.1中activity_main.xml出现红字错误
android:layout_width 显示为红字,老是提示:“Attribute android:layout_width is not allowed here”
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
8 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
YDxxxxxx
2020-06-02
打赏
举报
回复
兄弟解决了没,我现在也是刚开始看android,这第一个就出现了这个问题,跟您这个是一样的,你这当时是怎么好的
czl0325
2018-12-04
打赏
举报
回复
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
这个导入没?
fei得更高
2018-12-03
打赏
举报
回复
重装Android Studio 好了
爪哇在此 天下无敌
2018-12-03
打赏
举报
回复
没有加配置,在build里加
0萌萌哒0
2018-11-04
打赏
举报
回复
不知道你的项目的gradle文件和报错的具体信息,贴出来看看
GOWITHSKY
2018-11-04
打赏
举报
回复
各位大佬帮忙看一下啊,Android studio装上三天了,第一个程序就遇到这种情况,一点也进行不下去了
GOWITHSKY
2018-11-03
打赏
举报
回复
楼上的大佬,android.support错了,这是什么意思?刚入行的小白,能详细地讲一下吗?非常感谢!我看了你的那篇文章,没有我这个问题。我的开发环境是Android studio3.2.1,SDK Platforms里面装了:Andoroid 8.1(Oreo)和Andoroid 6.0(Marshmallow);SDK Tools 里面Andoroid开头的基本上都装了
爪哇在此 天下无敌
2018-11-03
打赏
举报
回复
android.support错了
新版
Android
Studio
百度云盘
android
-
studio
-bundle-141.2178183-windows 为目前Google官方最新版本。非常适合
Android
开发,另外里面还有一个版本是老版本,里面还有一些解决安装问题的方法
JSONObject必包的Jar包及json生成的简单案例
JSONObject必包的Jar包及json生成的简单案例 所有commons包的网址: http://commons.apache.org/index.html 组装和解析JSONObject的Json字符串,共需要下面六个包: 1、json-lib 2、commons-beanutils 3、commons-collections 4、commons-lang 5、commons-logging 6、ezmorph 第零个包: json-lib-2.4-jdk15.jar http://sourceforge.net/projects/json-lib/files/json-lib/json-lib-2.4/ 下载地址:http://nchc.dl.sourceforge.net/project/json-lib/json-lib/json-lib-2.4/json-lib-2.4-jdk15.jar 第一个包: commons-beanutils-1.9.2.jar http://commons.apache.org/proper/commons-beanutils/download_beanutils.cgi 下载地址:http://mirrors.cnnic.cn/apache//commons/beanutils/binaries/commons-beanutils-1.9.2-bin.zip 第二个包: (注:此包不可用,改用旧包) commons-collections4-4.0.jar http://commons.apache.org/proper/commons-collections/download_collections.cgi 下载地址:http://apache.dataguru.cn//commons/collections/binaries/commons-collections4-4.0-bin.zip (注:此包可用,低版本的包稳定性更高) commons-collections-
3.2
.1.jar http://commons.apache.org/proper/commons-collections/download_collections.cgi 下载地址:http://mirrors.hust.edu.cn/apache//commons/collections/binaries/commons-collections-
3.2
.1-bin.zip 第三个包: (注:此包不可用,会造成程序出错,改用旧包) commons-lang3-3.
3.2
.jar http://commons.apache.org/proper/commons-lang/download_lang.cgi 下载地址:http://apache.dataguru.cn//commons/lang/binaries/commons-lang3-3.
3.2
-bin.zip (注:此包可用,低版本的包稳定性更高) commons-lang-2.6-bin http://commons.apache.org/proper/commons-lang/download_lang.cgi?Preferred=http%3A%2F%2Fapache.dataguru.cn%2F 下载地址:http://apache.dataguru.cn//commons/lang/binaries/commons-lang-2.6-bin.zip 第四个包: commons-logging-1.1.3.jar http://commons.apache.org/proper/commons-logging/download_logging.cgi 下载地址:http://apache.dataguru.cn//commons/logging/binaries/commons-logging-1.1.3-bin.zip 第五个包: ezmorph-1.0.2.jar http://ezmorph.sourceforge.net/ http://sourceforge.net/projects/ezmorph/files/ezmorph/ 下载地址:http://nchc.dl.sourceforge.net/project/ezmorph/ezmorph/ezmorph-1.0.6/ezmorph-1.0.6.jar
maven jar包
maven-aether-provider-
3.2
.1-sources.jar maven-antrun-plugin-1.3.jar maven-archiver-2.2.jar maven-artifact-
3.2
.1-sources.jar maven-assembly-plugin-2.2-beta-5.jar maven-bundle-plugin-1.0.0.jar maven-clean-plugin-2.4.1.jar maven-clean-plugin-2.5.jar maven-common-artifact-filters-1.3.jar maven-compat-
3.2
.1-sources.jar maven-compiler-plugin-2.5.1.jar maven-compiler-plugin-3.1.jar maven-core-
3.2
.1-sources.jar maven-dependency-plugin-2.1.jar maven-dependency-tree-1.0.jar maven-deploy-plugin-2.7.jar maven-deploy-plugin-2.8.1.jar maven-eclipse-plugin-2.9.jar maven-embedder-
3.2
.1-sources.jar maven-filtering-1.1.jar maven-install-plugin-2.3.1.jar maven-install-plugin-2.4.jar maven-install-plugin-2.5.1.jar maven-jar-plugin-2.4.jar maven-model-
3.2
.1-sources.jar maven-model-builder-
3.2
.1-sources.jar maven-osgi-0.1.0.jar maven-osgi-0.2.0.jar maven-plugin-annotations-3.1.jar maven-plugin-api-
3.2
.1-sources.jar maven-release-plugin-2.0.jar maven-reporting-api-2.0.6.jar maven-reporting-api-2.0.8.jar maven-reporting-api-2.0.9.jar maven-repository-metadata-
3.2
.1-sources.jar maven-resources-plugin-2.6.jar maven-settings-
3.2
.1-sources.jar maven-settings-builder-
3.2
.1-sources.jar maven-shared-incremental-1.1.jar maven-shared-utils-0.1.jar maven-site-plugin-3.0.jar maven-site-plugin-3.3.jar maven-surefire-common-2.12.4.jar maven-surefire-plugin-2.12.4.jar maven-surefire-plugin-2.17.jar maven-war-plugin-2.3.jar
json所有的jar包下载
json-lib-2.2.3-jdk15.jar commons-beanutils-1.7.0.jar commons-httpclient-3.1.jar commons-lang-2.3.jar commons-logging-1.1.1.jar commons-collections-
3.2
.1.jar ezmorph-1.0.3.jar 如果不关联这些包,则会
出现
以下
错误
:java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ListOrderedMap java.lang.NoClassDefFoundError: org/apache/commons/beanutils/DynaBean java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException java.lang.NoClassDefFoundError: org/apache/commons/lang/exception/NestableRuntimeException java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
WAMPSERVER (64 BITS & PHP 5.5) 2.5
WampServer 2.5 - 32 and 64 bits Be sure that you have installed Visual C++ Redistributable for Visual
Studio
2012 : VC11 vcredist_x64/86.exe http://www.microsoft.com/en-us/download/details.aspx?id=30679 Don't Use previous WampServer Extensions/Addons. There are no more compatible with the new wampserver version's (VC11) Apache : 2.4.9 MySQL : 5.6.17 PHP : 5.5.12 PHPMyAdmin : 4.1.14 SqlBuddy : 1.3.3 XDebug : 2.2.5
Android
80,472
社区成员
91,385
社区内容
发帖
与我相关
我的任务
Android
移动平台 Android
复制链接
扫一扫
分享
社区描述
移动平台 Android
android
android-studio
androidx
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章