0
我是這個Phonegap的新手,開發了小應用程序並配置了avd。當我運行的應用程序,它顯示在控制檯Phonegap應用程序在啓動時失敗
Uploading HcmisAttendance.apk onto device 'emulator-5554'
[2014-08-28 13:06:39 - HcmisAttendance] Installing HcmisAttendance.apk...
[2014-08-28 13:06:53 - HcmisAttendance] Success!
[2014-08-28 13:06:53 - HcmisAttendance] \HcmisAttendance\bin\HcmisAttendance.apk installed on device
[2014-08-28 13:06:53 - HcmisAttendance] Done!
以下行但問題是應用程序沒有在AVD開我的AndroidManifest.xml內容 如下
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.test"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="9" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.RECORD_VIDEO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
</application>
<activity
android:name="com.example.test.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>
</manifest>
請幫助我找出解決方案。在此先感謝
它現在正在工作謝謝:) – Akshobhya 2014-08-28 09:15:11
太棒了!請將其標爲正確答案。 – gokhanakkurt 2014-08-28 09:16:43