我需要您的协助解决我的问题。 我创建了一个上的虚拟设备Android应用程序在虚拟设备上工作,但不在真实设备上
但是当我尝试对我的三星Galaxy运行S2它只是停止工作,没有显示
NB的logcat的没有错误的工作完美运行Android应用程序:此应用程序需要互联网工作
这里是AndroidManifest.xml中
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rats"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="10" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.example.rats.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>
<activity
android:name="com.example.rats.LineActivity"
android:label="@string/title_activity_line" >
</activity>
</application>
</manifest>
我只是找到了相关的错误,这是=>
01-26 20:12:25.285: E/AccuWeather - UALib(8131): IOException when executing request. Do you have permission to access the internet? (device-api.urbanairship.com)
,但我不明白为什么,在我的manifest.xml我激活了上网的
都运行相同版本Android的设备? –
我的设备正在使用2.3.6,应用程序在2.3.3以及2.2虚拟设备上工作 – Coldfire
因此,它实际上是否会崩溃? –