小编sar*_*nan的帖子

测试android模拟器中的localhost

我的Web应用程序在localhost服务器中运行.在我的模拟器中,URL是http:// localhost:8080/myaction

是否可以从服务器检索信息?

android struts localhost

61
推荐指数
1
解决办法
3万
查看次数

为什么我得到一个模拟器-5554断开连接的消息

当我启动我的Android模拟器它需要一些时间,然后它将显示模拟器-5554断开连接的消息.谁能告诉我这是什么问题?

android emulation

30
推荐指数
5
解决办法
4万
查看次数

java.net.ConnectException:/127.0.0.1:8080一个android模拟器

String url =" http://127.0.0.1:8080/SampleServlet/TestServlet?"; URL url =新网址(con_url);

在android emualator中运行.但我得到了连接错误02-20 13:05:08.745:错误/服务器连接(230):java.net.ConnectException:/127.0.0.1:8080 - 连接被拒绝

请回复我

谢谢

android-emulator

8
推荐指数
1
解决办法
1万
查看次数

android textview settext显示nullpointer异常

<TextView
android:id="@+id/first_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/black"
android:textColor="@color/light_grey"
android:text="FirstName"
></TextView>

TextView first_text_view;

first_text_view = (TextView)this.findViewById(R.id.first_name);
try {
first_text_view.setText("Android");
}catch(Exception e) {
}
Run Code Online (Sandbox Code Playgroud)

我得到了nullpointer异常.

什么是解决方案.请回复我

android textview

5
推荐指数
1
解决办法
7594
查看次数

INSTALL_FAILED_MISSING_SHARED_LIBRARY一个android模拟器问题

[2010-03-04 11:50:15 - AndroidSamples]安装错误:INSTALL_FAILED_MISSING_SHARED_LIBRARY

当我使用

<application android:icon="@drawable/icon" android:label="@string/app_name">
        <uses-library android:name="com.google.android.maps" />
..
</application>
Run Code Online (Sandbox Code Playgroud)

请回复我

android google-maps

4
推荐指数
1
解决办法
3万
查看次数