当前位置: 代码迷 >> Android >> 为什么在eclipse上无法运行,也不用报错
  详细解决方案

为什么在eclipse上无法运行,也不用报错

热度:46   发布时间:2016-04-28 06:52:08.0
为什么在eclipse上无法运行,也不要报错?
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" >
    <surfaceView 
        android:id="@+id/surfaceView"
        android:layout_width="350px"
        android:layout_height="300px"
        android:layout_gravity="center"/>
</RelativeLayout>

------解决方案--------------------
LZ环境搭建好没哦?推荐使用ADT,集成好的eclipse。
  相关解决方案