高手请帮帮忙,帮看看是什么原因 main.xml文件有错误,贴出来看看吧。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 main.xml写的不正确吧,能把main.xml贴出来看看吗? <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" ><TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /></LinearLayout> 你的main.xml里面都没有layout_width这些属性 那当然报错了 这些肯定你程序里面有用到的 你是不是直接把manifest.xml的文件直接复制的? 我知道是什么原因了,我的SDK有问题,在创建工程时候没有成功,谢谢大家的支持 有关android /data/data/ [ 求助,关于tabactivity的一个问题 安卓自带浏览器无法打开一些下载的APK文件 求教如何通过程序关闭手机? android 播放es流 安卓选项卡自动消失的问题 androidx86 4.0编译碰到问题 Android代码优化,主界面卡住 大神 帮忙看看是啥问题 求教关于Android7.0使用WebView闪退的问题 沒有放Button的工具栏? Android提供离线版本的开发文档吗?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
</LinearLayout>