重新启动一下AVD,如果还不能创建可能是程序有问题
解决方案 »
- Android 4.2 源码工程 编译问题,编译错误,求解,谢谢!
- 添加重力感应后 “应用程序意外停止,请重试”
- 拦截来电后出现的闪现通话界面
- 问个关于webkit调试的问题。
- android 通过ksoap2调取.net wcf的问题
- android模拟器启动问题,望高人指点~~~~
- 请问大家android数据库的处理都是怎么样的呢
- android4.1里面怎么判断手机卡是否是激活的(双卡手机)
- 安卓4.2.2 调节音量的函数如何换成自己的代码(内详细)
- IO操作 ion 时,提示 not a typewriter
- Android 4.0及以上怎么获取Webview缓存的图片
- 导入外部jar包后报错 编译模拟器时提示Conversion to Dalvik format failed with error 1
import android.app.Activity;
import android.view.Menu;public class MainActivity extends Activity { @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}
///////////
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.helloworld"
android:versionCode="1"
android:versionName="1.0" > <uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" /> <application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.helloworld.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application></manifest>就是很简单的系统自己生成的一个代码文件。是不是我装的AVD不对还是什么,我运行都很慢