2013-03-03 218 views
0

当我运行该项目时,.apk文件会上传并成功安装到设备上,但是AVD会打开并启动。请帮我解决这个问题。AVD无法启动

的Manifest.xml

<?xml version="1.0" encoding="utf-8"?> 
<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.bottleworks.dailymoney.core"> 
<uses-sdk android:minSdkVersion="7" /> 
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 
<uses-permission android:name="android.permission.INTERNET" /> 
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
</manifest> 
+0

发布您的manifest.xml。 – 2013-03-03 08:01:55

+0

请给我更多的解释。因为“但AVD无法启动”是指它是否显示任何警告或错误信息。 – 2013-03-03 10:07:23

+0

@ReddyPrasad只有很少的警告没有错误 – user2116743 2013-03-03 11:32:54

回答

0

如果它给消息“无法上传文件超时”或类似的东西,然后关闭模拟器,并运行应用程序再次

否则张贴logcat的在这里可以获得更好的解决方案

0

确保位于此文件夹中的现有AVD列表

C:\用户\ youruser \ .android \ AVD

或测试这种方式:

1-在应用程式右击

2-运行为=>运行配置

3-目标选项卡=>经理

,如果您有任何

0

您需要发布您的错误也在manifest.xml文件中添加应用程序标签。

<application 
     android:icon="@drawable/ic_launcher" 
     android:label="@string/app_name" 
     > 
     <activity 
      android:name=".SplahScreenActivity" 
      android:label="@string/app_name" 
      android:screenOrientation="portrait" > 


<intent-filter> 
       <action android:name="android.intent.action.MAIN" /> 
       <category android:name="android.intent.category.LAUNCHER" /> 
      </intent-filter> 


</activity> 
     <activity 
      android:name=".OtherActivity" 
      android:screenOrientation="portrait" > 
     </activity> 
    </application>