我爲iOS開發了一些Phonegap,但這是我第一次嘗試Android。Phonegap 2.1 for Android - 推出Hello World App 3時出現的錯誤
我創建了Hello World應用程序與CLI某事像這樣提到here:
$ /path/to/cordova-android/bin/create /path/to/my_new_cordova_project com.example.cordova_project_name CordovaProjectName
即使我創造了這個應用程序在Eclipse工作區,我需要將其導入到Eclipse。我創建了兩個AVD。一個用於API級別8,一個用於API級別16.
當我嘗試構建時,它給了我這三個錯誤和警告。我的設置有什麼問題?
Description Resource Path Location Type
error: No resource identifier found for attribute 'hardwareAccelerated' in package 'android' AndroidManifest.xml /com.example.test.testprojectname line 20 Android AAPT Problem
error: No resource identifier found for attribute 'xlargeScreens' in package 'android' AndroidManifest.xml /com.example.test.testprojectname line 22 Android AAPT Problem
error: Error: String types not allowed (at 'configChanges' with value 'orientation|keyboardHidden|keyboard|screenSize|locale'). AndroidManifest.xml /com.example.test.testprojectname line 51 Android AAPT Problem
The import android.app.Activity is never used testprojectname.java /com.example.test.testprojectname/src/com/example/test line 22 Java Problem
我需要爲目標2.3 .x也是。在這種情況下做什麼? –